Hello:
When I boot from RAM the Reftrim register is set with a value. When I boot from FLASH the Reftrim stays at zero.
Any explanation?
Regards Arye
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello:
When I boot from RAM the Reftrim register is set with a value. When I boot from FLASH the Reftrim stays at zero.
Any explanation?
Regards Arye
Hello Gautman: No I'm not calling Device_cal() and I'm not writing a specific value in Reftrim but when I run from RAM a value is written automatically into the register and I boot from FLASH nothing is written to the register. Regards Arye
No I'm not calling Device_cal() and I'm not writing a specific value in Reftrim but when I run from RAM a value is written automatically into the register and I boot from FLASH nothing is written to the register.
I'm unable to comment what might be happening here*; but do you observe any difference in ADC functionality?
*Lets wait for what one of my TI buddy has to say, about RAM and Flash Reftrim issue.
Regards,
Gautam
Hello Gautman:
Yes I observe a difference in ADC functionality. Sample values differ from FLASH to RAM.
Regards Arye
Hi Arye,
Are you connected to an emulator via CCS when running from RAM, but not connected when running from Flash? If so, CCS may be initializing the trim registers via GEL scripts.
Your final standalone application that runs from Flash will definitely need to explicitly call the Device_cal() function.