TLE9854 如何禁止看门狗

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
liuyang
Level 2
Level 2
First reply posted 25 sign-ins 10 questions asked

TLE9854示例代码,注释掉喂狗函数,然后重新下载,单片机未发生复位,重新上电后发生了复位,是怎么回事,如何才能关闭看门狗

0 点赞
1 解答
Kevin_Wu
Moderator
Moderator
Moderator
100 sign-ins 50 replies posted 10 likes received

Hi liuyang,

  WD 在正常工作模式下是 不能被禁止,但是在其他模式,例如休眠,Debug 等其他模式是不活动的,所以,去掉喂狗命令,在debug 模式是正常的,但下载后运行进入正常模式,WD工作,没有喂狗,所以不能正常工作。

 

thanks, Keivin

在原帖中查看解决方案

0 点赞
2 回复数
Raj_C
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

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:

Raj_JC_0-1656511912435.png

Can you please let us know the reason to disable the WDT1?

Thank you

Best Regards

Raj Chaudhari

0 点赞
Kevin_Wu
Moderator
Moderator
Moderator
100 sign-ins 50 replies posted 10 likes received

Hi liuyang,

  WD 在正常工作模式下是 不能被禁止,但是在其他模式,例如休眠,Debug 等其他模式是不活动的,所以,去掉喂狗命令,在debug 模式是正常的,但下载后运行进入正常模式,WD工作,没有喂狗,所以不能正常工作。

 

thanks, Keivin

0 点赞