Skip to content

STM32 RTC clock with attached battery freeze when power is off  #22

@HamidSaffari

Description

@HamidSaffari

Hi, there. I read somewhere that you don't implemented the LSE yet to clocking the RTC from low speed oscillator. and it did not work neither when I even set it to "rtc.setClockSource(STM32RTC::LSE_CLOCK);" .
But by using this library it works like a charm: https://github.com/ZulNs/STM32F1_RTC
It allows to use the RTC functionalities of STM32F1xx based boards using external low speed oscillator (LSE). and keep continuing the counting after VDD is out with attached RTC battery.
I just want to inform you that maybe it save you times and use it's code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions