2018-03-21 07:04 AM
Use the stop1+RTC routine of stm32l476, can't enter stop1 mode, LED light has been flashing, what's going on?
2018-03-23 03:46 AM
Hi
yanghui
,Are you using the
stop1+RTC example (STM32Cube_FW_L4_V1.0\Projects\NUCLEO-L476RG\Examples\PWR\PWR_STOP1_RTC) of the
package?-Nesrine-
2018-03-23 06:32 PM
I used this routine. The chip used was STM32L476RCT. This example uses the LED indicator PA.05, but I changed it to PA.15. I have tried all the routines to be normal. However, PWR_STOP1_RTC and PWR_STOP2_RTC were found and these two routines did not work.
Later I debugged, because the single-step run can only run to HAL_PWREx_EnterSTOP1Mode (PWR_STOPENTRY_WFI), this sentence; I found that after debugging, it can enter stop1 mode, but it can not wake up. If it is not debugged, it cannot enter stop1 mode.
I feel very strange, thank you for your attention!
2018-03-24 09:06 PM
I used this routine. The chip used was STM32L476RCT. This example uses the LED indicator PA.05, but I changed it to PA.15. I have tried all the routines to be normal. However, PWR_STOP1_RTC and PWR_STOP2_RTC were found and these two routines did not work.
Later I debugged, because the single-step run can only run to HAL_PWREx_EnterSTOP1Mode (PWR_STOPENTRY_WFI), this sentence; I found that after debugging, it can enter stop1 mode, but it can not wake up. If it is not debugged, it cannot enter stop1 mode.
I feel very strange, thank you for your attention!