Introduction
This example demonstrates writing 10 Bytes of data to I2C based EEPROM devices present in the board and then reading back the same data from the EEPROM.
Supported Combinations
| Parameter | Value |
| CPU + OS | r5fss0-0 nortos |
| r5fss0-0 freertos |
| Toolchain | ti-arm-clang |
| Boards | am263px-cc, am263px-lp |
| Example folder | examples/drivers/i2c/i2c_memory_read |
Steps to Run the Example
See Also
I2C
Sample Output
Shown below is a sample output when the application is run,
[I2C] Writing data to EEPROM ... !!!
[I2C] Reading data from EEPROM ... !!!
[I2C] Data at address 0x400 : 0x0
[I2C] Data at address 0x401 : 0x1
[I2C] Data at address 0x402 : 0x2
[I2C] Data at address 0x403 : 0x3
[I2C] Data at address 0x404 : 0x4
[I2C] Data at address 0x405 : 0x5
[I2C] Data at address 0x406 : 0x6
[I2C] Data at address 0x407 : 0x7
[I2C] Data at address 0x408 : 0x8
[I2C] Data at address 0x409 : 0x9
All tests have passed!!