RTC TimeStamp
I use:
STM32Cube_FW_F4_V1.27.1
and CubeMx 6.9.0
I have a problem with the function HAL_RTCEx_GetTimeStamp(&hrtc, &RtcTimeTimeStamp, &RtcDateTimeStamp,RTC_FORMAT_BIN); it always returns the value 0 for the year, the other values are correct.
In the function I find:
/* Fill the Date structure fields with the read parameters */
sTimeStampDate->Year = 0U;
sTimeStampDate->Month = (uint8_t)((tmpdate & (RTC_TSDR_MT | RTC_TSDR_MU)) >> RTC_TSDR_MU_Pos);
