RTC_EnterInitMode(hrtc) returns HAL_TIMEOUT. LSEState is ON and HAL_PWR_EnableBkUpAccess() is also called. How to solve this issue?
HAL_StatusTypeDef HAL_RTC_DeInit(RTC_HandleTypeDef *hrtc) function returns HAL_ERROR because RTC_EnterInitMode(hrtc) returns HAL_TIMEOUT. When checked in community, I can see solutions as to call HAL_PWR_EnableBkUpAccess(); before setting RTC functio...