Is it possible RTC on STM32H7 loses 1 second on each power cycle?
My setup is STM32H745I-DISCO board with VBAT connected to a 3V2 battery (solder bridge removed).
Here's my clock configuration:

When I set up the date and time with my UI and then watch how it ticks in real time - nothing happens. I mean - it holds time without problems.
Then I power the device off, wait a minute or two, power it back again - the time lags exactly 1 second. I repeated the test a couple of times, each time losing a second. Then I tried just resetting the device - it seems to work exactly the same - a second "eaten", so the lag increases each restart.
What's interesting, when the timer IRQs were set to 5 priority (like I wanted to call RTOS functions from ISRs) - the clock seemed to not work properly at all, it was hardly ticking. So I removed RTOS priority and set RTC IRQ to zero priority and it doesn't lag during normal device operation.
My question: how to remove the restart lag beside just pushing the clock forward one second on each start? Is there something in HAL I should check?
