Skip to main content
Dat Tran
Senior II
November 26, 2019
Question

RTC runs slower 2 second / 5 minutes after disconnect power

  • November 26, 2019
  • 3 replies
  • 1089 views

We are using LSE 32,768. RTC looks like runs correctly if power is on. But if we disconnected power, RTC still hold data but run slower, about 2 seconds / 5 minutes.

We changed new battery, even used power supply to feed vbat pin, same issue.

I tried ST example on Nucleo STM32H743ZI too (enabled RTC_CLOCK_SOURCE_LSE), with / without removing SB156, same issue.

Thank for any suggestion.

This topic has been closed for replies.

3 replies

TDK
Super User
November 27, 2019

2s per 5min is about 7000ppm, which is way outside of what any crystal will promise.

Are you sure you're using the LSE and not the LSI? Check the relevant register values after configuring and post them.

"If you feel a post has answered your question, please click ""Accept as Solution""."
waclawek.jan
Super User
November 27, 2019

Cube/HAL "RTC initialization" bug?

https://community.st.com/s/question/0D50X00009XkgBWSAZ/stm32-rtc-loses-one-second-after-each-reset

Does the delay increase with number of powerdowns? Does it increase with the power off time, with only one powerdown?

JW

Dat Tran
Dat TranAuthor
Senior II
April 19, 2020

it was that. The forum is really useful.

Thanks a lot.