Resolved! I am using an STM32H743 user board with STMCubeIDE. I want to use the internal RTC calendar with the internal clock (LSI). Q: first power on clock start 17:20:00 then time is going. For example, when time is 17:20:50 suddenly I power off the
MX_RTC_Init(); if (HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DRX) != 0X2233) { printf(" Set Date and Time \r\n"); SetDateTime(); }void SetDateTime(void) { RTC_TimeTypeDef sTime = { 0 }; RTC_DateTypeDef sDate = { 0 }; /* USER CODE BEGIN Check_RTC_BKUP */ /*...