2019-01-22 02:59 AM
Hi, I'm using latest FW STM32Cube_FW_L4_V1.13.0 and the PWR_STOP2_RTC example seems to fail waking from sleep mode. It goes to sleep after 5 s alright and power consumption drops from cca 11 mA to 4 uA but after cca 33 s, as stated in readme, nothing happens, only power consumption rises a little bit to 141 uA. I tried two NUCLEO-L452RE boards and a custom PCB featuring STM32L462RE and the behavior was the same.
Could someone replicate this behavior as to confirm my observation or what can I do to get it working??
Thanks.
Solved! Go to Solution.
2019-01-24 12:46 AM
Hello Jirka,
You can try adding this line "__HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT();" in the stm32l4xx_hal_rtc_ex.c on line 915 before this function "__HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE();"
Please keep us informed about your progress on this issue.
Best Regards,
Mohamed Aymen.
2019-01-24 12:46 AM
Hello Jirka,
You can try adding this line "__HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT();" in the stm32l4xx_hal_rtc_ex.c on line 915 before this function "__HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE();"
Please keep us informed about your progress on this issue.
Best Regards,
Mohamed Aymen.
2019-01-24 03:23 AM
Hello Mohamed,
great, it's working now. Thanks for the assistance.
Jirka