Old date and time on STM32H753 RTC after some days
I'm using STM32H753 on my board and the RTC to get date and time. I'm using the HAL library generated with STMCube. I have set the date and time and the RTC works fine keeping the date and time up to date. The problem is that after more or less 8 days that the board has been turned off, the RTC no longer updates the date and time and when I turn on the board, from the RTC I read an old date. On power up the INITS and RSF bits are set to 1 so the RTC indicates it is initialized and ready, but in this case shouldn't it indicate it has lost the date ? Shouldn't it have the default date and time (1/1/2000) ?
Is this the correct behaviour or there is something that I missed in the RTC configuration or in the check at power on before using RTC ?
Thank you