Jun 28, 2022
07:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 28, 2022
07:42 AM
TLE9854示例代码,注释掉喂狗函数,然后重新下载,单片机未发生复位,重新上电后发生了复位,是怎么回事,如何才能关闭看门狗
Solved! Go to Solution.
1 Solution
Jul 07, 2022
01:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 07, 2022
01:38 AM
Hi liuyang,
WD 在正常工作模式下是 不能被禁止,但是在其他模式,例如休眠,Debug 等其他模式是不活动的,所以,去掉喂狗命令,在debug 模式是正常的,但下载后运行进入正常模式,WD工作,没有喂狗,所以不能正常工作。
thanks, Keivin
2 Replies
Jun 29, 2022
07:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 29, 2022
07:13 AM
Hi @liuyang,
As per the TLE985xQX user manual, the WDT1 is always enabled in Active Mode. In Sleep Mode, Stop Mode and Debug Mode the WDT1 is disabled. Watchdog cannot be deactivated in Normal Mode.
Please refer to the below section of the datasheet:
Can you please let us know the reason to disable the WDT1?
Thank you
Best Regards
Raj Chaudhari
Jul 07, 2022
01:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 07, 2022
01:38 AM
Hi liuyang,
WD 在正常工作模式下是 不能被禁止,但是在其他模式,例如休眠,Debug 等其他模式是不活动的,所以,去掉喂狗命令,在debug 模式是正常的,但下载后运行进入正常模式,WD工作,没有喂狗,所以不能正常工作。
thanks, Keivin