Skip to main content
satya
Visitor II
Aug 3, 2013 11:12 AM UTC
Question

independent watch dog in stm32l151c8t6

Posted on August 03, 2013 at 13:12

we need activation of iwdg  active only in normal mode, deactive in stop mode.

satya.ch

    This topic has been closed for replies.

    2 replies

    bogusz
    Associate II
    Jun 2, 2015 8:58 AM UTC
    Posted on June 02, 2015 at 10:58

    Even in HAL drivers is written:

    (+) Exit:

     

            (++) By issuing an interrupt or a wakeup event, the MSI RC oscillator is selected as system clock.

     

    It's not true, because even IWDG will make a reset in this mode which is so bad and can't be avoided in any way.

    Lynn Linse
    Associate III
    Dec 15, 2016 9:21 PM UTC
    Posted on December 15, 2016 at 22:21

    No, it can be avoided. Per the STM manuals there is something called the IWDG_STOP bit in the FLASH_OPTR register, which (if set) freezes the IWDG during stop. I'm actually digging through the forum looking for more explanation of what this means!