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

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
Preliminary Technical Data
To reduce power consumption, the user code can initiate a
transition to PSM2.
Entering Sleep Mode (PSM1 to PSM2)
To reduce power consumption when V
user code can initiate sleep mode, PSM2, by setting bit 4 in the
Power Control SFR (POWCON, 0xC5) to shut down the MCU
core. Events capable of waking the MCU can be enabled—see
the 3.3V Peripherals and Wakeup Events section.
Servicing Wakeup Events (PSM2 to PSM1)
The ADE7169F16 may need to wake up from PSM2 to service
wakeup events – see the 3.3V Peripherals and Wakeup Events
section. PSM1 code execution will begin at the power on reset
vector. After servicing the wakeup event, the ADE7169F16 can
return to PSM2 by setting bit 4 in the Power Control SFR
(POWCON, 0xC5) to shut down the MCU core.
Automatic Switch to V
If the conditions to switch V
Battery Switchover section), the operating mode will switch to
PSM0. When this switch occurs, the MCU core and the analog
circuitry used in the ADE energy measurement DSP will start
up again automatically. PSM0 code execution will begin at the
power on reset vector.
Automatic Switch to V
If the conditions to switch V
Battery Switchover section), the operating mode will switch to
PSM0. When this switch occurs, the analog circuitry used in the
ADE energy measurement DSP will start up automatically. Note
that code execution will continue normally. A software reset can
be performed to start PSM0 code execution at the power on
V
SW
SW
SW
DD
DD
Normal Mode
from V
from V
connected to
PSM0
(PSM2 to PSM0)
(PSM1 to PSM0)
BAT
BAT
SW
is connected to V
to V
to V
V
Power Supply
DD
DD
DD
Restored
Figure 15: Transitioning between Operating Modes
occur (see the
occur (see the
V
SW
Automatic Battery
Sleep Mode
connected to
Power Supply
Switchover
PSM2
Restored
Rev. PrD | Page 33 of 140
BAT
,
V
BAT
Wakeup
reset vector.
USING THE POWER MANAGEMENT FEATURES
Since program flow is different for each operating mode, the
status of V
the Power Management Interrupt Flag SFR (IPSMF, 0xF8)
indicates what V
control program flow on wakeup. Since code execution always
starts at the power on reset vector, bit 6 of the Peripheral
Configuration SFR (PERIPH, 0xF4) can be tested to determine
which power supply is being used and to branch to normal code
execution or to wakeup event code execution. Power supply
events can also occur when the MCU core is active. To be aware
of events that change what V
¾
¾
An early warning that battery switchover is about to occur is
provided by SAG detection and possibly low V
see the Battery Switchover section.
For a user controlled battery switchover, enable automatic
battery switchover on low V
event to generate the PSM interrupt. When a low V
occurs, start data backup. Upon completion of the data backup,
enable battery switchover on low V
switchover will occur TBDms later.
V
Event
SW
Enable the battery switchover interrupt (EVSW) if
V
Enable the power supply restored interrupt (EPSR) if
V
Battery Mode
connected to
SW
SW
PSM1
=V
=V
SW
DD
BAT
must be known at all times. The VSWFLAG bit in
at power up.
at power up.
User code directs MCU
servicing wakeup event
to shutdown core after
SW
V
is connected to. This bit can be used to
BAT
DD
SW
only. Then enable the low V
is connected to:
DCIN
. Then battery
ADE7169F16
DCIN
detection—
DCIN
event
DCIN

Related parts for ade7169f16