2024-01-26 01:37 AM
I use the NUCLEOH563-ZI board and I want to use RTC. I configured the RTC with the LSI clock. I loaded a default date/time. On the other hand, my time does not change...
My Init code :
My source code to retrieve the time
Thank you for your help !
Ghislain
Solved! Go to Solution.
2024-01-26 02:04 AM
Hello @Ghislain_Clement,
Please check if the RTC_TR and RTC_DR registers get updated
Also, you may want to check: STM32CubeH5/Projects/NUCLEO-H563ZI/Examples/RTC/RTC_LSI
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-01-26 02:04 AM
Hello @Ghislain_Clement,
Please check if the RTC_TR and RTC_DR registers get updated
Also, you may want to check: STM32CubeH5/Projects/NUCLEO-H563ZI/Examples/RTC/RTC_LSI
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-01-26 03:06 AM
THANKS ! I found the solution. I initialized the time before the date and it works.
2024-01-26 03:12 AM
Great! I guess it turned out to be this gotcha!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-01-26 03:16 AM
I missed this information ;)
Thanks again !
Ghislain