1973366_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

1973366_en-US

1973366_en-US

I want to use hardware watchdog for MK22FN1M0AVMC12

Hello Team ,


I am using MK22FN1M0AVMC12 microcontroller

MQX4.2 RTOS

Kinetis design studio IDE

I want to use Hardware watchdog (Not software watchdog)

Do you have any Example. 


Thanks

Sudhanshu

Re: I want to use hardware watchdog for MK22FN1M0AVMC12

Hi,

If you hope that the watchdog can reset the K22 when the chip hangs, the watchdog is not related to RTOS, you just need to initialize the watchdog, and use a timer to generate interrupt, in the ISR, you can feed dog, it is okay. In the code, you have to set the Timer interrupt priority higher that the RTOS interrupt priority.

You can download SDK package for the K22:

https://mcuxpresso.nxp.com/en

then load the watchdog example.

xiangjun_rong_0-1728983111017.png



Hope it can help you

BR

XiangJun Rong


Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 04:12 PM
Updated by: