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.

CCS/TMS320F28035: TMDSCNCD28035

Part Number: TMS320F28035

Tool/software: Code Composer Studio

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.