S32K142 WDOG unlock failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K142 WDOG unlock failed

跳至解决方案
2,493 次查看
Ada_Lovelace
Contributor IV

Hi,all

I want to use the wdog,but when I init it ,it stops in

"while(((WDOG->CS & WDOG_CS_ULK_MASK)) == 0);"

What should I check to solve it?

Snipaste_2021-08-13_15-03-54.pngwdog1.png

wdog.png

标记 (1)
0 项奖励
回复
1 解答
2,421 次查看
Ada_Lovelace
Contributor IV

HI,

I have solved the problem, the hardware changes the Crystal oscillator, the input clock selects the SIRC,it works.

在原帖中查看解决方案

2 回复数
2,422 次查看
Ada_Lovelace
Contributor IV

HI,

I have solved the problem, the hardware changes the Crystal oscillator, the input clock selects the SIRC,it works.

2,466 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Ada_Lovelace,

Maybe you can refer the codes in S32SDK example wdog_interrupt_s32k142

wdog SDK example.pngWDOG_UNLOCK.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复