S32K142 WDOG unlock failed

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K142 WDOG unlock failed

Jump to solution
505 Views
Ada_Lovelace
Contributor III

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

Tags (1)
0 Kudos
1 Solution
433 Views
Ada_Lovelace
Contributor III

HI,

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

View solution in original post

2 Replies
434 Views
Ada_Lovelace
Contributor III

HI,

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

478 Views
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 Kudos