Atmega128(l) – Rainbow Electronics ATmega128L User Manual

Page 230

Advertising
background image

230

ATmega128(L)

2467B–09/01

Figure 114. Offset Error

Gain error: After adjusting for offset, the gain error is found as the deviation of the
last transition (0x3FE to 0x3FF) compared to the ideal transition (at 1.5 LSB below
maximum). Ideal value: 0 LSB

Figure 115. Gain Error

Integral Non-Linearity (INL): After adjusting for offset and gain error, the INL is the
maximum deviation of an actual transition compared to an ideal transition for any
code. Ideal value: 0 LSB.

Output code

V

REF

Input voltage

Ideal ADC

Actual ADC

Offset

Error

Output code

V

REF

Input voltage

Ideal ADC

Actual ADC

Gain

Error

Advertising