Skip to main content
vinay2
Visitor II
March 28, 2016
Question

IWDG disbale steps for STM32F2xx/STM32F4xx

  • March 28, 2016
  • 2 replies
  • 756 views
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
This topic has been closed for replies.

2 replies

slimen
Visitor II
March 31, 2016
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-

Tesla DeLorean
Guru
March 31, 2016
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 VenmoUp vote any posts that you find helpful, it shows what's working..