AM273x MCU+ SDK  09.02.00
I2C Memory Read

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 am273x-evm
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 0x30 : 0x0
[I2C] Data at address 0x31 : 0x1
[I2C] Data at address 0x32 : 0x2
[I2C] Data at address 0x33 : 0x3
[I2C] Data at address 0x34 : 0x4
[I2C] Data at address 0x35 : 0x5
[I2C] Data at address 0x36 : 0x6
[I2C] Data at address 0x37 : 0x7
[I2C] Data at address 0x38 : 0x8
[I2C] Data at address 0x39 : 0x9
All tests have passed!!