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

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
Table 22. Scratch Pad 2 SFR (SCRATCH2, 0xFC)
Bit
7 to 0
Table 23. Scratch Pad 3 SFR (SCRATCH3, 0xFD)
Bit
7 to 0
Table 24. Scratch Pad 4 SFR (SCRATCH4, 0xFE)
Bit
7 to 0
Clearing the Scratch Pad Registers (SCRATCH1, 0xFB to SCRATCH4, 0xFE)
Note that these scratch pad registers are only cleared when the part loses V
PLL reset and, therefore, need to be set correctly in these situations.
Table 25. Power Control SFR (POWCON, 0xC5)
Bit
7
6
5
4
3
2 to 0
Writing to the Power Control SFR (POWCON, 0xC5)
Writing data to the POWCON SFR involves writing 0xA7 into the Key SFR (KYREG, 0xC1), which is described in Table 116, followed by
a write to the POWCON SFR. For example:
MOV KYREG,#0A7h
MOV POWCON,#10h
Mnemonic
SCRATCH2
Mnemonic
SCRATCH3
Mnemonic
SCRATCH4
Mnemonic
RESERVED
METER_OFF
RESERVED
COREOFF
RESERVED
CD[2:0]
Default
0
Default
0
Default
0
;Write KYREG to 0xA7 to get write access to the POWCON SFR
;Shutdown the core
Default
1
0
0
0
0
010
Description
Value can be written/read in this register. This value is maintained in all the power saving modes.
Description
Value can be written/read in this register. This value is maintained in all the power saving modes.
Description
Value can be written/read in this register. This value is maintained in all the power saving modes.
Description
Reserved.
Set this bit to turn off the modulators and energy metering DSP circuitry to reduce power if
metering functions are not needed in PSM0.
This bit should be kept at 0 for proper operation.
Set this bit to shut down the core and enter PSM2 if in the PSM1 operating mode.
Reserved.
Controls the core clock frequency, f
CD[2:0]
000
001
010
011
100
101
110
111
Rev. A | Page 27 of 144
Result (f
4.096
2.048
1.024
0.512
0.256
0.128
0.064
0.032
CORE
DD
in MHz)
ADE7566/ADE7569/ADE7166/ADE7169
and V
CORE
BAT
. They are not cleared by software, watchdog, or
. f
CORE
= 4.096 MHz/2
CD
.

Related parts for ade7166