I2C Custom Target

Overview

This sample demonstrates how to setup an I2C custom target on the I2C interface using the I2C Target API.

Requirements

This sample requires an I2C peripheral which is capable of acting as a target.

This sample has been tested on NXP LPCXPRESSO55S69.

Building and Running

The code for this sample can be found in samples/drivers/i2c_target.

To build and flash the application:

west build -b lpcxpresso55s69/lpc55s69/cpu0 samples/drivers/i2c_target
west flash