Question
After standby LSE not work
I'm using the STM32G030FP6 in standby mode with WKUP2 for wakeup and the system has a backup battery. I'm facing the following issues:
- When using the LSI clock, standby entry and WKUP2 wakeup work normally.
- When using the LSE clock, after entering standby and then waking up with WKUP2, the LSE fails to oscillate. I've already extended the timeout period to 10 seconds, but after a reset, the LSE still does not oscillate, and the system gets stuck at the LSE clock initialization part and reports a hardfault. The LSE starts up normally the first time the system is powered on, but once it goes into sleep mode, the LSE cannot start up again. I referred to the standby routine in the LL_example, which only includes the LSI clock mode, with no LSE clock mode. Is there a demo for the LSE clock mode, or did I miss some configuration?
