English
Language : 

Z8F082ASJ020EG Datasheet, PDF (148/282 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F082A Series
Product Specification
131
Compensation Steps:
1. Correct for Offset:
ADC MSB
–
Offset MSB
=
#1 MSB
ADC LSB
Offset LSB
#1 LSB
2. Compute the absolute value of the offset-corrected ADC value if negative; the gain
correction factor is computed assuming positive numbers, with sign restoration after-
ward.
#2 MSB
#2 LSB
Also compute the absolute value of the gain correction word, if negative.
AGain MSB
AGain LSB
3. Multiply by the Gain Correction Word. If operating in DIFFERENTIAL Mode, there
are two gain correction values: one for positive ADC values, another for negative
ADC values. Use the appropriate Gain Correction Word based on the sign computed
by byte #2.
#2 MSB
#2 LSB
*
AGain MSB
AGain LSB
=
PS022827-1212
PRELIMINARY
Operation