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

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
PLL
The ADE7566/ADE7569/ADE7166/ADE7169 are intended for use
with a 32.768 kHz watch crystal. A PLL locks onto a multiple of this
frequency to provide a stable 4.096 MHz clock for the system. The
core can operate at this frequency or at binary submultiples of it to
allow power savings when maximum core performance is not
required. The default core clock is the PLL clock divided by 4 or
1.024 MHz. The ADE energy measurement clock is derived
from the PLL clock and is maintained at 4.096 MHz/5 MHz,
819.2 kHz across all CD settings.
PLL REGISTERS
Table 115. Power Control SFR (POWCON, 0xC5)
Bit
7
6
5
4
3
2 to 0
Writing to the Power Control SFR (POWCON, 0xC5)
Note that writing data to the POWCON SFR involves writing 0xA7 into the Key SFR (KYREG, 0xC1) followed by a write to the
POWCON SFR.
Table 116. Key SFR (KYREG, 0xC1)
Bit
7 to 0
Mnemonic
Reserved
METER_OFF
Reserved
COREOFF
Reserved
CD[2:0]
Mnemonic
KYREG
Default
1
0
0
0
010
Default
0
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 if in the PSM1 operating mode.
Reserved.
Controls the core clock frequency (f
CD[2:0]
000
001
010
011
100
101
110
111
Description
Write 0xA7 to the KYREG SFR before writing to the POWCON SFR to unlock it.
Write 0xEA to the KYREG SFR before writing to the INTPR, HTHSEC, SEC, MIN, or HOUR timekeeping
registers to unlock it.
Rev. A | Page 114 of 144
Result (f
4.096
2.048
1.024
0.512
0.256
0.128
0.064
0.032
CORE
). f
The PLL is controlled by the CD[2:0] bits in the Power Control
SFR (POWCON, 0xC5). To protect erroneous changes to the
POWCON SRF, a key is required to modify the register. First,
the Key SFR (KYREG, 0xC1) is written with the key, 0xA7, and
then a new value is written to the POWCON SFR.
If the PLL loses lock, the MCU is reset and the PLL_FLT bit is
set in the Peripheral Configuration SFR (PERIPH, 0xF4). Set
the PLLACK bit in the Start ADC Measurement SFR (ADCGO,
0xD8) to acknowledge the PLL fault, clearing the PLL_FLT bit.
CORE
CORE
= 4.096 MHz/2
in MHz)
CD
.

Related parts for ade7166