Skip to main content
Dams
Associate III
February 13, 2019
Question

STM32F4 - Watchdog in STANDBY mode

  • February 13, 2019
  • 4 replies
  • 2654 views

Hello,

After reading some applications note I did't find the way to implement a watchdog for my case.

My case:

  • the MCU shall sleep during 12h
  • one function on Bluetooth stack in a .a (provided by TI) takes 1024ms
  • MCU is running at 48MHz

WWDG can't be used because some functions take more than 100ms.

I see that IWDOG can be stopped ?!

Somethime I have a problem with interrupt from UART and USB, MCU stay on these interrupt and my Main loop is not proceced...

How can I do to have a watchdog @ 5000ms disabled when I'm in STANDBY mode ?

Thanks for help.

This topic has been closed for replies.

4 replies

Mohamed Aymen HZAMI
ST Employee
February 15, 2019

Hello,

You can disable the IWDG when in standby mode only if you use an microcontroller with the option byte "IWDG_STDBY".

IWDG_STDBY:

  • If you set this option byte the independent watchdog counter is running in standby mode
  • If you reset this option byte the independent watchdog counter is frozen in standby mode

Best Regards,

Mohamed Aymen.

Dams
DamsAuthor
Associate III
February 15, 2019

Hello,

Thanks for support.

The microcontroller STM32F415 doesn't have this option bit.

Regards,

Mohamed Aymen HZAMI
ST Employee
February 18, 2019

Hello,

In order to exploit this feature, you must use a microcontroller with this option byte .

Best Regards,

Mohamed Aymen.

MMARI.1
Senior II
May 14, 2023

hi, please suggest me about product series name of option byte with i watchdog +standby availability

from which series above mentioned option available .