cancel
Showing results for 
Search instead for 
Did you mean: 

how to disable IWDG during run time

sivainvitesu
Associate II
Posted on October 01, 2010 at 08:03

how to disable IWDG during run time

4 REPLIES 4
brazov22
Associate II
Posted on May 17, 2011 at 15:10

Hi,

Once you enable IWDG, it can’t be disabled.

LSI can’t be disabled too.

brazov

 

sivainvitesu
Associate II
Posted on May 17, 2011 at 15:10

Hi brazov,

thanks for your reply

My requirement is to disable the IWDG during the HALT.

but in my present code whenever i am reaching the HALT mode & waiting for an interrupt, the IWDG is resetting the MC.

so there any way to do this???

in reference manual they had mentioned it has possible (by using option byte).

But if go through the datasheet of STM8S105xx & STM8AF51xx , they are telling its not possible.

is there a soln for this

brazov22
Associate II
Posted on May 17, 2011 at 15:10

Hi,

you can configure to generate a reset or not on HALT only for WWDG thouth bit 0=WWDG_HALT of option byte 3 (pag.50 of stm8s105xx datasheet). Default is no reset on HALT if WWDG is active.

brazov

np1
Associate II
Posted on November 23, 2011 at 09:25

to prevent IWDG reset MCU when into Halt mode, using RTC to clear it.