AM263Px MCU+ SDK: I2C Led Read Write LLD

| AM263Px MCU+ SDK 26.00.00 |

I2C Led Read Write LLD

# Introduction

This example demonstrates setting of multiple LED at the same time connected to the same I2C controller. The application will blink all the I2C controlled LED in the EVM.

Application blinks leds for 3 loops in interrupt mode and 3 loops in polling mode. Application exits after 6 iterations.

# Supported Combinations

Parameter | Value
--- | ---
CPU + OS | r5fss0-0 nortos
Toolchain | ti-arm-clang
Boards | am263px-cc, am263px-lp
Example folder | examples/drivers/i2c/i2c_led_blink

## AM263X-CC

- Watch out for LEDs LD2, LD3, LD4, LD5, LD6, LD7, LD8, LD9, LD10, LD11 on the CC to blink which is controlled by I2C2.

## AM263X-LP

- Watch out for LED D7, D8, D9, D10, D11, D12, D13, D14 on the LP to blink which is controlled by I2C1.

# Steps to Run the Example

- When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
- When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
- Launch a CCS debug session and run the executable, see CCS Launch, Load and Run

# See Also

I2C Low Level Driver

# Sample Output

Shown below is a sample output when the application is run,

[I2C] LED Read Write Test Started ...
LED will Blink for 3 loop in polling Mode ...
LED will Blink for 3 loop in interrupt Mode ...
All tests have passed!!