SPRUJ17H March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
Thermal Comparators are implemented on the Temperature readouts to generate warm reset, interrupts or ESM Errors. Alert indication generated by controller is shown in Figure 6-14.
Warm Reset Generation:
TSHUT_HOT and TSHUT_COLD comparators are used to generate a warm reset. Internal signal TSHUT is set high when temperature is greater than TSHUT_THRHLD_HOT and TSHUT is set low when temperature is less than TSHUT_THRHLD_COLD. TSHUT_ THRHLD _HOT and TSHUT_ THRHLD _COLD is taken from the efuse programmed value. They may also be overridden by writing TOP_CTRL.TSENSE*_TSHUT.EFUSE_OVERRIDE register with 0x7 and TSHUT_ THRHLD _HOT and TSHUT_ THRHLD _COLD values in TOP_CTRL.TSENSE*_TSHUT.TSHUT_THRHLD_HOT and TOP_CTRL.TSENSE*_TSHUT. TSHUT_THRHLD_COLD respectively.
An inverted version of TSHUT is connected to warm reset. The warm reset enable for it is controlled through TOP_RCM.WARM_RESET_CONFIG.TSENSE*_RST_EN.
Operation With Interrupts:
In this mode ALERT_HOT_INTR is used for indicating the hot and subsequent cooldown condition.
In this mode TOP_CTRL.TSENSE*_CNTL.MASK_COLD should be set to 1 and TOP_CTRL.TSENSE*_CNTL.MASK_HOT should be set to 0 to start with. This will enable the interrupt for hot condition.
When the temperature exceeds the TOP_CTRL.TSENSE*_ALERT.ALERT_THRHLD_HOT register value, it triggers the ALERT_HOT_INTR interrupt. The interrupt will be asserted until masked by setting TOP_CTRL.TSENSE*_CNTL.MASK_HOT to 1. This will dessert the interrupt.
Software should additionally unmask the cold interrupt condition by setting register bit TOP_CTRL.TSENSE*_CNTL.MASK_COLD to 0. When the temperature cools down below the TOP_CTRL.TSENSE*_ALERT.ALERT_THRHLD_COLD register value, the interrupt ALERT_HOT_INTR is again triggered to indicate to the software that the device has cooled off sufficiently
The masked interrupt signals are also routed to the TOP_CTRL.TSENSE_STATUS register and the non-masked (raw) comparator outputs are available for reading through the corresponding bits in the TOP_CTRL.TSENSE_STATUS_RAW register.