I'm attempting to utilize the Watchdog Timer in the CC2430 with the SimpliciTI stack, but apparently having difficulty with
initialization. Desired operation is: 0.25 second interval, Watchdog enabled, and the Timer enabled by setting
WDCTL = 0x09;
After I boot up and initialize the mcu, my test program goes into a while loop and toggles an LED, but the
Watchdog appears not to time out and reset the mcu.
Just to verify, after I get the timer to operate I need to set the following values in order to feed the dog?
WDCTL &= 0xAF;
WDCTL &= 0x5F;
Also to check the reset origination is this correct?
if((SLEEP & 0x08) == 0x08) { halUartBufferedWrite("\Watchdog Reset",14);}
Thanks for any assistance,
Joel