2019-05-13 06:10 AM
I use dual flash bank in STM32L4. I perform a flash bank switch by programming bit BFB2 in OPTR.
Sometimes, after the new software has started, RTC seems to be returned to reset state: date and time are lost and RTC internal registers are cleared! In spite of the fact that a battery is present and an external clock is provided.
Date and time are correctly preserved on power cycle.
Is it as expected? have I to perform some programming on RTC before switching to the new software?
Thanks and regards
2019-05-13 06:26 AM
MCU is STM32L486RGT6.