问题解决了,需要清除SLEEPDEEP bit of Cortex System Control Register:
// Cortex System Control register address
#define SCB_SysCtrl ((uint32_t)0xE000ED10)
// SLEEPDEEP bit mask
#define SysCtrl_SLEEPDEEP_Set ((uint32_t)0x00000004)
// Clear SLEEPDEEP bit of Cortex System Control Register
*(__IO uint32_t *) SCB_SysCtrl &= ~SysCtrl_SLEEPDEEP_Set;