DLPU018J October 2014 – June 2024 DLPC900
The following table lists the steps to communicate with an external device using one of the DLPC900 I2C ports. The example shows how to read 16 bytes from an EEPROM starting at address location 16.
STEP | I2C (1) | USB (1) | DATA (1) | DESCRIPTION | |
---|---|---|---|---|---|
1 | C5 | 1A4E | 01 A0 86 01 00 | Address mode = 7-bits, port = 1, and clock = 100 kHz | |
2 | 4F | 1A4F | 01 00 10 00 01 A0 00 10 | Number of bytes to write = 1, number of bytes to read = 16, port = 1, device address = A0, EEPROM address location = 16 | |
3 | 01 18 01 03 A5 00 00 00 DA 04 85 A0 57 4A 9B 26 | The host performs an I2C read operation to retrieve the data. |