This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi expert
on ourself board, the watchdog(PTPS65941212RWERQ1 pmic function)reset the TDA4 by PORz;
We set the reset time of the watchdog to be about 1s; when the system heats up, if there is no watchdog reset, the tda4 will restart after the temperature returns to normal. However, after the system heats to death, because the dog is not fed in time, the watchdog will PORz TDA4. After reset, the system will start immediately. At this time, if the temperature is too high, TDA4 will enter a hot reset again, resulting in an infinite loop.
Without the watchdog, the TDA4 can be reset from warm, but the system cannot turn off the watchdog
my question is:
1,If the current watchdog reset pin does not change, how to solve this infinite loop problem at the software level
2,How to solve the relationship between watchdog and warm reset
3,How to ensure that it does not enter this infinite loop
Hi,
Please be aware of the Votlage and Thermal Manager (VTM) described in TRM Section 5.2.2.1.5 Voltage and Thermal Manager, provides the control, status as well as interrupt and event generation related to integrated temperature sensors and thermal events programed by the user.
Each temperature sensor can be thresholded individually. The comparator outputs can be individually enabled to generate an interrupt for
The interrupts sources are logically OR’d so SW needs to determine individual source during ISR.
If aforementioned use case has been understood correctly, the undertemp (LT_TH0_INT) for the sensor of concern, could be programmed to prevent S/W from starting until the lower threshold is reached. See, Section 5.2.2.1.5.3.2 VTM Temperature Driver Alerts and Interrupts.
Regards,
kb
could be programmed to prevent S/W from starting until the lower threshold is reached
Yes, if there is an external hardware watchdog, the TDA4 will wait until the lower threshold is reached
However, due to the existence of an external hardware watchdog, the watchdog will use PORz to restart TDA4, TDA4 will exit the hot state and restart immediately
Is below a correct summary.
The system is at step (4-5) of below sequence from TRM, and a PORz is occurring due to an external watchdog timeout? I will check with team on recommendations for external watchdog in this scenario.
Note that when OverTemp was detected on the way to Maximum Temperature, S/W could have taken some action.
Could you please comment on why the temperature is not reducing as expected in step (5), which then becomes a 1 (s) PORz? Is the 1 (s) continuous PORz keeping temperatures high, or are external factors keeping temperatures high?
Thanks,
kb
5.2.2.1.5.3.7.1 VTM Max Temperature Outrange Alert.
Thanks,
Regarding, could you please add some detail:
Intent of question was to understand why temperature is not reducing. Is the high temperature maintained a result of the device restarting continuously, or a result of external factors, such a thermal testing in a temperature chamber.
Regards,
kb
Intent of question was to understand why temperature is not reducing. Is the high temperature maintained a result of the device restarting continuously, or a result of external factors, such a thermal testing in a temperature chambe
a thermal testing in a temperature chamber
Hi,
Thanks for response. The root cause of the overall scenario is that the external temperature is too high, and needs to be reduced.
To avoid the reset loop, which is being driven by the external watchdog, S/W mitigation would likely need to be added. Suggestions on this below, are provided to continue the conversation. This has not been tested on the TI side.
1.0: Modify boot flow to check undertemp, disable/backoff external watchdog, until temperature is reduced
0. As early as possible in boot flow, check if any temperature sensor is above "undertemp".
If any sensor above undertemp
If below under temp
2.0: Make initial TSHUT less likely to occur
If temperature is reduced
If MAX temp is exceeded, and TSHUT occurs
Regards,
kb