cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 - Watchdog in STANDBY mode

Dams
Associate II

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.

4 REPLIES 4
Mohamed Aymen HZAMI
ST Employee

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
Associate II

Hello,

Thanks for support.

The microcontroller STM32F415 doesn't have this option bit.

Regards,

Mohamed Aymen HZAMI
ST Employee

Hello,

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

Best Regards,

Mohamed Aymen.

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

from which series above mentioned option available .