This example shows Master Slave Communication between Two I2C instances.
One of the core is in control of the I2C Master instance and the other core is in control of the I2C Slave instance.
The main core in in control of the Master I2C Instance. The remote cores in in control of the Slave I2C Instance.
Two transactions are carried out in this example.
In the first transaction the Master Reads two bytes from slave in Blocking Mode. In the second transaction the Master Writes two bytes to slave in Blocking Mode.
SCL and SDA pins of I2C1 and I2C3 are available on the LP board. I2C1 can be connected to I2C3 with following jumper Connections.
| Parameter | Value |
|---|---|
| CPU + OS | r5fss0-0 freertos |
| r5fss0-1 nortos | |
| Toolchain | ti-arm-clang |
| Boards | am263px-lp |
| Example folder | examples/drivers/i2c/i2c_slave_transfer |
system or multi-core project, so refer to system project build instructions for CCS project or makefiles whenbuilding the example.Shown below is a sample output when the application is run,