Judicael
Judicael
Hi @ASELSTM, I use STM32U5Cube. I didn't find the STM32CubeU5 repository on github. This is why I posted it here. But the issue is for STM32U5. Any idea? Thanks. Best...
Hi, Thanks for the solution, it works but the function getTime sometimes retuns 00:00:00. Any idea?
@ALABSTM I confirm that. The problem has been solved by: __HAL_RTC_WRITEPROTECTION_DISABLE(&hrtc); if (HAL_RTC_WaitForSynchro(&hrtc) != HAL_OK) { Error_Handler(); } __HAL_RTC_WRITEPROTECTION_ENABLE(&hrtc); before the fonctions getDate and getTime. Thanks.