数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ADE75 数据表(PDF) 138 Page - Analog Devices

部件名 ADE75
功能描述  Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
PDF  148 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

ADE75 数据表(HTML) 138 Page - Analog Devices

Back Button ADE75 Datasheet HTML 134Page - Analog Devices ADE75 Datasheet HTML 135Page - Analog Devices ADE75 Datasheet HTML 136Page - Analog Devices ADE75 Datasheet HTML 137Page - Analog Devices ADE75 Datasheet HTML 138Page - Analog Devices ADE75 Datasheet HTML 139Page - Analog Devices ADE75 Datasheet HTML 140Page - Analog Devices ADE75 Datasheet HTML 141Page - Analog Devices ADE75 Datasheet HTML 142Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 138 / 148 page
background image
ADE75xx/ADE71xx
Preliminary Technical Data
Rev. PrE | Page 138 of 148
Figure 85 and Figure 86 depict I2C read and write operations, respectively. Note that the LSB of the I2CADR register is used to select
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.
STOP BY
MASTER
SCL
SDA
START BY
MASTER
ACK BY
SLAVE
ACK BY
MASTER
FRAME 2
DATA BYTE 1 FROM SLAVE
FRAME 1
SERIAL BUS ADDRESS BYTE
A6
19
9
1
A5
A4
A3
A2
A1
A0
D6
D5
D4
D3
D2
D1
D0
R/W
D7
NACK BY
MASTER
FRAME N+1
DATA BYTE N FROM SLAVE
9
1
D6
D5
D4
D3
D2
D1
D0
D7
Figure 85: I2C Read operation
SCL
SDA
START BY
MASTER
ACK BY
SLAVE
ACK BY
SLAVE
FRAME 2
DATA BYTE 1 FROM MASTER
FRAME 1
SERIAL BUS ADDRESS BYTE
A6
19
9
1
A5
A4
A3
A2
A1
A0
D6
D5
D4
D3
D2
D1
D0
STOP BY
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, TXDATA1
MOV I2CTX, TXDATA2
MOV I2CTX, TXDATA3
Code to fill TX FIFO:
I2CTX
TXDATA3
TXDATA2
TXDATA1
TRANSMIT SHIFT REGISTER
MOV I2CTX, TXDATA1
MOV I2CTX, TXDATA2
MOV I2CTX, TXDATA3
MOV I2CTX, TXDATA4
Code to fill TX FIFO:
I2CRX
RXDATA1
RXDATA2
RXDATA3
RXDATA4
RECEIVE SHIFT REGISTER
4 Byte FIFO
MOV A, I2CRX
; Result: A=RXDATA1
MOV A, I2CRX
; Result: A=RXDATA2
MOV A, I2CRX
; Result: A=RXDATA3
MOV A, I2CRX
; Result: A=RXDATA4
Code to read RX FIFO:
TXDATA4
Figure 87: I2C FIFO operation



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com