| 数据搜索系统,热门电子元器件搜索 |
|
ADE7880 数据表(PDF) 75 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADE7880 数据表(HTML) 75 Page - Analog Devices |
|
75 / 104 page ![]() Data Sheet ADE7880 Rev. A | Page 75 of 104 I2C Read Operation The read operation using the I2C interface of the ADE7880 is accomplished in two stages. The first stage sets the pointer to the address of the register. The second stage reads the content of the register. As seen in Figure 101, the first stage initiates when the master generates a start condition and consists in one byte representing the address of the ADE7880 followed by the 16-bit address of the target register. The ADE7880 acknowledges every byte received. The address byte is similar to the address byte of a write operation and is equal to 0x70 (see the I2C Write Operation section for details). After the last byte of the register address has been sent and acknowledged by the ADE7880, the second stage begins with the master generating a new start condition followed by an address byte. The most significant seven bits of this address byte constitute the address of the ADE7880, and they are equal to 0111000b. Bit 0 of the address byte is a read/write bit. Because this is a read operation, it must be set to 1; thus, the first byte of the read operation is 0x71. After this byte is received, the generates an acknowledge. Then, the sends the value of the register, and after every eight bits are received, the master generates an acknowledge. All the bytes are sent with the most significant bit first. Because registers can have 8, 16, or 32 bits, after the last bit of the register is received, the master does not acknowledge the transfer but generates a stop condition. ADE7880 ADE7880 ACK GENERATED BY ADE7880 ACKNOWLEDGE GENERATED BY MASTER S0 15 SLAVE ADDRESS MOST SIGNIFICANT 8 BITS OF REGISTER ADDRESS LESS SIGNIFICANT 8 BITS OF REGISTER ADDRESS 87 0 1110 000 S S 0 SLAVE ADDRESS BYTE 3 (MOST SIGNIFICANT) OF REGISTER BYTE 2 OF REGISTER BYTE 1 OF REGISTER BYTE 0 (LESS SIGNIFICANT) OF REGISTER 31 24 23 16 15 8 0 7 111000 1 ACK GENERATED BY ADE7880 Figure 101. I2C Read Operation of a 32-Bit Register ACK GENERATED BY ADE7880 ACKNOWLEDGE GENERATED BY MASTER S0 15 SLAVE ADDRESS MOST SIGNIFICANT 8 BITS OF REGISTER ADDRESS LESS SIGNIFICANT 8 BITS OF REGISTER ADDRESS 87 0 111 0000 BYTE 3 (MOST SIGNIFICANT) OF REGISTER 0 BYTE 0 (LESS SIGNIFICANT) OF REGISTER 0 BYTE 3 (MOST SIGNIFICANT) OF REGISTER 1 BYTE 0 (LESS SIGNIFICANT) OF REGISTER n S 011 1000 SLAVE ADDRESS S 31 24 1 70 31 24 70 ACK GENERATED BY ADE7880 Figure 102. I2C Read Operation of n 32-Bit Harmonic Calculations Registers |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |