ADE7166ASTZF8 Analog Devices Inc, ADE7166ASTZF8 Datasheet - Page 121

IC ENERGY METER 1PHASE 64LQFP

ADE7166ASTZF8

Manufacturer Part Number
ADE7166ASTZF8
Description
IC ENERGY METER 1PHASE 64LQFP
Manufacturer
Analog Devices Inc
Datasheets

Specifications of ADE7166ASTZF8

Applications
Energy Measurement
Core Processor
8052
Program Memory Type
FLASH (8 kB)
Controller Series
ADE71xx
Ram Size
512 x 8
Interface
I²C, SPI, UART
Number Of I /o
20
Voltage - Supply
3.135 V ~ 3.465 V
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
64-LQFP
Ic Function
Single Phase Energy Measurement IC
Supply Voltage Range
3.13V To 3.46V, 2.4V To 3.7V
Operating Temperature Range
-40°C To +85°C
Digital Ic Case Style
LQFP
No. Of Pins
64
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADE7166ASTZF8
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADE7166ASTZF8-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
REAL-TIME CLOCK (RTC)
The ADE7116/ADE7156/ADE7166/ADE7169/ADE7566/
ADE7569 have an embedded real-time clock (RTC) as shown in
Figure 103. The external 32.768 kHz crystal is used as the clock
source for the RTC. Calibration is provided to compensate the
nominal crystal frequency and for variations in the external
crystal frequency over temperature. By default, the RTC is
maintained active in all power saving modes. The RTC counters
retain their values through watchdog resets and external resets.
They are only reset during a power-on reset.
CALIBRATED
32.768kHz
HUNDREDTHS COUNTER
INTERVAL COUNTER
SECOND COUNTER
MINUTE COUNTER
HOUR COUNTER
PRESCALER
INTVAL SFR
32.768kHz
CRYSTAL
HTHSEC
HOUR
8-BIT
8-BIT
SEC
MIN
RTCEN
Figure 103. RTC Implementation
RTCCOMP
CALIBRATION
EQUAL?
TEMPCAL
MIDNIGHT EVENT
SELECTION
ITS1
TIMEBASE
INTERVAL
MUX
ITS0
ADE7116/ADE7156/ADE7166/ADE7169/ADE7566/ADE7569
ALARM
EVENT
ITEN
Rev. B | Page 121 of 152
RTC SFRS
Note that none of the real-time clock SFRs are bit addressable.
Table 127. Real-Time Clock SFR
SFR
TIMECON
HTHSEC
SEC
MIN
HOUR
INTVAL
RTCCOMP
TEMPCAL
Protecting the RTC from Runaway Code
To protect the RTC from runaway code, a key must be written
to the KYREG SFR (Address, 0xC1) to obtain write access to the
interrupt pins configuration SFR (INTPR, Address 0xFF),
hundredths of a second counter SFR (HTHSEC, Address 0xA2),
seconds counter SFR (SEC, 0xA3), minutes counter SFR (MIN,
Address 0xA4), and hours counter SFR (HOUR, Address 0xA5).
KYREG should be set to 0xEA to unlock it and reset it to zero
after a timekeeping register is written to. The RTC registers can
be written using the following 8052 assembly code:
MOV
MOV
KYREG,#0EAh
INTPR,#080h
Address
0xA1
0xA2
0xA3
0xA4
0xA5
0xA6
0xF6
0xF7
Description
RTC Configuration (see Table 128).
Hundredths of a Second Counter
(see Table 129).
Seconds Counter (see Table 130).
Minutes Counter (see Table 131).
Hours Counter (see Table 132).
Alarm Interval (see Table 133).
RTC Nominal Compensation (see
Table 134).
RTC Temperature Compensation (see
Table 135).

Related parts for ADE7166ASTZF8