Part Number: TMS320F28P550SJ
Hello,
I followed outlined steps in gain calibration section of TRM chapter, but for some reason my ADCRESULT register does not show 0.9 * VREFHI, but a floating value. What could be the reason?

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.
Part Number: TMS320F28P550SJ
Hello,
I followed outlined steps in gain calibration section of TRM chapter, but for some reason my ADCRESULT register does not show 0.9 * VREFHI, but a floating value. What could be the reason?

Hello,
To activate gain calibration mode, configure the TESTSEL field of the INTERNALTESTCTL analog subsystem register to select ENZ_CALIB_GAIN_3P3V.
To convert INTERNALTEST by ADC, ADC channel 31 needs to be selected for ADC that will be calibrated. Selecting any other channel would not work in this case. After the calibration coefficient is obtained, configure the TESTSEL field of INTERNALTESTCTL to 0