Hello zhiyong zhang
Since the MCU is primarily woken with interrupts, it is important to check that the reset works properly. Adding an external circuit with pull up resistors and ground capacitors will be helpful. If the circuit is no wired correctly you may experience issues with the reset signal obtaining a saw-tooth signal which is not desirable.
If the peripheral is not configured correctly you may experience some issues. The busfault and hardfault will cause the MCU to stop. Additionally, it is important to check that the supply voltage is on the recommended values otherwise the MCU will have a weird behavior.
The MCU uses the 12MHz IRC oscillator to wake up the micro, it is important that it works properly. Although the internal oscillators are precise, the temperature changes will affect its performance.
Resuming, the most important aspects for the MCU wakeup are the oscillator, supply voltage on range and that the interrupt triggers correctly.
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar