RTC problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 11:59 PM
Hello
I have RTC problem using LSI clock.
This issue don't work RTC.
I see that SSR is change. but don't change TR.
But When IAR debug configure, RTC is working.
My MCU is STM32F429
My Config code is blew
Could you find a wrong initialize code?
- Labels:
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-20 12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-22 4:40 PM - edited ‎2024-09-22 9:59 PM
hello waclawek.jan
When I read the RTC time using the HAL_RTC_GetTime function,
the RTC was not read, so I confirmed that it was operating normally
when I entered iar jtag debug mode.
However, it was confirmed that when not in jtag mode,
TR does not change and only SSR changes.
This was confirmed through uart that only SSR changes by directly reading the register.
Are there any problems with the RTC initialization code?
Can't I use the HAL_RTC_Get function?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 1:42 AM
After HAL_RTC_GetTime() use HAL_RTC_GetDate().
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 7:56 PM
Thank you.
RTC working!!!
