Datasheet
Data Sheet ADE7880
Rev. A | Page 75 of 104
I
2
C Read Operation
The read operation using the I
2
C 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 I
2
C 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
STAR
T
S0
15
SLAVE ADDRESS MOST SIGNIFICANT
8 BITS OF REGISTER
ADDRESS
LESS SIGNIFICANT
8 BITS OF REGISTER
ADDRESS
87 0
1110000
START
STOP
NOACK
S S0
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
07
1110001
ACK GENERATED
BY ADE7880
ACK
ACK
ACK
ACK
ACK
ACK
ACK
10193-076
Figure 101. I
2
C Read Operation of a 32-Bit Register
ACK GENERATED
BY ADE7880
ACKNOWLEDGE
GENERATED BY
MASTER
STAR
T
START
NOACK
STOP
S0
15
SLAVE ADDRESS MOST SIGNIFICANT
8 BITS OF REGISTER
ADDRESS
LESS SIGNIFICANT
8 BITS OF REGISTER
ADDRESS
87 0
1110000
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
ACK
ACK
ACK
ACK
ACK
ACK
ACK
S 0111000
SLAVE ADDRESS
S
31 24
1
70
31 24 70
ACK GENERATED
BY ADE7880
10193-077
Figure 102. I
2
C Read Operation of n 32-Bit Harmonic Calculations Registers