fix STM32f103 __WFI function gives hardfault_handler
Hello,
I enter stop mode using HAL_PWR_EnterSTOPMode and the processor come out of this function immediately and does not wait for any external interrupt. can someone help me on this?
Hello,
I enter stop mode using HAL_PWR_EnterSTOPMode and the processor come out of this function immediately and does not wait for any external interrupt. can someone help me on this?
I had examples on the F1 a decade ago, kind of moved on since then.
You might want to glance over the assorted examples in the CubeF1 trees
STM32Cube_FW_F1_V1.8.2\Projects\STM32F103RB-Nucleo\Examples\RTC\RTC_Alarm
STM32Cube_FW_F1_V1.8.2\Projects\STM32VL-Discovery\Examples\PWR\PWR_SLEEP
STM32Cube_FW_F1_V1.8.2\Projects\STM32VL-Discovery\Examples\RTC\RTC_LowPower_STANDBY
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.