Skip to main content
ASSAAD.ASSAAD
Associate III
February 6, 2017
Question

STM32F407 AND FREEZ IWDG

  • February 6, 2017
  • 2 replies
  • 731 views
Posted on February 06, 2017 at 14:01

Hello

could you show me example how to stop or freez IWDG in STM32F407 ?

Thank you in advanced

    This topic has been closed for replies.

    2 replies

    AvaTar
    Senior III
    February 6, 2017
    Posted on February 06, 2017 at 14:29

    could you show me example how to stop or freez IWDG in STM32F407 ?

    This assumes that a running WDG can be stopped.

    This assumption is wrong. Once running, you need to 'feed' it constantly, or face reset.

    This 'feature' was/is discussed here occasionally. Perhaps a search would bring up previous, similar threads - if they didn't go lost during the Great Transition, or a former meltdown.

    waclawek.jan
    Super User
    February 6, 2017
    Posted on February 06, 2017 at 14:34

    AvaTar wrote:

     

    This 'feature' was/is discussed here occasionally.

    e.g.

    https://community.st.com/0D50X00009Xkdq7SAB

     
    Technical Moderator
    February 14, 2017
    Posted on February 14, 2017 at 13:14

    Hello

    ASSAAD.ASSAAD

    ,

    In STOP mode, once the watchdog is started, then it cannot be stopped except by a reset.

    According to the reference manual

    http://www.st.com/content/ccc/resource/technical/document/reference_manual/3d/6d/5a/66/b4/99/40/d4/DM00031pdf/files/DM00031pdf/jcr:content/translations/en.DM00031pdf

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

    Hope this helps you.

    Regards

    Imen

    You are an STM32 user and want to express your trust for our products and win a 3D printer?

    Get your chance participating in

    https://community.st.com/community/stm32-community/embedded-world-contest

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    ASSAAD.ASSAAD
    Associate III
    February 14, 2017
    Posted on February 14, 2017 at 19:47

    Thank you Imen ;

    My question is about standby mode ; is it same No way to freeze it or stop it ( standby not stop ) ?

    Regards

    Assaad

    Technical Moderator
    February 15, 2017
    Posted on February 15, 2017 at 09:36

    Hi ASSAAD,

    In Standby mode: once the IWDG is started, it cannot be stopped except by a reset.

    Regards

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks