ade7166 Analog Devices, Inc., ade7166 Datasheet - Page 34

no-image

ade7166

Manufacturer Part Number
ade7166
Description
Single-phase Energy Measurement Ic With 8052 Mcu, Rtc, And Lcd Driver
Manufacturer
Analog Devices, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ade7166ASTZF16
Manufacturer:
VHK
Quantity:
2
Part Number:
ade7166ASTZF16
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7166ASTZF16-RL
Manufacturer:
KOA
Quantity:
50 000
Part Number:
ade7166ASTZF16-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7166ASTZF8
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7166ASTZF8-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
ADE7566/ADE7569/ADE7166/ADE7169
3.3 V PERIPHERALS AND WAKE-UP EVENTS
Some of the 3.3 V peripherals are capable of waking the
ADE7566/ADE7569/ADE7166/ADE7169 from PSM2. The
events that can cause the ADE7566/ADE7569/ADE7166/
ADE7169 to wake up from PSM2 are listed in the wake-up
Table 28. 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
DCIN
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
FVDCIN
PSR
Midnight
Alarm
PERIPH.7
(RXFG)
Interrupt
Vector
ITADC
IPSM
IPSM
IRTC
IRTC
IE0
IE1
Rev. A | Page 34 of 144
Comments
The temperature ADC can wake up the ADE7566/ADE7569/
ADE7166/ADE7169 if the ITADC flag is set. A pending interrupt is
generated 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 temperature
interrupt needs to be serviced and acknowledged prior to
entering PSM2 mode.
The V
ADE7166/ADE7169. The FVDCIN is set according to the description
in the External Voltage Measurement section. This wake-up event
can be disabled by clearing the EVDCIN in the Power Management
Interrupt Enable SFR (IPSME, 0xEC); see Table 20. The FVDCIN flag
needs to be cleared prior to entering PSM2 mode.
The ADE7566/ADE7569/ADE7166/ADE7169 wake up if the power
supply is restored (if V
VSWSOURCE flag, Bit 6 of the Peripheral Configuration SFR
(PERIPH, 0xF4), is set to indicate that V
The ADE7566/ADE7569/ADE7166/ADE7169 wake up at midnight
every day to update their calendars. The RTC interrupt needs to be
serviced and acknowledged prior to entering PSM2 mode.
An alarm can be set to wake the ADE7566/ADE7569/ADE7166/
ADE7169 after the desired amount of time. The RTC alarm is
enabled by setting the ALARM bit in the RTC Configuration SFR
(TIMECON, 0xA1). The RTC interrupt needs to be serviced and
acknowledged prior to entering PSM2 mode.
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 Interrupt 0
interrupt needs to be serviced and acknowledged prior to entering
PSM2 mode.
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. The Interrupt 1
interrupt needs to be serviced and acknowledged prior to
entering PSM2 mode.
An Rx edge event occurs if a rising or falling edge is detected on
the Rx line. The UART RxD flag needs to be cleared prior to
entering PSM2 mode.
If the RESET pin is brought low while the ADE7566/ADE7569/
ADE7166/ADE7169 is in PSM2, it wakes up to PSM1.
The LCD can be enabled/disabled in PSM2. The LCD data memory
remains intact.
The four SCRATCHx registers remain intact in PSM2.
events column in Table 28. The interrupt flag associated with
these events must be cleared prior to executing instructions that
put the ADE7566/ADE7569/ ADE7166/ADE7169 in PSM2
mode after wake-up.
DCIN
measurement can wake up the ADE7566/ADE7569/
SWOUT
switches to be connected to V
SWOUT
is connected to V
DD
). The
DD
.

Related parts for ade7166