Resolved! Hi, I am new to STM32. I am trying to get the RTC working on a nucleo F302R8 board. But the seconds are giving weird returns. I am not sure that minutes work properly either.
Here is the RTC initialization code:static void MX_RTC_Init(void){ /* USER CODE BEGIN RTC_Init 0 */ /* USER CODE END RTC_Init 0 */ RTC_TimeTypeDef sTime = {0}; RTC_DateTypeDef sDate = {0}; /* USER CODE BEGIN RTC_Init 1 */ /* USER CODE END RTC_Init 1 ...