while reading the rtc not providing proper date after the RTC date & time set. how to fix it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 12:30 AM
in stm32f407vgt,
i declared the RTC structures and set the RTC with date: 1,1,70 and time: 0:0:0
later i set RTC with new values (date: 4,3,22 and time: 10:55:28)
after few minutes if i read the RTC it giving a time properly but date is wrong (i,e. 1,1,70)
how to fix this issue?
Solved! Go to Solution.
- Labels:
-
RTC
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 5:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 5:36 AM
Show the code you're using, gotta be a bug somewhere. Verify after setting new values that they have taken effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 5:58 AM
You have to read date *after* time.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-06 9:27 PM
thank you this is working
