SLAAEO8 October 2024 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3519 , MSPM0L1105
Differential nonlinearity error is the maximum deviation between the actual step and the ideal step during the ADC analog-to-digital conversion process, where the ideal step refers to 1LSB. DNL exceeding 1LSB results in missing codes in the ADC digital result, meaning that a certain digital code will disappear in the output result.
Integral nonlinear error is the deviation between a certain conversion voltage and the ideal conversion voltage during the ADC conversion process, which reflects the integration of DNL. The measurement of this value was carried out after compensating for offset error and gain error. By measuring the conversion voltage of each digital code, the INL of each code point can be obtained. Only the maximum INL value is provided in the ADC data manual.
Offset error is the deviation between the voltage at the first actual conversion and the first ideal conversion when the ADC increases from a low voltage. The first conversion occurs when the digital ADC output changes from 0 to 1. For an ideal ADC, when the analog input is between 0.5 LSB and 1.5 LSB, the digital output should be 1, thus the first ideal conversion occurs at 0.5 LSB. So offset error calculation formula is:
Gain error is the voltage deviation between the last actual conversion voltage and the last ideal conversion voltage, and this value is measured after correcting the offset error. Taking a 12-bit ADC as an example, the last actual conversion occurs when output digital result changes from 0xFFE to 0xFFF, which corresponding to a voltage of VREF+ - 0.5 LSB. Therefore, the calculation formula is: