2023-05-19 03:01 AM
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
2023-05-26 08:37 AM
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:
Regards
Dianep