Hi
Can some one help me in pointing out ADC self calibration piece of code in control suite. I was able to find the ADC trim part of the code but couldnt find ADC self calibration code in control suite.
Thanks
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.
Hi
Can some one help me in pointing out ADC self calibration piece of code in control suite. I was able to find the ADC trim part of the code but couldnt find ADC self calibration code in control suite.
Thanks
Hi Devin
Thanks for sharing this info. I greatly appreciate that.
From my understanding, we dont have to calibrate ADCs as long as we use the ADC trim function by using AdcSetMode() api?
In the technical reference manual, there's a procedure to recalibrate the ADCs as shown below. Do you recommend us to follow this?endation as shown below,
Hi Rambabu,
Yeah, that is correct: use the AdcSetMode function and the correct trims will be loaded for each functional mode.
If you are happy with the DS spec' for offset error, then there is no need to run the above procedure. If you really need to squeeze every bit of accuracy out of the ADC, then you could try running this procedure periodically in your application. The offset specification is already pretty good though, so you won't get much out of it on this device.
It is also probably possible to use the above procedure to check the basic functionality of the ADC as a functional safety check: run the calibration procedure and compare with the previous offset calibration value, if the offset has changed significantly, it could indicate an ADC failure.