I2C Custom Target

Browse source code on GitHub

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 LPCXPRESSO55S69.

Building and Running

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

To build and flash the application:

west build -b lpcxpresso55s69/lpc55s69/cpu0 samples/drivers/i2c/custom_target
west flash

See also

I2C Interface