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.

MSP430F5359: What's the full algorithm for applying both the ADC12 and VREF calibration factors?

Part Number: MSP430F5359

We're currently using the MSP430F2618 and transitioning to the MSP430F5359. For the newer microprocessor,
there are calibration factors (in TLV Flash Memory) for both the ADC12 and REF peripherals. These are:

  • ADC Gain Factor
  • ADC Offset
  • Several sets of ADC temperature sensor cal values (that I don't care about)

  • REF 1.5V Reference Factor
  • REF 2.0V Reference Factor (that I don't care about)
  • REF 2.5V Reference Factor (that I don't care about)

Within Section 1.13.5 "Calibration Values" of SLAU208P, the MSP430x5xx and MSP430x6xx Family User's Guide
(June 2008–Revised October 2016), Section 1.13.5.1 describes how apply the REF Calibration factors and
Section 1.13.5.2 describes how to apply the ADC Offset and Gain Calibration but both make reference to
ACD(raw) and nothing describes how to put the two sections together.

I'm ASSUMING that one applies both correction factors (the Reference Voltage Correction Factor and the
ADC Gain Calibration factor) to the ADC(raw) values and THEN one applies the ADC Offset Calibration
factor to achieve the ADC(final) value. But I'd like to check my ASSUMPTION.

I'd also like to suggest that the documentation make the entire process explicit (so an additional equation
or two should be added to that section of the documentation).

**Attention** This is a public forum