AM263Px MCU+ SDK: I2C Temperature Interrupt LLD

| AM263Px MCU+ SDK 26.00.00 |

I2C Temperature Interrupt LLD

# Introduction

This example demonstrates probing of sensor via I2C and reading data from it. It makes use of the LLD driver and it's interrupt transfer API. The application reads data from the temperature sensor in the EVM. Application reads 20 samples from the sensor and exits.

# Supported Combinations

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

# 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] I2C Temperature Read test Started in interrupt mode ... !!!
[I2C] Temperature sensor found at device address 0x4c
[I2C] Sample 0: 44.000000 (celcius)
[I2C] Sample 1: 44.000000 (celcius)
[I2C] Sample 2: 44.000000 (celcius)
[I2C] Sample 3: 44.000000 (celcius)
[I2C] Sample 4: 44.000000 (celcius)
[I2C] Sample 5: 44.000000 (celcius)
[I2C] Sample 6: 44.000000 (celcius)
[I2C] Sample 7: 44.000000 (celcius)
[I2C] Sample 8: 44.000000 (celcius)
[I2C] Sample 9: 44.000000 (celcius)
[I2C] Sample 10: 44.000000 (celcius)
[I2C] Sample 11: 44.000000 (celcius)
[I2C] Sample 12: 44.000000 (celcius)
[I2C] Sample 13: 44.000000 (celcius)
[I2C] Sample 14: 44.000000 (celcius)
[I2C] Sample 15: 44.000000 (celcius)
[I2C] Sample 16: 44.000000 (celcius)
[I2C] Sample 17: 44.000000 (celcius)
[I2C] Sample 18: 44.000000 (celcius)
[I2C] Sample 19: 44.000000 (celcius)
All tests have passed!!