Hi,
We have a customer with a question about ADC calibration. Their question follows:
We have been using various flavors of the MSP430 on several projects but I have not seen a well documented software solution for doing ADC calibration using the TLV structure values. I have working code to properly get the correction factors from the table. I also have working code to perform a reference cal, and gain and offset correction on the ADC conversion value.
I’m trying to document the order in which these corrections should take place. Things work fine if we are in the middle of the ADC range but the upper and lower regions of the ADC range could be a problem. If the correction are not done in the proper order we could effectively reduce the available ADC range.
My question… What is the recommended sequence to properly adjust an ADC conversion for reference, gain and offset errors?
REFCAL first, then ADC gain and offset? Or the other way around? It depends on how the calibration is done at the factory. Unfortunately I could not find this particular information on the TI website.
Regards,
John