How to use Watchdog in Beestack

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use Watchdog in Beestack

1,058 Views
JACKCHEN
Contributor I
Hi ,
 
I want to use watchdog in Wireless UART based on beestack.
But it is too quick to reset by the 2^18 cycles of the bus rate clock in beestack, is anyone had any experience of using watchdog in the beestack. 
Thanks.
Labels (1)
0 Kudos
1 Reply

259 Views
Denn
Contributor I
Hi Jack,
 
If COP watchdog is too fast, then you can have a SW watchdog wherein you determine the timeout period and after its successful completion, you insert illegal opcode which will initiate an "illegal opcode" reset.(WD timer is incremented everytime in the System clock ISR is executed say for every 1ms )
 
You can refer the thread which uses the above technique.
 
Regards,
Denn.
0 Kudos