RTC Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-26 1: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.
- Labels:
-
IAR
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-26 2: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-26 2: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-26 3:06 AM
THANKS ! I found the solution. I initialized the time before the date and it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-26 3: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-26 3:16 AM
I missed this information ;)
Thanks again !
Ghislain
