Skip to main content
Visitor II
October 1, 2010
Question

how to disable IWDG during run time

  • October 1, 2010
  • 4 replies
  • 1616 views
Posted on October 01, 2010 at 08:03

how to disable IWDG during run time

    This topic has been closed for replies.

    4 replies

    Visitor II
    May 17, 2011
    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

     

    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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

    Visitor II
    November 23, 2011
    Posted on November 23, 2011 at 09:25

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