Skip to main content
Jeroen deBuffel
Associate III
January 27, 2023
Question

STM32L082 - IWDG - freeze downcounter in low power possible?

  • January 27, 2023
  • 1 reply
  • 840 views

Hi,

I am using the STM32L082 and looking for ways to have a watchdog implemented.

However during long periods of low power sleeps (e.g. 12 hours) I would like to freeze the IWDG downcounter.

Is this possible for the STM32L082?

Thanks

This topic has been closed for replies.

1 reply

ST Technical Moderator
February 7, 2023

Hi @Jeroen deBuffel​ 

Indeed, it is possible to freeze IWDG downcounter in low power mode. To do so, you need to enable Window Option. You may refer to the reference manual for more details. For code example, refer to A.13.2: IWDG configuration with window code example.

Note: after updating the prescaler and/or the reload/window value, there is no need to wait until RVU or PVU or WVU is reset before continuing code execution in case of low-power mode entry

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL