The Voltage and Thermal Management (VTM) controls the temperature monitors in the die. The VTM provides interrupt and event generation for overtemperature through the Error Signaling Module (ESM). It supports 3 different alerts:
SDL supports configuration of the VTM voltage domain and temperature warning. The 3 different alerts are also supported via the SDL ESM Handler, like all other ESM events. The SDL API can also be used to configure the VTM Maximum temperature threshold.
The VTM module provides the following functionality for the application
The following shows an example of SDL VTM API usage by the application to set up the VTM for monitoring for events. Events can be monitored by enabling the events in the associated ESM instance.
Configure the VTM Thresholds and enable events
Convert from Temperature to ADC Code
Convert from ADC Code to Temperature
Get Current Temperature Value
Acknowledge and Disable an interrupt