is there a clock in stm 32 that stays running even if the power is turned off at the MCU?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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?
- Labels:
-
Power
-
RCC
-
STM32L0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-27 12:58 AM
Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-27 1:47 AM
Suspend, running LSE from your supply/battery. Clock the RTC with that.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-27 1:54 AM
The problem is that STM32L0/STM32L1 series don't have VBAT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-27 1: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-27 1:58 AM
The electrons are going to need to come from somewhere
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-27 2:02 AM
Ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-27 7: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
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-27 1: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.
