2025-05-05 8:59 AM
Hy every one,
I'm facing up the WWDG usage on a STM32H755 MCU.
I noticed that WWDG peripheral has 2 interrupts: normal one and the early wake-up EWI one.
What is the difference?
Manual is not clear!
Thanks in advance
2025-05-05 10:12 AM
What is the "normal" interrupt? where have you seen it?
2025-05-05 10:58 AM - edited 2025-05-05 11:00 AM
Hi,
manual is ok.
The "normal" action is on counting down to 0x3F -> reset cpu.
Just, if enabled, at 0x40 you get the early wake-up INT : now you can decide, to stop/prevent the reset for now, by writing/reload the WWDG counter; maybe a time consuming action, like writing to a sd-card, needs unknown millisecs more, so by using a flag you can stop the WWDG reset for some time; after this is finished, clear your flag and dont write the WWDG counter, so it will reset the cpu, if no reload the WWDG counter happens in time.
So the early wake-up INT can be the (only) way, to stop the WWDG - if you need this.