STM32F072,使用HAL库。按键中断进出STOP模式,不开启WWDG时,一切正常。开启WWDG窗口看门狗,使能中断,正常喂狗可进stop模式。但是从stop模式唤醒后,程序不正常。不知道从stop模式中唤醒后,该怎么操作WWDG。是重新初始化还是只清除计数值,菜鸟求助各位大大,不胜感激
STOP模式唤醒后,时钟恢复成默认值,所以需要重新初始化。
How do you slove this problem ? thanks a lot.
when the cup needs the WWDG ewi wakeup , it is already in the edge of the system reset.
So i guess it does not work to feed the wwdg before entering stop mode.
However , what about feeding the wwdg before quiting the STOP Mode ?