GPIO State Retention During IWDG/WWDG Reset on STM32H745ZIT3
Dear STM32 Community,
I am using the STM32H745ZIT3 microcontroller with STM32CubeIDE for firmware development.
I am facing an issue related to GPIO behavior during a watchdog reset.
When a warm reset is triggered by either the Independent Watchdog (IWDG) or the Window Watchdog (WWDG), all GPIOs are reset to their default state. In my application, I need certain GPIO outputs (such as relay control signals) to retain their previous state during a watchdog reset, or at least avoid changing state until the application reinitializes them.
Could you please clarify the following?
- Is it possible to prevent GPIOs from resetting during an IWDG or WWDG reset on the STM32H745ZIT3?
- Are there any software techniques to retain the GPIO output state across a watchdog reset?
- If GPIO retention is not supported, what is the recommended approach to prevent unwanted output glitches during a watchdog reset?
Any guidance, application notes, or recommended design practices would be greatly appreciated.
Thank you for your time and support.
Best regards,
sai chandu
