2020-04-26 12:08 PM
Hello
for my application I use STM32L0, and I want to retrieve the exact date without changing it every time I turn off the power. Is there a timer that was triggered on the production day of the STM MCU that will allow us to retrieve the date?
2020-04-26 12:46 PM
No clock can run without power.
The RTC clock can run on minimal power from the VBAT supply, if you configure it correctly.
> Is there a timer that was triggered on the production day of the STM MCU that will allow us to retrieve the date?
No.
2020-04-27 12:58 AM
Thank you very much
2020-04-27 01:47 AM
Suspend, running LSE from your supply/battery. Clock the RTC with that.
2020-04-27 01:54 AM
The problem is that STM32L0/STM32L1 series don't have VBAT.
2020-04-27 01:54 AM
@Community member . But the problem is that in my application, i turn off /ON the power . is that will Reset the RTC clock?
2020-04-27 01:58 AM
The electrons are going to need to come from somewhere
2020-04-27 02:02 AM
Ok
2020-04-27 07:57 AM
That's not the physics in my part of the universe.
The L series parts are designed to run off batteries, and that can be used to power the "lower power domain" of the IC which in turn can clock the LSE crystal.
You'd probably want to look at the SNAPHAT/CAPHAT devices for a persistent and self-sustaining clock source
2020-04-27 01:11 PM
> Is there a timer that was triggered on the production day of the STM MCU that will allow us to retrieve the date?
> Ok i thought that quartz doesn't need power supply
Yes, they have a special perpetuum mobile edition for those, who don't waste their time on physics and other foolish things. Also it has an absolutely perfect accuracy and stability, therefore it always has the correct time.