Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 21927

MSP430F5510: MSP430F5510

$
0
0

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__);
}


Viewing all articles
Browse latest Browse all 21927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>