전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

ADE5166 데이터시트(PDF) 139 Page - Analog Devices

부품명 ADE5166
상세설명  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
Logo AD - Analog Devices

ADE5166 데이터시트(HTML) 139 Page - Analog Devices

Back Button ADE5166 Datasheet HTML 135Page - Analog Devices ADE5166 Datasheet HTML 136Page - Analog Devices ADE5166 Datasheet HTML 137Page - Analog Devices ADE5166 Datasheet HTML 138Page - Analog Devices ADE5166 Datasheet HTML 139Page - Analog Devices ADE5166 Datasheet HTML 140Page - Analog Devices ADE5166 Datasheet HTML 141Page - Analog Devices ADE5166 Datasheet HTML 142Page - Analog Devices ADE5166 Datasheet HTML 143Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 139 / 148 page
background image
Preliminary Technical Data
ADE5166/ADE5169/ADE5566/ADE5569
Rev. PrB | Page 139 of 148
Table 153. I2C Interrupt Status Register SFR (SPI2CSTAT, 0xEA)
Bit
Mnemonic
Default
Description
7
I2CBUSY
0
This bit is set to Logic 1 when the I2C interface is used. When set, the Tx FIFO is emptied.
6
I2CNOACK
0
I2C no acknowledgement transmit interrupt. This bit is set to Logic 1 when the slave device
does not send an acknowledgement. The I2C communication is stopped after this event.
Write a 0 to this bit to clear it.
5
I2CRxIRQ
0
I2C receive interrupt. This bit is set to Logic 1 when the receive FIFO is not empty.
Write a 0 to this bit to clear it.
4
I2CTxIRQ
0
I2C transmit interrupt. This bit is set to Logic 1 when the transmit FIFO is empty.
Write a 0 to this bit to clear it.
3 to 2
I2CFIFOSTAT[1:0]
0
Status Bits for 3- or 4-byte deep I2C FIFO. The FIFO monitored in these two bits is the one currently
used in I2C communication (receive or transmit) because only one FIFO is active at a time.
I2CFIFOSTAT[1:0]
Result
00
FIFO empty
01
Reserved
10
FIFO half full
11
FIFO full
1
I2CACC_ERR
0
Set when trying to write and read at the same time. Write a 0 to this bit to clear it.
0
I2CTxWR_ERR
0
Set when write was attempted when I2C transmit FIFO was full. Write a 0 to this bit to clear it.
READ AND WRITE OPERATIONS
SCLK
SDATA
START BY
MASTER
ACK BY
SLAVE
ACK BY
MASTER
FRAME 2
DATA BYTE 1 FROM MASTER
FRAME 1
SERIAL BUS ADDRESS BYTE
19
9
1
A0
A1
A2
A3
A4
A5
A6
R/W
D0
D1
D2
D3
D4
D5
D6
D7
9
1
D0
D1
D2
D3
D4
D5
D6
D7
FRAME N + 1
DATA BYTE N FROM SLAVE
STOP BY
MASTER
NACK BY
MASTER
Figure 92. I2C Read Operation
SCLK
SDATA
START BY
MASTER
ACK BY
SLAVE
ACK BY
SLAVE
FRAME 2
DATA BYTE 1 FROM MASTER
FRAME 1
SERIAL BUS ADDRESS BYTE
19
9
1
STOP BY
MASTER
A0
A1
A2
A3
A4
A5
A6
R/W
D0
D1
D2
D3
D4
D5
D6
D7
Figure 93. I2C Write Operation
Figure 92 and Figure 93 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 (no acknowledge) before the end of a read
operation is also automatically generated after I2CRCT[4:0] 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 generates a start condition
and continues with the next communication.
Reading the SPI/I2C Receive Buffer SFR (SPI2CRx, 0x9B)
Reading the SPI2CRx SFR should be done with a 2-cycle
instruction, such as
Mov a, spi2crx or Mov R0, spi2crx.
A 3-cycle instruction such as
Mov 3dh, spi2crx
does not transfer the right data into RAM Address 0x3D.



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


링크 URL



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