Resolved! Bug in LL_RTC_WaitForSynchro() function in stm32l1xx_ll_rtc.c?
I think there is a bug in the function LL_RTC_WaitForSynchro(). It waits for the RTC_ISR_RSF to become 0 (on row 15). I think this is a bug. It should wait for the RTC_ISR_RSF to become 1 as in the old STM32 Standard Peripheral Libraries. My code som...