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

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
Table 17. Power Management Interrupt Flag SFR (IPSMF, 0xF8)
Bit
7
6
5
4
3
2
1
0
Table 18. Battery Switchover Configuration SFR (BATPR, 0xF5)
Bit
7 to 2
1 to 0
Table 19. Peripheral Configuration SFR (PERIPH, 0xF4)
Bit
7
6
5
4
3
2
1 to 0
Table 20. Power Management Interrupt Enable SFR (IPSME, 0xEC)
Bit
7
6
5
4
3
2
1
0
Table 21. Scratch Pad 1 SFR (SCRATCH1, 0xFB)
Bit
7 to 0
Mnemonic
RXFLAG
VSWSOURCE
VDD_OK
PLL_FLT
REF_BAT_EN
Reserved
RXPROG[1:0]
Mnemonic
SCRATCH1
Address
0xFF
0xFE
0xFD
0xFC
0xFB
0xFA
0xF9
0xF8
Interrupt Enable Bit
EPSR
RESERVED
ESAG
RESERVED
EVADC
EBAT
EBSO
EVDCIN
Mnemonic
Reserved
BATPRG[1:0]
Mnemonic
FPSR
FPSM
FSAG
RESERVED
FVADC
FBAT
FBSO
FVDCIN
Default
0
Default
0
1
1
0
0
0
00
Default
00
00
Description
Value can be written/read in this register. This value is maintained in all the power saving modes.
Default
0
0
0
0
0
0
0
0
Indicates the power supply that is internally connected to V
Description
If set, indicates that an Rx edge event triggered wake-up from PSM2.
If set, indicates that V
If set, indicates that a PLL fault occurred where the PLL lost lock. Set the PLLACK bit (see Table 50) in
the Start ADC Measurement SFR (ADCGO, 0xD8) to acknowledge the fault and clear the PLL_FLT bit.
Set this bit to enable internal voltage reference in PSM2 mode. This bit should be set if LCD is on in
PSM2 mode.
This bit should be kept to zero.
Controls the function of the P1.0/RxD pin.
RXPROG[1:0]
00
01
11
Default
0
0
0
0
0
0
0
0
Description
Power Supply Restored Interrupt Flag. Set when the V
This occurs when the source of V
PSM Interrupt Flag. Set when an enabled PSM interrupt condition occurs.
Voltage SAG Interrupt Flag. Set when an ADE energy measurement SAG condition occurs.
This bit must be kept cleared for proper operation.
V
measurement is ready.
V
Battery Switchover Interrupt Flag. Set when V
V
Description
These bits must be kept to 0 for proper operation.
Control Bits for Battery Switchover.
BATPRG[1:0]
00
01
1X
DCIN
BAT
DCIN
Monitor Interrupt Flag. Set when V
Monitor Interrupt Flag. Set when V
Monitor Interrupt Flag. Set when V
Description
Enables a PSM interrupt when the power supply restored flag (FPSR) is set.
Reserved.
Enables a PSM interrupt when the voltage SAG flag (FSAG) is set.
This bit must be kept cleared for proper operation.
Enables a PSM interrupt when the V
Enables a PSM interrupt when the V
Enables a PSM interrupt when the V
Enables a PSM interrupt when the battery switchover flag (FBSO) is set.
Result
GPIO
RxD with wake-up disabled
RxD with wake-up enabled
DD
Rev. A | Page 26 of 144
power supply is ready for operation.
Result
Battery switchover enabled on low V
Battery switchover enabled on low V
Battery switchover disabled
SWOUT
BAT
changes from V
falls below BATVTH or when V
DCIN
DCIN
ADC
BAT
DCIN
changes by VDCIN_DIFF or when V
falls below 1.2 V.
monitor flag (FBAT) is set.
monitor flag (FVADC) is set.
monitor flag (FVDCIN) is set.
SWOUT
SWOUT
switches from V
BAT
DD
DD
DD
(0 V
power supply has been restored.
to V
and low V
SWOUT
DD
.
= V
DD
DCIN
BAT
BAT
to V
, 1 V
measurement is ready.
BAT.
SWOUT
DCIN
= V
DD
).

Related parts for ade7166