2025-11-21 1:06 AM
Hi,
I'm running test on the Discovery board H573I-DK.
On a 24 hours period, I measure a 340 ppm precision that is far from the 20 ppm of the LSE Quartz.
Is it normal ?
2025-11-21 3:21 AM
Did the board run to slow? If yes, was the board running continious or did resets happen as caused by loading a new programm. It is quit easy to stop the RTC for some short period during programm startup while the startup code checks the status of the RTC.
2025-11-21 3:52 AM
Hello @emd64 and welcome to the community,
Refer also to this knowledge base: How to calibrate the STM32's real-time clock (RTC)
2025-11-21 4:10 AM - edited 2025-11-21 4:11 AM
> I'm running test
What test?
> I measure a 340 ppm precision
How do you measure that?
Read out and check/post content of RCC_BDCR and RTC registers.
Also, as @Uwe Bonnes said above, Cube/HAL used to (and may still do?) cause RTC to be delayed upon each reset.
JW