ADE7166ASTZF8 Analog Devices Inc, ADE7166ASTZF8 Datasheet - Page 111

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
Table 106. Timer 0 High Byte SFR (TH0, 0x8C)
Bit
7 to 0
Table 107. Timer 0 Low Byte SFR (TL0, 0x8A)
Bit
7 to 0
Table 108. Timer 1 High Byte SFR (TH1, 0x8D)
Bit
7 to 0
Table 109. Timer 1 Low Byte SFR (TL1, 0x8B)
Bit
7 to 0
Table 110. Timer 2 High Byte SFR (TH2, 0xCD)
Bit
7 to 0
Table 111. Timer 2 Low Byte SFR (TL2, 0xCC)
Bit
7 to 0
Table 112. Timer 2 Reload/Capture High Byte SFR
(RACP2H, 0xCB)
Bit
7 to 0
Table 113. Timer 2 Reload/Capture Low Byte SFR
(RACP2L, 0xCA)
Bit
7 to 0
TIMER 0 AND TIMER 1
Timer/Counter 0 and Timer/Counter 1 Data Registers
Each timer consists of two 8-bit registers. They are Timer 0
High Byte SFR (TH0, 0x8C), Timer 0 Low Byte SFR (TL0, 0x8A),
Timer 1 High Byte SFR (TH1, 0x8D), and Timer 1 Low Byte SFR
(TL1, 0x8B) These can be used as independent registers or
combined into a single 16-bit register, depending on the timer
mode configuration (see Table 106 to Table 109).
Timer/Counter 0 and Timer/Counter 1 Operating Modes
This section describes the operating modes for Timer/Counter 0
and Timer/Counter 1. Unless otherwise noted, these modes of
operation are the same for both Timer 0 and Timer 1.
Mnemonic
TL2
Mnemonic
Mnemonic
Mnemonic
Mnemonic
Mnemonic
TH0
TL0
TH1
TL1
TH2
Mnemonic
TH2
Mnemonic
TL2
Default
0
Default
0
Default
0
Default
0
Default
0
Default
0
Default
0
Default
0
Description
Timer 0 Data High Byte.
Description
Timer 0 Data Low Byte.
Description
Timer 1 Data High Byte.
Description
Timer 1 Data Low Byte.
Description
Timer 2 Data High Byte.
Description
Timer 2 Data Low Byte.
Description
Timer 2 Reload/
Capture High Byte.
Description
Timer 2 Reload/
Capture Low Byte.
Rev. A | Page 111 of 144
Mode 0 (13-Bit Timer/Counter)
Mode 0 configures an 8-bit timer/counter. Figure 95 shows
Mode 0 operation. Note that the divide-by-12 prescaler is not
present on the single cycle core.
In this mode, the timer register is configured as a 13-bit register.
As the count rolls over from all 1s to all 0s, it sets the timer
overflow flag, TF0. TF0 can then be used to request an interrupt.
The counted input is enabled to the timer when TR0 = 1 and either
Gate0 = 0 or
controlled by external input
measurements. TR0 is a control bit in the Timer/Counter 0 and
Timer/Counter 1 Control SFR (TCON, 0x88); the Gate bit is in
Timer/Counter 0 and Timer/Counter 1 Mode SFR (TMOD, 0x89).
The 13-bit register consists of all 8 bits of Timer 0 High Byte
SFR (TH0, 0x8C) and the lower 5 bits of Timer 0 Low Byte SFR
(TL0, 0x8A). The upper three bits of TL0 SFR are indeterminate
and should be ignored. Setting the run flag (TR0) does not clear
the registers.
Mode 1 (16-Bit Timer/Counter)
Mode 1 is the same as Mode 0 except that the Mode 1 timer
register runs with all 16 bits. Mode 1 is shown in
f
P0.6/T0
P0.6/T0
f
CORE
GATE
CORE
GATE
I
INT
NT0
ADE7566/ADE7569/ADE7166/ADE7169
0
INT0 = 1. Setting Gate0 = 1 allows the timer to be
TR0
TR0
Figure 95. Timer/Counter 0, Mode 0
Figure 96. Timer/Counter 0, Mode 1
C/T0 = 0
C/T0 = 1
C/T0 = 1
C/T0 = 0
CONTROL
INT0 to facilitate pulse width
CONTROL
(8 BITS)
(5 BITS)
TL0
TL0
(8 BITS)
(8 BITS)
TH0
TH0
Figure 96.
TF0
TF0
INTERRUPT
INTERRUPT

Related parts for ADE7166ASTZF8