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
UART SERIAL INTERFACE
The ADE7566/ADE7569/ADE7166/ADE7169 UART can be
configured in one of four modes.
Variable baud rates are defined by using an internal timer to
generate any rate between 300 baud/second and 115,200
baud/second.
The UART serial interface provided in the ADE7566/ADE7569/
ADE7166/ADE7169 is a full-duplex serial interface. It is also
receive buffered by storing the first received byte in a receive
buffer until the reception of the second byte is complete. The
physical interface to the UART is provided via the RxD (P1.0)
UART REGISTERS
Table 131. Serial Port SFRs
SFR
SCON
SBUF
SBAUDT
SBAUDF
Table 132. Serial Communications Control Register Bit Description SFR (SCON, 0x98)
Bit
7 to 6
5
4
3
2
1
0
Shift register with baud rate fixed at f
8-bit UART with variable baud rate
9-bit UART with baud rate fixed at f
9-bit UART with variable baud rate
Address
0x9D
0x9C
0x9B
0x9A
0x99
0x98
0x9F, 0x9E
Address
0x98
0x99
0x9E
0x9D
Mnemonic
SM0, SM1
SM2
REN
TB8
RB8
TI
RI
Bit Addressable
Yes
No
No
No
Default
00
0
0
0
0
0
0
CORE
CORE
/64 or f
/12
Description
UART Serial Mode Select Bits. These bits select the serial port operating mode.
SM[0:1]
00
01
10
11
Multiprocessor Communication Enable Bit. Enables multiprocessor communication in
Mode 2 and Mode 3, and framing error detection in Mode 1.
Serial Port Receive Enable Bit. Set by user software to enable serial port reception.
Cleared by user software to disable serial port reception.
Serial Port Transmit (Bit 9). The data loaded into TB8 is the ninth data bit transmitted in
Mode 2 and Mode 3.
Serial Port Receiver Bit 9. The ninth data bit received in Mode 2 and Mode 3 is latched
into RB8. For Mode 1, the stop bit is latched into RB8.
Serial Port Transmit Interrupt Flag. Set by hardware at the end of the eighth bit in Mode 0 or
at the beginning of the stop bit in Mode 1, Mode 2, and Mode 3.
TI must be cleared by user software.
Serial Port Receive Interrupt Flag. Set by hardware at the end of the eighth bit in Mode 0 or
halfway through the stop bit in Mode 1, Mode 2, and Mode 3.
RI must be cleared by user software.
In Mode 0, SM2 should be cleared.
In Mode 1, if SM2 is set, RI is not activated if a valid stop bit was not received.
If SM2 is cleared, RI is set as soon as the byte of data is received.
In Mode 2 or Mode 3, if SM2 is set, RI is not activated if the received ninth data bit in RB8 is 0.
If SM2 is cleared, RI is set as soon as the byte of data is received.
CORE
/32
Description
Serial Communications Control Register (see Table 132).
Serial Port Buffer (see Table 133).
Enhanced Serial Baud Rate Control (see Table 134).
UART Timer Fractional Divider (see Table 135).
Result (Selected Operating Mode)
Mode 0, shift register, fixed baud rate (f
Mode 1, 8-bit UART, variable baud rate.
Mode 2, 9-bit UART, fixed baud rate (f
Mode 3, 9-bit UART, variable baud rate.
Rev. A | Page 121 of 144
and TxD (P1.1) pins, while the firmware interface is through
the SFRs presented in Table 131.
Both the serial port receive and transmit registers are accessed
through the Serial Port Buffer SFR (SBUF, 0x99). Writing to
SBUF loads the transmit register, and reading SBUF accesses a
physically separate receive register.
An enhanced UART mode is offered by using the UART timer
and by providing enhanced frame error, break error, and
overwrite error detection. This mode is enabled by setting the
EXTEN bit in the Configuration SFR (CFG, 0xAF) (see the
UART Additional Features section). The Enhanced Serial Baud
Rate Control SFR (SBAUDT, 0x9E) and UART Timer Fractional
Divider SFR (SBAUDF, 0x9D) are used to configure the UART
timer and to indicate the enhanced UART errors.
ADE7566/ADE7569/ADE7166/ADE7169
CORE
CORE
/32) or (f
/12).
CORE
/16).

Related parts for ADE7166ASTZF8