I use an STM32L442 in my project. I use LSE for RTC and i also use LSECSS. Even though I used a battery in VBAT pin for RTC clock, the RTC values were lost when i powered it up. After a long debugging session i found that the microcontroller was detecting a LSECSS just before power down. I looked at LSE out pin and saw that there was a short transition at power down. I think this causes a LSECSS. How can i fix this issue?