ADE5166_08 AD [Analog Devices], ADE5166_08 Datasheet - Page 24
ADE5166_08
Manufacturer Part Number
ADE5166_08
Description
Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
Manufacturer
AD [Analog Devices]
Datasheet
1.ADE5166_08.pdf
(148 pages)
- Current page: 24 of 148
- Download datasheet (3Mb)
ADE5166/ADE5169
POWER MANAGEMENT
The ADE5166/ADE5169 have elaborate power management
circuitry that manages the regular power supply to battery
switchover and power supply failures.
Table 15. Power Management SFRs
SFR Address
0xEC
0xF5
0xF8
0xFF
0xF4
0xC5
0xFB
0xFC
0xFD
0xFE
POWER MANAGEMENT REGISTER DETAILS
Table 16. Interrupt Pins Configuration SFR (INTPR, Address 0xFF)
Bit
7
[6:5]
4
[3:1]
0
Writing to the Interrupt Pins Configuration SFR (INTPR, Address 0xFF)
To protect the RTC from runaway code, a key must be written to the key SFR (KYREG, Address 0xC1) to obtain write access to INTPR.
KYREG (see Table 125) should be set to 0xEA to unlock this SFR and reset to 0 after a timekeeping register is written to. The RTC registers
can be written using the following 8052 assembly code:
MOV
MOV
KYREG, #0EAh
INTPR, #080h
Mnemonic
RTCCAL
FSEL
Reserved
INT1PRG
INT0PRG
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Default
0
00
N/A
000
0
Sets RTC calibration output frequency and calibration window.
Mnemonic
IPSME
BATPR
IPSMF
INTPR
PERIPH
POWCON
SCRATCH1
SCRATCH2
SCRATCH3
SCRATCH4
Description
Controls RTC calibration output. When set, the RTC calibration frequency selected by FSEL[1:0] is
output on the P0.2/CF1/RTCCAL pin.
FSEL
00
01
10
11
Controls the function of INT1.
INT1PRG
X00
X01
01X
11X
Controls the function of INT0.
INT0PRG
0
1
Description
Power management interrupt enable (see Table 20).
Battery switchover configuration (see Table 18).
Power management interrupt flag (see Table 17).
Interrupt pins configuration (see Table 16).
Peripheral configuration (see Table 19).
Power control (see Table 25).
Scratch Pad 1 (see Table 21).
Scratch Pad 2 (see Table 22).
Scratch Pad 3 (see Table 23).
Scratch Pad 4 (see Table 24).
Result (Calibration Window, Frequency)
30.5 sec, 1 Hz
30.5 sec, 512 Hz
0.244 sec, 500 Hz
0.244 sec, 16 kHz
Result
GPIO enabled
BCTRL enabled
INT1 input disabled
INT1 input enabled
Result
INT0 input disabled
INT0 input enabled
Rev. 0 | Page 24 of 148
The power management functionalities can be accessed directly
through the 8052 SFRs (see Table 15).
Related parts for ADE5166_08
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
DPG2 EVAL ADAPTER FOR XILINX BOARDS
Manufacturer:
Analog Devices Inc
Part Number:
Description:
Xilinx FMC Interface
Manufacturer:
Analog Devices Inc
Datasheet:
Part Number:
Description:
Xilinx FMC Interface
Manufacturer:
Analog Devices Inc
Datasheet:
Part Number:
Description:
Xilinx FMC Interface
Manufacturer:
Analog Devices Inc
Datasheet:
Part Number:
Description:
Xilinx FMC Interface
Manufacturer:
Analog Devices Inc
Datasheet:
Part Number:
Description:
Xilinx FMC Interface
Manufacturer:
Analog Devices Inc
Datasheet:
Part Number:
Description:
Xilinx FMC Interface
Manufacturer:
Analog Devices Inc
Datasheet:
Part Number:
Description:
Xilinx FMC Interface
Manufacturer:
Analog Devices Inc
Datasheet:
Part Number:
Description:
RF Development Tools Sransceiver board for FMC evaluation kit
Manufacturer:
Analog Devices
Part Number:
Description:
Analog Devices: Data Converters: DAC 12-Bit, 10 ns to 100 ns Converters Selection Table
Manufacturer:
AD [Analog Devices]
Datasheet:
Part Number:
Description:
Analog Devices: Data Converters: DAC 8-Bit, 10 ns to 100 ns Converters Selection Table
Manufacturer:
AD [Analog Devices]
Datasheet:
Part Number:
Description:
Low-Power Analog Front End with DSP Microcomputer
Manufacturer:
AD [Analog Devices]
Datasheet:
Part Number:
Description:
2 Pair/1 Pair ETSI Compatible HDSL Analog Front End
Manufacturer:
AD [Analog Devices]
Datasheet: