STM32 Backup registers have aging effect like FLASH memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-03 6:30 AM
Hi,
i'm needing to save the date and time on RTC backup register constantly (like once every second) in order to restore the saved time if the MCU was reseted, but im not sure if this registers could be written so constantly.
Solved! Go to Solution.
- Labels:
-
RTC
-
STM32F1 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-03 6:57 AM
They are just SRAM, small array, and within the low power domain
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
‎2022-09-03 6:57 AM
They are just SRAM, small array, and within the low power domain
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
‎2022-09-03 8:15 AM
> in order to restore the saved time if the MCU was reseted
Just use the RTC main counters. RTC can even run from HSE, if that's what you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-03 8:26 AM
What's the point of reading back the time from some place if you can't know when that information was actually filed?
If the reset takes six hours (extreme example) because of a power failure during the night, for example, the time read back should be completely irrelevant, right?
Regards
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-03 8:45 AM
Well it's just a 32-bit counter, basing in on a 1970's epoch doesn't make a whole heap of sense.
But there are things like GPS which has a ~19 year (1024 week) roll over, and some time a useful characteristic of time is that it's doesn't go backward, here at least, so you can keep moving forward an earliest possible time marker so it can better manage whatever 19 or 68 year windows you're within.
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
‎2022-09-05 5:12 AM
Yes, that's right. I only considered small reset events for this case.
Thanks
