temperatureSensorDemo
This example (temperatureSensorDemo directory) shows how to communicate with the on-board EMC1413 temperature module on Ti375C529. The demo prints out the temperature of the device every few seconds and alerts user if the temperature exceeds the high-temperature limit. Also, you can enable an extended range of temperature measurements to measure the temperature from -64°C to +191°C. Additonally, you can configure the high or low-temperature limit.
Welcome to Temperature Demo for Ti375C529
********************START OF CONFIGURATION***********************
Checking info of the EMC1413 module!
Product ID of temperature sensor:00000021
Status register:00000080
Config register:00000000
Setting up high/low temperature limit!
Set High Temperature limit in internal EMC1413 sensor: 85.0°C
Set High Temperature limit on temperature sensor 1 : 85.0°C
Set High Temperature limit on temperature sensor 2 : 85.0°C
Set Low Temperature limit in internal EMC1413 sensor : 0.0°C
Set Low Temperature limit on temperature sensor 1 : 0.0°C
Set Low Temperature limit on temperature sensor 2 : 0.0°C
Range of the temperature measurement: Default Range (0°C to +127°C)
********************END OF CONFIGURATION***********************
Internal temperature in EMC1413 module : 38.8750°C
Temperature sensor 1 on Ti375C529 dev kit: 41.5000°C
Temperature sensor 2 on Ti375C529 dev kit: 41.5000°C