This example demonstrates probing of sensor via I2C and reading data from it. It makes use of the LLD driver and it's polling transfer API. The application reads data from the temperature sensor in the EVM. Application reads 20 samples from the sensor and exits.
Parameter | Value |
---|---|
CPU + OS | r5fss0-0 nortos |
Toolchain | ti-arm-clang |
Board | am64x-evm, am64x-sk |
Example folder | examples/drivers/i2c/i2c_temperature_polling_lld |
Shown below is a sample output when the application is run,