Skip to main content
anoli
Associate
March 25, 2019
Question

How to configure the RTC in stm32wb?

  • March 25, 2019
  • 3 replies
  • 1161 views

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
March 25, 2019

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
March 25, 2019

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

Uwe Bonnes
Chief
March 25, 2019

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...