IRC_CAL does not work
when I add this line to calibrate my SX:
DEVICE ··SX28, OSC4MHZ, TURBO, STACKX, OPTIONX
FREQ ··4_000_000
IRC_CAL ·IRC_4MHZ ' calibrate internal RC clock
then I click on program·icon·or I click on debug icon
the SX compiler·shows the calibration window then it quit without programming my chip
Why?
·
DEVICE ··SX28, OSC4MHZ, TURBO, STACKX, OPTIONX
FREQ ··4_000_000
IRC_CAL ·IRC_4MHZ ' calibrate internal RC clock
then I click on program·icon·or I click on debug icon
the SX compiler·shows the calibration window then it quit without programming my chip
Why?
·
Comments
Make sure you are using the latest version of the SX-Key IDE (3.2.3). I seem to remember that an older version had that problem.
P.S. Even with calibration the internal oscillator is still not accurate enough for serial communications.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
“The United States is a nation of laws -· poorly written and randomly enforced.” - Frank Zappa
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·
-Jared
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A wise man who is not known for sure to have existed once said, "Never test a river with both feet." I feel this is especially true in engineering...throughout history everytime something new was tried with little research or planning, the odds were stacked in favor of failure, and everyone knows the house always wins in the long run....
- Jared
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A wise man who is not known for sure to have existed once said, "Never test a river with both feet." I feel this is especially true in engineering...throughout history everytime something new was tried with little research or planning, the odds were stacked in favor of failure, and everyone knows the house always wins in the long run....