ADE7566ASTZF8-RL2 AD [Analog Devices], ADE7566ASTZF8-RL2 Datasheet - Page 32

no-image

ADE7566ASTZF8-RL2

Manufacturer Part Number
ADE7566ASTZF8-RL2
Description
Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
Manufacturer
AD [Analog Devices]
Datasheet
ADE7566/ADE7569
3.3 V PERIPHERALS AND WAKE-UP EVENTS
Some of the 3.3 V peripherals are capable of waking the ADE7566/ADE7569 from PSM2. The events that can cause the ADE7566/ADE7569
to wake up from PSM2 are listed in the wake-up events column in Table 26.
Table 26. 3.3 V Peripherals and Wake-up Events
3.3 V
Peripheral
Temperature
ADC
V
Power Supply
Management
RTC
I/O Ports
External Reset
LCD
Scratch Pad
SW
ADC
Wake-Up
Event
∆T
ΔV
PSR
Midnight
Alarm
All I/O pins are treated as inputs. The weak pull-up on each I/O pin can be disabled individually in the Port 0 Weak Pull-Up Enable
SFR (PINMAP0, 0xB2), Port 1 Weak Pull-Up Enable SFR (PINMAP1, 0xB3), and Port 2 Weak Pull-Up Enable SFR (PINMAP2, 0xB4) to
decrease current consumption. The interrupts can be enabled/disabled.
INT0
INT1
Rx Edge
RESET
Wake-Up
Enable Bits
Maskable
Maskable
Nonmaskable
Nonmaskable
Maskable
INT0PRG = 1
INT1PRG[2:0] =
11x
RXPROG[1:0] =
11
Nonmaskable
Flag
VSWF
PSR
Midnight
Alarm
PERIPH.7
(RXFG)
Rev. PrA | Page 32 of 136
Interrupt
Vector
ITADC
IE0
IE1
IPSM
IPSM
IRTC
IRTC
Comments
The temperature ADC can wake-up the 8052 if the ITADC flag is set.
This flag is set according to the description in the Temperature
Measurement section. This wake-up event can be disabled by
disabling temperature measurements in the Temperature and
Supply Delta SFR (DIFFPROG, 0xF3) in PSM2.
The V
according to the description in the External Voltage Measurement
section. This wake-up event can be disabled by clearing the EVSW in
the Power Management Interrupt Enable SFR (IPSME, 0xEC).
The 8052 wakes up if the power supply is restored (if V
be connected to V
Configuration SFR (PERIPH, 0xF4) SFR, is set to indicate that V
connected to V
The ADE7566/ADE7569 wakes up at midnight every day to update
its calendar.
Set an alarm to wake the ADE7566/ADE7569 after the desired
amount of time. The RTC alarm is enabled by setting the ALARM bit
in the RTC Configuration SFR (TIMECON, 0xA1).
The edge of the interrupt is selected by Bit IT0 in the TCON register.
The IE0 flag bit in the TCON register is not affected.
The edge of the interrupt is selected by Bit IT1 in the TCON register.
The IE1 flag bit in the TCON register is not affected.
An Rx edge event occurs if a rising or falling edge is detected on the
Rx line.
If the RESET pin is brought low while the ADE7566/ADE7569 is in
PSM2, it wakes up to PSM1.
The LCD can be enabled/disabled in PSM2. The LCD data memory
remains intact.
The 4 SCRATCHx registers remain intact in PSM2.
SW
measurement can wake up the 8052. The VSWF is set
DD
..
DD
). The VSWSOURCE flag, Bit 6 of the Peripheral
Preliminary Technical Data
SW
switches to
SW
is

Related parts for ADE7566ASTZF8-RL2