Skip to main content
Daniel Hassanian
Associate II
December 11, 2017
Question

why STM32f103C8 doesn't have Alarm option in CubeMX?

  • December 11, 2017
  • 1 reply
  • 799 views
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
This topic has been closed for replies.

1 reply

Technical Moderator
December 14, 2017
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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Daniel Hassanian
Associate II
December 14, 2017
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