cancel
Showing results for 
Search instead for 
Did you mean: 

cubemx bug report

harryzwh
Associate
Posted on August 08, 2016 at 05:31

Hi

I am using cubemx to config RTC of stm32L0. For the alarm mask configuration, if I select ''Alarm Mask Minutes'', in the generated code, only RTC_ALARMMASK_MINUTES is set. However, generally, if MINUTES is masked, time unit that larger than minutes (i.e. hours, date) should automatically be masked. In cubemx, there is no way to configure the AlarmMask like sAlarm.AlarmMask = RTC_ALARMMASK_DATEWEEKDAY|RTC_ALARMMASK_HOURS|RTC_ALARMMASK_MINUTES;

Could you correct me if I used cubemx in a wrong way.
1 REPLY 1
slimen
Senior
Posted on August 19, 2016 at 11:56

Hi,

Now withCubeMx version 4.16 and in RTC configuration window, it's possible toallowalarm mask with these parameters (None, Date Weekly day, Hours, Minutes, Seconds and All).

Regards