SLVSLJ4 April 2026 TCA9847
ADVANCE INFORMATION
Reading from a target is very similar to writing, but the controller sends a START condition, followed by the target address with the R/ W bit set to 1 (signifying a read). The target acknowledges the read request, and the controller releases the SDA bus but continues supplying the clock to the target. During this part of the transaction, the controller becomes the controller-receiver, and the target becomes the target-transmitter.
The controller continues to send out the clock pulses, but releases the SDA line so that the target can transmit data. At the end of every byte of data, the controller sends an ACK to the target, letting the target know that the controller is ready for more data. After the controller has received the number of bytes the controller is expecting, the controller sends a NACK, signaling to the target to halt communications and release the bus. The controller follows this action up with a STOP condition.
Figure 7-4 shows an example of reading a single byte from a target register.
Figure 7-4 Read from
Control Register