Resolved! RTC is getting set off by 1hour in STM32U5. I am using Nucleo board and I am checking the RTC behavior in STOP3 mode of stm32u5.
#include "main.h" #include <stdio.h> #include <string.h> RTC_HandleTypeDef hrtc; UART_HandleTypeDef huart1; /* USER CODE BEGIN PV */ #define UartHandle &huart1 #define RtcHandle &hrtc static uint16_t YearStart = 2000; char message[50]; uint8_t ...