Search found 2 matches

by Jan Erik
Mon Mar 22, 2021 1:29 am
Forum: STM32F4 based boards
Topic: STM32F407VET6 Black: RTC not keeping time
Replies: 3
Views: 6678

Re: STM32F407VET6 Black: RTC not keeping time

Thanks to GonzoG and ag123.

The missing ingredient was

Code: Select all

 rtc.setClockSource(Source_Clock::LSE_CLOCK ); 
 
I'm now off and running.
Jan Erik
by Jan Erik
Sun Mar 21, 2021 5:35 pm
Forum: STM32F4 based boards
Topic: STM32F407VET6 Black: RTC not keeping time
Replies: 3
Views: 6678

STM32F407VET6 Black: RTC not keeping time

The problem: with a battery in place, the RTC doesn't keep time when power is removed. Am I wrong in thinking that the RTC should keep time on battery power alone? From other posts on this forum, I realize that I can't expect a very accurate clock but I had assumed that it would keep running when un...

Go to advanced search