TIP845 User Manual Issue 1.4
Page 8 of 32
3.1.1 ADC
Correction
Formula
Please use the total 16 bit data register value for the ADC correction formula.
The basic formula for correcting any ADC reading for the TIP845-10 (bipolar input voltage range) is:
Value
=
Reading
corr
corr
Offset
Gain
−
−
⋅
32768
1
Value
is the corrected result.
Reading
is the data read from the ADC Data Register.
Gain
corr
and
Offset
corr
are the correction factors from the ID PROM stored for each gain factor.
The correction values are stored as two’s complement 8 bit values in the range -128 to 127. For higher
accuracy they are scaled to ¼ LSB.
Floating point arithmetic or scaled integer arithmetic is necessary to avoid rounding error
while computing above formula.