Datasheet

Data Sheet ADE5166/ADE5169/ADE5566/ADE5569
Rev. D | Page 75 of 156
TEMPERATURE, BATTERY, AND SUPPLY VOLTAGE MEASUREMENTS
The ADE5166/ADE5169/ADE5566/ADE5569 include tem-
perature measurements as well as battery and supply voltage
measurements. These measurements enable many forms of
compensation. The temperature and supply voltage measurements
can be used to compensate external circuitry. The RTC can be
calibrated over temperature to ensure that it does not drift. Supply
voltage measurements allow the LCD contrast to be maintained
despite variations in voltage. Battery measurements allow for low
battery detection.
All ADC measurements are configured through the SFRs, as
shown in Table 49.
The temperature, battery, and supply voltage measurements can
be configured to continue functioning in PSM1 and PSM2 modes.
Keeping the temperature measurement active ensures that it is
not necessary to wait for the temperature measurement to settle
before using it for compensation.
Table 49. Temperature, Battery, and Supply Voltage Measurement SFRs
SFR
Address R/W Mnemonic Description
0xF9 R/W STRBPER Peripheral ADC strobe period (see Table 50).
0xF3 R/W DIFFPROG Temperature and supply delta (see Table 51).
0xD8 R/W ADCGO Start ADC measurement (see Table 52).
0xFA R/W BAT VTH Battery detection threshold (see Table 53).
0xEF R/W VDCINADC V
DCIN
ADC value (see Table 54).
0xDF
R/W
BATADC
Battery ADC value (see Table 55).
0xD7
R/W
TEMPADC
Temperature ADC value (see Table 56).
Table 50. Peripheral ADC Strobe Period SFR (STRBPER, Address 0xF9)
Bit Mnemonic Default Description
[7:6] Reserved 00 These bits must be kept at 0 for proper operation.
[5:4] VDCIN_PERIOD 00
Period for background external voltage measurements.
VDCIN_PERIOD Result
00 No V
DCIN
measurement
01 8 min
10 2 min
11 1 min
[3:2] BATT_PERIOD 00 Period for background battery level measurements.
BATT_PERIOD Result
00 No battery measurement
01 16 min
10 4 min
11
1 min
[1:0] TEMP_PERIOD 00 Period for background temperature measurements.
TEMP_PERIOD Result
00 No temperature measurement
01 8 min
10 2 min
11 1 min