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

MOTIX™ MCU Forum Discussions

liuyang
Level 1
10 questions asked 10 sign-ins 5 questions asked
Level 1

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

0 Likes
1 Solution
Kevin_Wu
Moderator
Moderator 5 replies posted 5 sign-ins First solution authored
Moderator

Hi liuyang,

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

 

thanks, Keivin

View solution in original post

0 Likes
2 Replies
Raj_JC
Moderator
Moderator 250 sign-ins 25 likes received 50 solutions authored
Moderator

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 Likes
Kevin_Wu
Moderator
Moderator 5 replies posted 5 sign-ins First solution authored
Moderator

Hi liuyang,

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

 

thanks, Keivin

0 Likes