公告

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

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
TLE9855的示例代码主循环里都带有WDT1_Service()这个函数,也就是喂狗,可是查看驱动设置里却没有使能看门狗,所以把WDT1_Service()这个函数注释掉,然后下载进单片机发现单片机没有发生复位,可是重新上电后单片机发生了复位,这是什么原因导致的,或者怎么操作可以关闭看门狗呢
0 点赞
1 解答
Raj_C
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 replies posted

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.

If you disable the WDT1 in Manage Run-Time Environment the dependent components will throw the error. So, it is not recommended to disable the WDT1.

Thank you

Best Regards

Raj Chaudhari

在原帖中查看解决方案

0 点赞
1 回复
Raj_C
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 replies posted

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.

If you disable the WDT1 in Manage Run-Time Environment the dependent components will throw the error. So, it is not recommended to disable the WDT1.

Thank you

Best Regards

Raj Chaudhari

0 点赞