67.10.4.4 Gain and Offset Errors
For:
- a given gain error: EG (%)
- a given ideal code (Ci)
- a given offset error: EO (LSB of 12
bits)
in 12-bit mode, the actual code (CA) is calculated using the following formula
Differential Mode
In Differential mode, the offset is defined when the differential input voltage is zero.
- Full-scale error EFS = (EFS+) - (EFS-), unit is LSB code
- Offset error EO is the offset error measured for VIN = 0V
- Gain error EG = 100 × EFS / 4096, unit in %
Single-ended Mode
The figure below illustrates the ADC output code relative to an input voltage VIN between 0V (Ground) and VADVREF. The ADC is configured in Single-ended mode by connecting internally the negative differential input to VADVREF / 2. As the ADC continues to work internally in Differential mode, the offset is measured at VADVREF / 2. The offset at VINP = 0 can be computed using the transfer function and the corresponding EG and EO.
- Full-scale error EFS = (EFS+) - (EFS-), unit is LSB² code
- Offset error EO is the offset error measured for VINP = 0V
- Gain error EG = 100 x EFS / 2048, unit in %