cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F745 - Disable Watchdog in Sleep mode

LJain.1
Associate II

Hello,

I am using STM32F745VEHx. I would like to disable the software independent watchdog before microcontroller goes into Sleep low power mode and then re-enable it once microcontroller comes out of Sleep. I can find literature which suggests this can be done for Standby using the option bytes but I cant find a way to do this for Sleep.

My question is, can this be done for Sleep? If yes, can you please explain the process of doing it?

Thanks,

Lakeri

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Diane POMABIA
ST Employee

Hi @[LJain.1] 

Independent watchdog is disable by default in all power mode but can be enable by software in all power mode.

You can find these information in Reference Manual RM0385 chapter 4 (Power controller).

If IWDG has been enabled, in sleep mode it will always work.

To enabled IWDG, you have to write 0x0000 CCCC in the IWDG Key Register(IWDG_KR).you can find more details about configuration of IWDG in reference Manual RM0385 chapter 27( Independent Watchdog)

This is the link to download Reference Manual:

https://www.st.com/resource/en/reference_manual/rm0385-stm32f75xxx-and-stm32f74xxx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf

Regards

Dianep