I'm using STM32L433 and what happens on rare occasions is that the RTC somehow gets corrupted and runs at 60% of its normal speed. Software resets do not fix the problem. I finally figured this out, it requires a backup domain reset. This is the code...