Other Parts Discussed in Thread: CC2530, Z-STACK
Has CC2530 support more than 1 sec WDT interval, i had study the WDCTL (0xC9) – Watchdog Timer Control, the max Timer interval only support 1 sec,
i has use the WatchDogEnable( 0x00 ); // 00: Clock period × 32,768 (~1 s) when running the 32-kHz XOS
then set the WDCTL.CLR to clear the timer,
WD_KICK() st( WDCTL = (0xA0 | WDCTL & 0x0F); WDCTL = (0x50 | WDCTL & 0x0F); )
but the one second WDT interval is too short,
if i want to rebot after 10 secs, how can i to set up the register?
Thanks