Page 1 of 1

RTC losing time

Posted: Sat Oct 03, 2020 11:03 pm
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?

Re: RTC losing time

Posted: Sat Oct 03, 2020 11:51 pm
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.
...

Re: RTC losing time

Posted: Sun Oct 04, 2020 8:03 am
by GonzoG
If you use built-in RTC and board like blue pill, then remove PC14 and PC15 pins.