Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello;
This is my setup:
- PN: MSP432P4111 in a battery-powered system
- CCS v10.4, SysConfig 1.10.0, msp432p4_sdk_3_40_01_02 + TI-RTOS included in sdk.
Use case: WDT in LPM3.5
I would like to use this device to reset my system in case of a freeze or hang have been detected. As per datasheet (SLAU356I/2019), when in LPM3/3.5 it can be used only in interval time mode. The strategy is to reset the timer by tasks and do a system reset (via callback) once the timer expired.
Q1) Is this the best strategy or is there any suggestion?
Q2) Also the example in the sdk folder under driver/watchdog is not goind in any LPM. The issue should be that "ti_drivers_config.c" select ACLK as clock source instead of BLCK or VLOCLK. Any suggestion on how to fix it?
Q3) Once in LPM3/3.5 and no active tasks, I expect that timeout/reset occurs as no one is resetting the timer. I would like to use the RTC to wake-up the system and do a timer reset but no driver/sysconfig seems available.
Q4) Is the "SysCtl_A_rebootDevice()" the best call to reset?
Q5) How strenght is this solution compared to a pure watchdog used in active mode/lpm0? It can be a fail of BLCK or VLOCLK sources?
Q6) In general, the above config and verison is the best we can have for this pn?