This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

i2c_interrupt_transfer_slave

Overview

The i2c_interrupt_transfer_slave example shows how to use i2c driver as slave to do board to board transfer with interrupt:

In this example, one i2c instance as slave and another i2c instance on the other board as master. Master sends a piece of data to slave, and receive a piece of data from slave. This example checks if the data received from slave is correct.