Associate II
August 17, 2022
Solved
Can't wake up after STOP Mode
- August 17, 2022
- 1 reply
- 1742 views
In the case of normal wake-up, about 6~7 mA current is consumed and 100~250uA is consumed when going into stop mode.
Sometimes, it cannot wake up from stop mode when it consumes about 1.6 to 1.7 mA
Here is my code:
HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, g_sleep_time, RTC_WAKEUPCLOCK_CK_SPRE_16BITS);
HAL_SuspendTick();
HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);
HAL_ResumeTick();
HAL_RTCEx_DeactivateWakeUpTimer(&hrtc);
SystemClock_Config();
I attached schematic.
plz, help me.
