使用6678的timer0的看门狗功能,定时器中断1s喂一次狗,不喂狗时小概率会出现不复位的情况,代码仍在运行,WDFLAG已置位,计数清零。使用的例程如下,这有可能是什么原因造成的
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
使用6678的timer0的看门狗功能,定时器中断1s喂一次狗,不喂狗时小概率会出现不复位的情况,代码仍在运行,WDFLAG已置位,计数清零。使用的例程如下,这有可能是什么原因造成的
Hello,
Please mention your query in english
Regards
Tarun Mukesh
hello
Using the watchdog function of 6678 timer0, the clock is interrupted to feed the dog for 1s, without feeding the dog, it will not reset in the small-probability case . The code is still running, WDFLAG has been placed, and the count is cleared. It can only be restored by power outage or hard reset, using the following routines,What could be the cause of this situation
maoyun,
It is always good to start with something which already works.
For example, please refer to the sample example code of Watchdog timer of processor SDK 6.3
PROCESSOR-SDK-RTOS-C667x 06_03_00_106
https://software-dl.ti.com/processor-sdk-rtos/esd/C667x/latest/index_FDS.html
After installation, you will find the sample located at
:\ti\pdk_c667x_2_0_16\packages\ti\csl\example\wdtimer
Regards
Shankari G