SLAAEE6 October 2023 MSPM0L1306 , MSPM0L1306
The reason to do Voffset calibration is that you want to reduce its influence when calibrating R3/(R4+R3). For more information, see structure 2 in Figure 5-4. You will change the signal connection on the OPA1 input, from GND(MSEL) and PA18(PSEL) to OPA0 output (MSEL and PSEL). By comparing the voltage at OPA0 and OPA1 output, you know the OPA1 output offset. In this demo, two different GAIN settings are used, you need to do two offset calibrations as well. Equation 7 shows the equation based on ADC detected numbers.
Although this adds some gain error as the R3 value will be a little different with difference structures, the key reason why we change the structure is that the Voffset error is acceptable as the output voltage offset is small after choopering, and a DAC offset is needed as the voltage offset can be bidirectional.