ade7169f16 Analog Devices, Inc., ade7169f16 Datasheet - Page 32

no-image

ade7169f16

Manufacturer Part Number
ade7169f16
Description
Single-phase Energy Measurement Ic With 8052 Mcu, Rtc And Lcd Driver
Manufacturer
Analog Devices, Inc.
Datasheet
ADE7169F16
3.3V PERIPHERALS AND WAKEUP EVENTS
Some of the 3.3V peripherals are capable of waking the
ADE7169F16 from PSM2. The events that can cause the
Table 24. 3.3V Peripherals and Wakeup Events
3.3V
Peripheral
Temperature
ADC
V
Power Supply
Management
RTC
I/O Ports
External Reset
LCD
Scratchpad
TRANSITIONING BETWEEN OPERATING MODES
The operating mode of the ADE7169F16 is determined by the
power supply connected to V
power supply such as when V
when V
section describes events that change the operating mode.
SW
ADC
SW
switches to V
Wakeup
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
-
-
DD
changes the operating mode. This
SW
SW
. Therefore a change in the
switches from V
Wakeup
Enable
Bits
Maskable
Maskable
Non-
maskable
Non-
maskable
Maskable
INT0PROG
=1
INT1PROG
[2:0 ]= 11X
RXPROG [1:0]
= 11
Non-
maskable
-
-
Flag
PSR
Midnight
Alarm
VSWF
DD
PERIPH.7
(RXFG)
to V
-
-
-
-
-
-
BAT
or
Rev. PrD | Page 32 of 140
Interrupt Vector
ITADC
IPSM
IPSM
IRTC
IRTC
IE0
IE1
-
-
-
-
ADE7169F16 to wake from PSM2 are listed in the Wakeup
Events column in Table 24.
Automatic Battery Switchover (PSM0 to PSM1)
If any of the enabled battery switchover events occur (see the
Battery Switchover section), V
switchover results in a transition from the PSM0 to PSM1
operating mode. When battery switchover occurs, the analog
circuitry used in the ADE energy measurement DSP is disabled.
The edge of the interrupt is selected by TCON.IT0
The IE0 flag bit in the TCON register will not be affected.
The edge of the interrupt is selected by TCON.IT1
The IE1 flag bit in the TCON register will not be affected.
An RX Edge event will occur if a rising or falling edge is
detected on the RX line
If the RESET pin is brought low while the ADE7169F16 is in
PSM2, it will wake up to PSM1.
The LCD can be enabled/disabled in PSM2. The LCD data
memory will remain intact.
The 4 SCRATCHx registers will remain intact in PSM2.
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 wakeup event can be disabled by
disabling temperature measurements in the
Temperature and Supply Delta SFR (DIFFPROG,
0xF3) in PSM2.
The V
VSWF is set according to the description in the
Supply Voltage Measurement section. This wakeup
event can be disabled by clearing the EVSW in the
Power Management Interrupt Enable SFR (IPSME,
0xEC).
The 8052 will wake up if the power supply is
restored (if V
The VSWSOURCE flag, bit 6 of the Peripheral
Configuration SFR (PERIPH, 0xF4) SFR, is set to
indicate that V
This is a nonmaskable wakeup event.
The ADE7169F16 will wake up at midnight every
day to update its calendar.
This event is a nonmaskable wakeup event.
Set an alarm to wake the ADE7169F16 after the
desired amount of time.
The RTC Alarm is enabled by setting the alarm bit in
the RTC Configuration SFR (TIMECON, 0xA1).
SW
measurement can wake-up the 8052. The
Preliminary Technical Data
SW
SW
switches to be connected to V
is connected to V
SW
switches to V
DD
BAT
.
. This
DD
).

Related parts for ade7169f16