ADE7518
TRANSITIONING BETWEEN OPERATING MODES
The operating mode of the ADE7518 is determined by the power
supply connected to V SWOUT . Therefore, changes in the power
supply, such as when V SWOUT switches from V DD to V BAT or when
V SWOUT switches to V DD , alter 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 SWOUT switches to V BAT . This switch-
over 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. 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 SWOUT is connected to
V BAT , 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.3 V Peripherals and Wake-Up Events section).
Servicing Wake-Up Events (PSM2 to PSM1)
Automatic Switch to V DD (PSM1 to PSM0)
If the conditions to switch V SWOUT from V BAT to V DD occur (see
the Battery Switchover section), the operating mode switches to
PSM0. When this switch occurs, the analog circuitry used in the
ADE energy measurement DSP automatically restarts. Note that
normal code execution continues. A software reset can be per-
formed to start PSM0 code execution at the power-on reset vector.
USING THE POWER MANAGEMENT FEATURES
Because program flow is different for each operating mode, the
status of V SWOUT must be known at all times. The VSWSOURCE
bit in the Peripheral Configuration SFR (PERIPH, 0xF4) indicates
what V SWOUT is connected to (see Table 18). This bit can be used
to control program flow on wake-up. Because code execution
always starts at the power-on reset vector, Bit 6 of the PERIPH
SRF can be tested to determine which power supply is being
used and to branch to normal code execution or to wake up
event code execution. Power supply events can also occur when
the MCU core is active. To be aware of the events that change
what V SWOUT is connected to, use the following guidelines:
? Enable the battery switchover interrupt (EBSO)
if V SWOUT = V DD at power-up.
The ADE7518 may need to wake up from PSM2 to service
wake-up events (see the 3.3 V Peripherals and Wake-Up Events
section). PSM1 code execution begins at the power-on reset
?
Enable the power supply restored interrupt (EPSR)
if V SWOUT = V BAT at power-up.
vector. After servicing the wake-up event, the ADE7518 can be
returned to PSM2 by setting Bit 4 in the Power Control SFR
(POWCON, 0xC5) to shut down the MCU core.
Automatic Switch to V DD (PSM2 to PSM0)
If the conditions to switch V SWOUT from V BAT to V DD occur (see
the Battery Switchover section), the operating mode switches to
PSM0. When this switch occurs, the MCU core and the analog
circuitry used in the ADE energy measurement DSP automatically
restart. PSM0 code execution begins at the power-on reset vector.
POWER SUPPLY
RESTORED
An early warning that battery switchover is about to occur is
provided by SAG detection and possibly low V DCIN detection
(see the Battery Switchover section).
For a user-controlled battery switchover, enable automatic
battery switchover on low V DD only. Then, enable the low V DCIN
event to generate the PSM interrupt. When a low V DCIN event
occurs, start data backup. Upon completion of the data backup,
enable battery switchover on low V DCIN . Battery switchover
occurs 30 ms later.
PSM0
NORMAL MODE
V SWOUT CONNECTED TO V DD
AUTOMATIC BATTERY
SWITCHOVER
PSM1
BATTERY MODE
V SWOUT CONNECTED TO V BAT
POWER SUPPLY
RESTORED
WAKE-UP
EVENT
USER CODE DIRECTS MCU
TO SHUT DOWN CORE AFTER
SERVICING WAKE-UP EVENT
PSM2
SLEEP MODE
V SWOUT CONNECTED TO V BAT
Figure 33. Transitioning Between Operating Modes
Rev. 0 | Page 32 of 128
相关PDF资料
ADE7569ASTZF16 IC ENERGY METER MCU 16K 64LQFP
ADE7752BARWZ-RL IC ENERGY METERING 3PHASE 24SOIC
ADE7755ARSZ IC ENERGY METERING 1PHASE 24SSOP
ADE7757ARNZRL IC ENERGY METERING 1PHASE 16SOIC
ADE7758ARWZRL IC ENERGY METERING 3PHASE 24SOIC
ADE7761AARSZ-RL IC ENERGY METERING 1PHASE 20SSOP
ADE7761BARSZ-RL IC ENERGY METERING 1PHASE 20SSOP
ADE7768ARZ-RL IC ENERGY METERING 1PHASE 16SOIC
相关代理商/技术参数
ADE7566 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF16 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF161 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7566ACPZF162 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF16-RL 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF16-RL1 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7566ACPZF16-RL12 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF8 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver