SLAA828B March 2018 – August 2021 MSP430FR2000 , MSP430FR2032 , MSP430FR2033 , MSP430FR2100 , MSP430FR2110 , MSP430FR2111 , MSP430FR2310 , MSP430FR2311 , MSP430FR2422 , MSP430FR2433 , MSP430FR2512 , MSP430FR2522 , MSP430FR2532 , MSP430FR2533 , MSP430FR2632 , MSP430FR2633 , MSP430FR4131 , MSP430FR4132 , MSP430FR4133
The use of on-chip ADC measurement of battery voltage, the error comes mainly from two aspects: ADC measurement error and 1.5-V reference voltage error. The data sheet shows calibration formulas for the measurement error of ADC and the error of 1.5-V reference voltage respectively.
However, the calibration factor used for the calibration of the 1.5-V reference is used only when 1.5 V used as the ADC reference. This calibration factor no longer applies when 1.5 V is used as an ADC input channel. Because 1.5 V is used as a reference voltage, it passes through a Reference Buffer, which is not available on the ADC input channel. In this case, calibrate only the ADC error.
Equation 3 shows the formula to calibrate the ADC.
where
Because different series of calibration coefficients have different memory addresses, see the device-specific data sheet for the addresses of Factorgain and ADCoffset.