Datasheet

I
2
C Interface Controller
10−5
SLLS535E − April 2008 TUSB6250
10.4 Sequential-Read Operation
Once the I
2
C EEPROM address is set, the MCU can execute a sequential-read operation by executing the
following steps (this example illustrates a 32-byte sequential read):
Device Address
The MCU sets I2CSCR [STOP] = 0. This forces the I
2
C controller to not generate a stop condition after
the I2CDIN register contents are received.
The MCU writes the device address (R/W bit = 1) to the I2CADR register (read operation).
The MCU writes a dummy byte to the I2CDOUT register (this starts the transfer on the SDA line).
The RXF bit in the I2CSCR register is cleared.
The contents of the I2CADR register are transmitted to the device (preceded by a start condition on
SDA).
N-Byte Read (31 Bytes)
Data from the device is latched into the I2CDIN register (stop condition is not transmitted).
The RXF bit in the I2CSCR register is set and interrupts the MCU, indicating that data is available.
The MCU reads the I2CDIN register. This clears the RXF bit (I2CSCR [RXF] = 0).
This operation repeats 31 times.
Last-Byte Read (Byte 32)
The MCU sets I2CSCR [STOP] = 1. This forces the I
2
C controller to generate a stop condition after
the I2CDAI register contents are received.
Data from the device is latched into the I2CDIN register (a stop condition is transmitted).
The RXF bit in the I2CSCR register is set and interrupts the MCU, indicating that data is available.
The MCU reads the I2CDIN register. This clears the RXF bit (I2CSCR [RXF] = 0).
End