Part Number:MSP430F5510
I am looking at SYSRSTIV to determine the reset reason. In my test application I stop servicing the watchdog after 100 seconds.
I get the reset value of: 16h = WDT time out (PUC)
If I now call the TI library functions listed below and don't service the watchdog the reset reason changes to:
0Ch = SVSL (POR)
I am trying to understand why the reset reason is changing.
void ConfigMSP430()
{
//SVS Low side is turned off
PMM_disableSvsL(__MSP430_BASEADDRESS_PMM__);
//Monitor low side is turned off
PMM_disableSvmL(__MSP430_BASEADDRESS_PMM__);
//Monitor high side is turned off
PMM_disableSvmH(__MSP430_BASEADDRESS_PMM__);
//SVS High side is turned on
PMM_enableSvsH(__MSP430_BASEADDRESS_PMM__);
//Enable POR on SVS Event
PMM_enableSvsHReset(__MSP430_BASEADDRESS_PMM__);
//SVS high side Full perf mode,
PMM_SvsHEnabledInLPMFullPerf(__MSP430_BASEADDRESS_PMM__);
//stays on in LPM3,enhanced protect
//Wait until high side, low side settled
while ( 0 == PMM_getInterruptStatus(__MSP430_BASEADDRESS_PMM__,
SVSMLDLYIFG + SVSMHDLYIFG )
) ;
PMM_clearPMMIFGS(__MSP430_BASEADDRESS_PMM__);
}