Skip to main content
anoli
Associate
Mar 25, 2019 10:32 AM UTC
Question

How to configure the RTC in stm32wb?

Hey everyone,

I'm using a stm32wb55 nucleo board.

When i'm using ST example about RTC, i have a problem with the accuracy of RTC and i want to know how i can configure RTC for increase her accurancy?

I.E.: all of 10 minutes i lose 6 seconds

Thanks in advance for any help.

This topic has been closed for replies.

3 replies

Uwe Bonnes
Chief
Mar 25, 2019 10:56 AM UTC

Does it lose time in a step or continuous? Do you run with LSE or some other clock? Why don't you give more information? In general, check your code and quarz!

anoli
anoliAuthor
Associate
Mar 25, 2019 12:19 PM UTC

It lose time in continuous and i use this clock configuration:0690X0000088pLrQAI.png

Uwe Bonnes
Chief
Mar 25, 2019 12:26 PM UTC

So check the quarz. Maybe it is 32 k and not 2^15. Or maybe the load capacitance is far off. Or it is broken...