![](http://datasheet.mmic.net.cn/310000/ADE7169ACPF16_datasheet_16240591/ADE7169ACPF16_32.png)
ADE7169F16
Preliminary Technical Data
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
Event
Rev. PrD | Page 32 of 140
ADE7169F16 to wake from PSM2 are listed in the Wakeup
Events column in Table 24.
Wakeup
Wakeup
Enable
Bits
Maskable
Flag
Interrupt Vector
Comments
Temperature
ADC
Δ
T
-
ITADC
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
SW
measurement can wake-up the 8052. The
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
SW
switches to be connected to V
DD
).
The VSWSOURCE flag, bit 6 of the Peripheral
Configuration SFR (PERIPH, 0xF4) SFR, is set to
indicate that V
SW
is connected to V
DD
.
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).
V
SW
ADC
Δ
V
Maskable
VSWF
IPSM
Power Supply
Management
PSR
Non-
maskable
PSR
IPSM
Midnight
Non-
maskable
Midnight
IRTC
RTC
Alarm
Maskable
Alarm
IRTC
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
INT0PROG
=1
The IE0 flag bit in the TCON register will not be affected.
INT1
INT1PROG
[2:0 ]= 11X
The IE1 flag bit in the TCON register will not be affected.
RX Edge
RXPROG [1:0]
= 11
(RXFG)
detected on the RX line
RESET
Non-
maskable
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.
-
IE0
The edge of the interrupt is selected by TCON.IT0
-
IE1
The edge of the interrupt is selected by TCON.IT1
I/O Ports
PERIPH.7
-
An RX Edge event will occur if a rising or falling edge is
External Reset
-
-
If the RESET pin is brought low while the ADE7169F16 is in
LCD
Scratchpad
TRANSITIONING BETWEEN OPERATING MODES
The operating mode of the ADE7169F16 is determined by the
power supply connected to V
SW
. Therefore a change in the
power supply such as when V
SW
switches from V
DD
to V
BAT
or
when V
SW
switches to V
DD
changes the operating mode. This
section describes events that change the operating mode.
Automatic Battery Switchover (PSM0 to PSM1)
If any of the enabled battery switchover events occur (see the
Battery Switchover section), V
SW
switches to V
BAT
. This
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.