cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F777 RTC not working accurately

HBatr
Associate II

I was using stm32f429 and ported my code to stm32f777. In F429 the rtc was working accurately but in F777 it is lagging by about 1hr a day approx. The hardware is same for both the MCUs and using the internal RTC

6 REPLIES 6

What do you mean by "internal RTC"? Do you use LSE as RTC clock source, and have a 32.768kHz crystal connected?

JW

T J
Lead

Use a proper chip for time of day...

this one is good for less than 2Minutes error per year !

DS3231

HBatr
Associate II

yes, i am using LSE as RTC clock source, and have a 32.768kHz crystal connected.

Sounds like you've got the prescalers set wrong.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
HBatr
Associate II

But RTC was working fine in STM32f429 with same settings

Ok, so why do you need our help?

Perhaps route LSE out the MCO pin and scope it to confirm frequency. ​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..