ade7566acpzf8-rl Analog Devices, Inc., ade7566acpzf8-rl Datasheet - Page 29

no-image

ade7566acpzf8-rl

Manufacturer Part Number
ade7566acpzf8-rl
Description
Single-phase Energy Measurement Ic With 8052 Mcu, Rtc, And Lcd Driver
Manufacturer
Analog Devices, Inc.
Datasheet
POWER MANAGEMENT
The ADE7116/ADE7156/ADE7166/ADE7169/ADE7566/
ADE7569 have elaborate power management circuitry that
manages the switchover from regular power supply to battery
Table 16. Power Management SFRs
SFR Address
0xEC
0xF5
0xF8
0xFF
0xF4
0xC5
0xFB
0xFC
0xFD
0xFE
POWER MANAGEMENT REGISTER DETAILS
Table 17. 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 126) 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
Mnemonic
IPSME
BATPR
IPSMF
INTPR
PERIPH
POWCON
SCRATCH1
SCRATCH2
SCRATCH3
SCRATCH4
Description
Controls RTC calibration output. When set, the RTC calibration frequency selected by the FSEL bits is
output on the P0.2/CF1/RTCCAL pin.
Sets RTC calibration output frequency and calibration window.
FSEL
00
01
10
11
Controls the function of INT1.
INT1PRG
X00
X01
01X
11X
Controls the function of INT0.
INT0PRG
0
1
ADE7116/ADE7156/ADE7166/ADE7169/ADE7566/ADE7569
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
Description
Power management interrupt enable (see Table 21).
Battery switchover configuration (see Table 19).
Power management interrupt flag (see Table 18).
Interrupt pins configuration (see Table 17).
Peripheral configuration (see Table 20).
Power control (see Table 26).
Scratch Pad 1 (see Table 22).
Scratch Pad 2 (see Table 23).
Scratch Pad 3 (see Table 24).
Scratch Pad 4 (see Table 25).
Rev. B | Page 29 of 152
and manages power supply failures. The power management
functionalities can be accessed directly through the 8052 SFRs
(see Table 16).

Related parts for ade7566acpzf8-rl