Question
Store RTC date into Backup Register
Posted on October 25, 2017 at 12:09
Hi there,
I'm using the RTC on my STM32F103 to keep the date and time but when I reset the MCU the date is lost.
I know that this behaviour is due to the RTC implementation ( it uses a counter ).
To prevent the date loss, I think to store the date into one or more backup register.
My date is composed by 3 byte (Year, Month and Date).
Could any one provide me a example about how to solve my problem?
Thanks!
#rtc-time-and-date #backup-registers #rtc-backup Note: this post was migrated and contained many threaded conversations, some content may be missing.