cancel
Showing results for 
Search instead for 
Did you mean: 

IWDG disbale steps for STM32F2xx/STM32F4xx

vinay2
Associate
Posted on March 28, 2016 at 16:05

I learned that, to enable IWDG we need to write 0xCCCC to IWDG->KR register.

I have a situation where I enable IWDG peripheral in bootaloder image and I want to disable IWDG in Application.

Can anyone help me to understand the steps to be followed to disable IWDG peripheral?

#iwdg
2 REPLIES 2
slimen
Senior
Posted on March 31, 2016 at 19:24

Hello, 

Once the watchdog is enabled, then it cannot be disabled again except by a reset. 

According to the reference manual:

''Independent watchdog (IWDG): the IWDG is started by writing to its Key register or by hardware option. Once started it cannot be stopped except by a Reset.''

-ForumSTM32-

Posted on March 31, 2016 at 20:58

Have the processor reset, and have your boot loader more immediately transfer control to the application, without the watchdog being started.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..