Associate II
June 17, 2024
Solved
RTC Timer
- June 17, 2024
- 4 replies
- 4858 views
Hello everyone,
I am using an STM32L152RE board to generate a delay using the RTC as a timer. I would like the onboard LED to blink every 10 seconds. I have tried using a delay via a timer and am now trying to implement the same functionality using the internal RTC.
I have configured all the ports and selected the appropriate clock, i.e., LSE. Below, I have attached the main file. Although the RTC is running, there is no change in the LED. Can you please help me with this issue?
Thank you,