cancel
Showing results for 
Search instead for 
Did you mean: 

why STM32f103C8 doesn't have Alarm option in CubeMX?

Daniel Hassanian
Associate III
Posted on December 11, 2017 at 17:13

Hello,

In STM32F103C8 it states that it's possible to have Alarm set and use the interrupts , however in CubeMX there's no option for generating the code like the Other MCU which have Calender as well.

Page 491 of  RM0008 States that there are also Alarm Registers. Is CubeMX missing this ?

0690X00000609ATQAY.png

#alarm #rtc
2 REPLIES 2
Imen.D
ST Employee
Posted on December 14, 2017 at 16:39

Hello,

Alarm option will be activate when you set RTC OUT to ''RTC Output on the Tamper pin''.

0690X00000609EQQAY.png

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on December 14, 2017 at 20:23

Thank you Imen for the reply,

What if I don't want to use the tamper pin?

what i'm trying to achive is to set an alarm for a specific time and put the MCU to sleep and wakeup with that alarm interrupt. so I don't need the tamper pin.

Obviously one solution is to just go with this and leave the tamper pin but I want to know if it's possible to be done without it like in the other MCUs