2025-01-14 06:43 AM
Follow on from:
To be able to configure the RTC Alarm in CubeMX, you have to enable it in CubeMX.
This means that all the configuration - of both the RTC itself, and the alarm - will be done in the MX_RTC_Init function - whereas I'd have thought it more likely that you'd want to configure and start the RTC itself separately from setting an alarm?
ie, you configure & start the RTC at startup, but you don't set the Alarm until some time later - when it's needed.
Is there a way to do that in CubeMX ?
(I'm using F0, but this seems to be general Cube MX behaviour - not specific to any series)
2025-01-15 03:23 AM - edited 2025-01-15 03:23 AM
Hello @Andrew Neil,
I believe this is also related to this posted created by @TDJ : Re: CubeMX RTC config issues - STMicroelectronics Community?
I have already submitted a ticket regarding this behavior!
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.
2025-01-15 03:54 AM
Yes, that looks very similar!