ADE5166_08 AD [Analog Devices], ADE5166_08 Datasheet - Page 26

no-image

ADE5166_08

Manufacturer Part Number
ADE5166_08
Description
Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
Manufacturer
AD [Analog Devices]
Datasheet
ADE5166/ADE5169
Table 22. Scratch Pad 2 SFR (SCRATCH2, Address 0xFC)
Bit
[7:0]
Table 23. Scratch Pad 3 SFR (SCRATCH3, Address 0xFD)
Bit
[7:0]
Table 24. Scratch Pad 4 SFR (SCRATCH4, Address 0xFE)
Bit
[7:0]
Clearing the Scratch Pad Registers (SCRATCH1, Address 0xFB to SCRATCH4, Address 0xFE)
Note that these scratch pad registers are cleared only when the part loses V
Table 25. Power Control SFR (POWCON, Address 0xC5)
Bit
7
6
5
4
3
[2:0]
Writing to the Power Control SFR (POWCON, Address 0xC5)
Writing data to the POWCON SFR involves writing 0xA7 into the key SFR (KYREG, Address 0xC1), which is described in Table 125,
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_OF
F
Reserved
COREOFF
Reserved
CD
Default
0
Default
0
Default
0
Default
1
0
0
0
0
010
;Write KYREG to 0xA7 to get write access to the POWCON SFR
;Shutdown the core
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 mode if in the PSM1 operating mode.
Reserved.
Controls the core clock frequency, f
CD
000
001
010
011
100
101
110
111
Rev. 0 | Page 26 of 148
Result (f
4.096
2.048
1.024
0.512
0.256
0.128
0.064
0.032
CORE
CORE
. f
CORE
DD
in MHz)
and V
= 4.096 MHz/2
BAT
.
CD
.

Related parts for ADE5166_08