Skip to main content
oe2
Associate III
June 26, 2021
Solved

Problem with RTC and wakeup of stm32f103

  • June 26, 2021
  • 2 replies
  • 1769 views

I need help with standby mode and rtc wakeup.

If I set date/time and RTC-Alarm time, I don't get an RTC - interrupt.

I guess this is why the stm32f103 don't wake up from deep sleep.

Do anyone have an link (or code) to an example using RTC amd wakeup from standby mode? 

Best regards

Ola

This topic has been closed for replies.
Best answer by oe2

If someone stumbles across this thread in the future... Nearly every example found is using the std lib and not the "new" HAL libraries. I found this link with a lot of examples for stm32f103 "blue pill" boards for stm32cubeide, which is great!

https://github.com/miniwinwm/BluePillDemo

2 replies

Tesla DeLorean
Guru
June 27, 2021

Need to be using LSE to keep clocking

Should be multiple examples under the CubeF1 trees for various boards, either under PWR or RTC nodes

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
oe2
oe2AuthorBest answer
Associate III
June 27, 2021

If someone stumbles across this thread in the future... Nearly every example found is using the std lib and not the "new" HAL libraries. I found this link with a lot of examples for stm32f103 "blue pill" boards for stm32cubeide, which is great!

https://github.com/miniwinwm/BluePillDemo