Running the demonstration
UM0891
Doc ID 16982 Rev 1
Figure 56.
Thermometer submenu selected
Once you select the
Temperature
submenu, the temperature value is displayed in Celsius
Press any key to return to the
Thermometer
submenu.
Figure 57.
Temperature display
Thanks to STM32 I2C SMBus feature, we can easily monitor the temperature variations.
This is managed by the SMBus Alert which generates a dedicated interrupt to inform the
system that the temperature is out of the selected range. This can be very useful for
systems where the increase of temperature needs an immediate intervention, like in motor
control, medical systems, etc.
If the temperature exceeds the over-limit high value (TEMPERATURE_TOS: Over Limit
Temperature), the SMBus Alert interrupt is generated and the following warning message is
displayed on the LCD screen:
Figure 58.
Warning temperature display
Thermometer
Return
Temperature
Temperature
+xxx.x C
+xxx.x F
Temperature
+xxx.x C
+xxx.x F
Exceeding the T°Limit
32 C