AnsweredAssumed Answered

Store RTC date into Backup Register

Question asked by Fede Rico on Oct 25, 2017
Latest reply on Oct 27, 2017 by Mohammad A

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!

Outcomes