I2C Target

Overview

This sample demonstrates how to setup and use the I2C Target API using the zephyr,i2c-target-eeprom device.

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