STM32F3Discovery: RTC clock is late
Posted: Tue Nov 19, 2013 8:02 pm
I got an RTC clock working with ChibiOS/RT on my STM32F3Discovery, and I have an issue with it. The problem is that when I set the time at the device, in about five minutes the clock becomes late:
When some time passes, the RTC clock becomes even more late. What can I do in that kind of situation?
Code: Select all
#this is executed in ChibiOS console:
ch> time
current rtc time: 1384902068
which is 2013-11-19 23:01:08 MSK
# and this is executed in my shell @ the same time
$ date
Ð’Ñ‚. ноÑб. 19 23:01:13 MSK 2013
When some time passes, the RTC clock becomes even more late. What can I do in that kind of situation?