參數(shù)資料
型號: ADE7169F16
廠商: Analog Devices, Inc.
英文描述: Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
中文描述: 單相電能計量集成電路8052微控制器,RTC和LCD驅(qū)動器
文件頁數(shù): 131/140頁
文件大?。?/td> 1359K
代理商: ADE7169F16
Preliminary Technical Data
ADE7169F16
whether a read or write operation is performed on the slave device. During the read operation, the master acknowledges are generated
automatically by the I2C peripheral. The master generated NACK before the end of a read operation is also generated automatically after
I2CRCT[4:0] bytes have been read from the slave. If the I2CADR register is updated during a transmission, instead of generating a STOP
at the end of the read or write operation, the master will generate a START condition and continue with the next communication.
Rev. PrD | Page 131 of 140
MASTER
SCL
SDA
MASTER
SLAVE
ACK BY
DATA BYFRAME 2
Figure 85: I2C Read operation
SERIAL BFRAME 1
A6
1
9
9
1
A5
A4
A3
A2
A1
A0
D6
D5
D4
D3
D2
D1
D0
R/W
D7
MASTER
DATA BFRAME N+1
9
1
D6
D5
D4
D3
D2
D1
D0
D7
SCL
SDA
MASTER
SLAVE
SLAVE
DATA BYTFRAME 2
SERIAL BFRAME 1
A6
1
9
9
1
A5
A4
A3
A2
A1
A0
D6
D5
D4
D3
D2
D1
D0
MASTER
R/W
D7
Figure 86: I2C Write operation
I2C RECEIVE AND TRANSMIT FIFOS
The I2C peripheral has a four byte receive FIFO and a four byte
transmit FIFO. The buffers reduce the overhead associated with
using the I2C peripheral. Figure 87 shows the operation of the
I2C receive and transmit FIFOs.
The TX FIFO can be loaded with four bytes to be transmitted to
the slave at the beginning of a write operation. When the
transmit FIFO is empty, the I2C transmit interrupt flag will be
set and the PC will vector to the I2C interrupt vector if this
interrupt is enabled. If a new byte is not loaded into the TX
FIFO before it is needed in the transmit shift register, the
communication will stop. An error such as not receiving an
acknowledge will also cause the communication to terminate.
In case of an error during a write operation, the TX FIFO will
be flushed.
The RX FIFO allows four bytes to be read in from the slave
before the MCU has to read the data. A receive interrupt can be
generated after each byte is received or when the RX FIFO is
full. If the peripheral is reading from a slave address, the
communication will stop once the number of received bytes
equals the number set in the I2CRCT[4:0] bits. An error such as
not receiving an acknowledge will also cause the
communication to terminate.
I2CTX
TXDATA3
TXDATA2
TXDATA1
TRANSMIT SHIFT REGISTER
4 Byte FIFO
MOV I2CTX, TXDATA3
MOV I2CTX, TXDATA4
MOV I2CTX, TXDATA1
MOV I2CTX, TXDATA2
Code to fill TX FIFO:
I2CRX
RXDATA1
RXDATA2
RXDATA3
RXDATA4
RECEIVE SHIFT REGISTER
4 Byte FIFO
MOV A, I2CRX
MOV A, I2CRX
MOV A, I2CRX
MOV A, I2CRX
; Result: A=RXDATA1
; Result: A=RXDATA2
; Result: A=RXDATA3
; Result: A=RXDATA4
Code to read RX FIFO:
TXDATA4
Figure 87: I2C FIFO operation
相關(guān)PDF資料
PDF描述
ADE7751 Energy Metering IC with On-Chip Fault Detection
ADE7751AAN-REF Energy Metering IC with On-Chip Fault Detection
ADE7751AN Energy Metering IC with On-Chip Fault Detection
ADE7751ARS Energy Metering IC with On-Chip Fault Detection
ADE7751ARSRL Energy Metering IC with On-Chip Fault Detection
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADE75 制造商:AD 制造商全稱:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7518ASTZF16 功能描述:IC ENERGY METER MCU 16K 64LQFP RoHS:是 類別:集成電路 (IC) >> PMIC - 能量測量 系列:- 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:2,500 系列:*
ADE7518ASTZF16-RL 功能描述:IC ENERGY METER MCU 16K 64LQFP RoHS:是 類別:集成電路 (IC) >> PMIC - 能量測量 系列:- 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:2,500 系列:*
ADE7518ASTZF8 功能描述:IC ENERGY METER MCU 8K 64LQFP RoHS:是 類別:集成電路 (IC) >> PMIC - 能量測量 系列:- 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:2,500 系列:*
ADE7518ASTZF8-RL 功能描述:IC ENERGY METER MCU 8K 64LQFP RoHS:是 類別:集成電路 (IC) >> PMIC - 能量測量 系列:- 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:2,500 系列:*