2024-05-28 06:03 AM
HI
I use the STM32U585 with HAL
This is my setting for time :
And for read time :
HAL_RTC_GetTime(&hrtc, &stime, RTC_FORMAT_BIN);
second=stime.Seconds;
minute=stime.Minutes;
hour=stime.Hours;
When I read time, time is One houre later that SetTime. How to correct this (The DST is not necessary because the time is synchronised with PC time each hour)
Thanks
Marc