CubeMX 6.1.0 RTC alarm init bug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 10:53 AM
Hi,
I noticed that if I enable an alarm for the RTC using CubeMX 6.1.0 with date/weekday mask enabled, it results in this line being generated:
RTC_AlarmStruct.AlarmMask = RTC_ALARMMASK_DATEWEEKDAY
However, that flag is undefined. In my case, it should be:
RTC_AlarmStruct.AlarmMask = LL_RTC_ALMA_MASK_DATEWEEKDAY
(This is with L4_V1.16.0 and LL drivers, targeting an STM32L475, if that matters.)
Solved! Go to Solution.
- Labels:
-
RTC
-
STM32CubeMX
-
STM32L4 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 11:37 PM
Hi @a.gajdacs​ ,
Thanks for your feedback, you're right ! Issue will be fixed.
Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 4:49 PM
"RTC_ALARMMASK_DATEWEEKDAY" is defined in HAL drivers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 5:05 PM
Good point! I forgot to mention that I'm using LL drivers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 11:37 PM
Hi @a.gajdacs​ ,
Thanks for your feedback, you're right ! Issue will be fixed.
Khouloud
