Serial bus analysis
R&S
®
RTB2000
230
User Manual 1333.1611.02 ─ 11
Data transfer
The format of a simple I²C message (frame) with 7-bit addressing consists of the fol-
lowing parts:
●
Start condition: a falling slope on SDA while SCL is high
●
7-bit address of the slave device that either is written to or read from
●
R/W bit: specifies if the data is written to or read from the slave
●
ACKnowledge bits: is issued by the receiver of the previous byte if the transfer was
successful
Exception: At read access, the master terminates the data transmission with a
NACK bit after the last byte.
●
Data: several data bytes with an ACK bit after every byte
●
Stop condition: a rising slope on SDA while SCL is high
Figure 12-9: I2C writes access with 7-bit address
Address types: 7-bit and 10-bit
Slave addresses can be 7 bits or 10 bits long. A 7-bit address requires 1 byte, 7 bits for
the address followed by the R/W bit.
A 10-bit address for write access requires 2 bytes: the first byte starts with the reserved
sequence 11110, followed by the two MSB of the address and the write bit. The second
byte contains the remaining 8 LSB of the address. The slave acknowledges each
address byte.
Figure 12-10: 10-bit address, write access
A 10-bit address for read access requires 3 bytes. The first 2 bytes are identical to the
write access address. The third byte repeats the address bits of the first byte and sets
the read bit.
Figure 12-11: 10-bit address, read access
I²C (option R&S
RTB-K1)