RTC losing time

Post here first, or if you can't find a relevant section!
Post Reply
sigi
Posts: 57
Joined: Mon Sep 28, 2020 3:17 pm

RTC losing time

Post by sigi »

Yesterday I get the VBat pin working properly but overnight the RTC loose 8 minutes! There is any way to solve that problem?
mrburnette
Posts: 633
Joined: Thu Dec 19, 2019 1:23 am
Answers: 7

Re: RTC losing time

Post by mrburnette »

https://github.com/rogerclarkmelbourne/ ... issues/572

PDF: https://www.st.com/resource/en/applicat ... ronics.pdf
commented on Nov 5, 2018
... I have 6 STM32F103C8 units and have tested them all with the same sketch. 3 run slow, two run fast and one seems to be keeping step with the DS3232 RTC. Strikes me it's a variation in crystal frequency and not the RTClock library.
...
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 26
Location: Prudnik, Poland

Re: RTC losing time

Post by GonzoG »

If you use built-in RTC and board like blue pill, then remove PC14 and PC15 pins.
Post Reply

Return to “General discussion”