I am having some issues when I implement a watch dog timer in my application on top of ZStack-1.4.3-1.2.1 in CC2430 when I enable power saving.
To give a brief overview on how i implement my algorithm, during the application's initialization (i.e SampleApp_Init) phase i created a periodic timer event using osal_start_timerEx that will fire every 750ms. After doing so I call the fundtion WatchdogTimerEnable setting it to the maximum setting of 1second.
I expect that before the watch dog timer expires my periodic event will first be triggered. And when that event is triggered it will just reset the watch dog timer and restart the periodic timer once again. This sound simple and should work properly. I have confirm this working when i disabled power saving. However, when power saving is enabled I can see that the device will be detected by the coordinator but after sometime it will just reset and loops this way forever.
I would then like to seek any advice from those who have implemented a watch dog timer on their application on top of Zstack-1.4.3-1.2.1 on how you are able to prevent the watch dog from preventing to reset the system on a non-fault scenario.
Cheers,
Grant