2018-03-04 10:57 PM
Hello there,
I am using an STM32L4 family MCU. In an application, the RTC peripheral is utilized and clocked from an external crystal:
The problem I have noticed just now is that with time, the RTC timer looses sync. It is not easy to notice in short periods of time, but after leaving the application to log time for entire weekend, I noticed that the RTC timer is over 20 minutes later after my PC timer (they were both synced before the weekend).
What could be the cause of this problem? Its hard to believe for me that the RTC timer is simply this low precision, as I am using an external crystal. I would appreciate all help.
#precision #stm32l4 #rtc Note: this post was migrated and contained many threaded conversations, some content may be missing.2018-03-19 05:27 AM
See AN4013, chapter 2.4 for reciprocal frequency counter + Nucleo + Display shield = Nice frequency counter.
Theo.
2018-03-19 05:37 AM
Hello JLuc,
Please find extract from STM32L4 training material related to clock sources parameters, including their accuracy.
Regards
Szymon