The latest development version of this page may be more current than this released 4.0.0 version.

I2C Target

Browse source code on GitHub

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

Building and Running

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

To build and flash the application:

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

See also

I2C Interface