Tool/software: Code Composer Studio
Hi
I am using the TMS320F28035 control card. When I try to calibrate the ADC using the functions provided by texas, AdcOffsetSelfCal () that is in the DSP2803x_Adc.c file, the program gets stuck in the line enclosed in red, all this when I loaded it in Flash Memory .
If I remove the calibration and use the same interrupt flag in the while inside the void main() for several ADC conversions it works correctly (with software forced conversions). Obviously with incorrect offset.
The AdcOffsetSelfCal () calibration works perfectly when loading in RAM. I'm using *.cmd files provided by texas, too. 28035_RAM_CLA_Ink.cmd for RAM memory and F28035.cmd for Flash memory
Hope you can help me.
Regards,