How to use Watchdog in Beestack

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to use Watchdog in Beestack

1,440 次查看
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.
标签 (1)
0 项奖励
回复
1 回复

641 次查看
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 项奖励
回复