Skip to main content
This topic has been closed for replies.

5 replies

ST Technical Moderator
Oct 19, 2021 2:08 PM UTC

Hello @DK.7​ 

I would suggest adding more details to your post in order to help you solve your issue.

Debug your project and try to identify where is it sticking.

What kind of issue do you observed? Do you get an error message ?

I advise you to check and follow the RTC example with STM32CubeF4 firmware:

STM32Cube_FW_F4_V1.26.2\Projects\STM324xG_EVAL\Examples\RTC\RTC_Alarm

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
DK.7
DK.7Author
Associate III
Oct 19, 2021 2:52 PM UTC

Thanks for the answer, I looked at the example but did not find solutions!

I thought if I will activate the interrupt for alarm of RTC and in the code to call the desired Callback, then the alarm clock will work ... But, not in my case and I do not understand why it is don work!

I will give any information. I just don't know what exactly you need to show. 0693W00000FD2LCQA1.png

DK.7
DK.7Author
Associate III
Oct 19, 2021 3:56 PM UTC

I think the reason why my alarm clock do not work, it is because, I do not have some setting!?!? see screenshot.

And so I have "RTC_OUTPUT_DISABLE" in my the code.

If I'm right, how to fix it is?0693W00000FD2zMQAT.png

ST Technical Moderator
Oct 19, 2021 5:08 PM UTC

Have you connected the EXTI line 17 to the RTC Alarm event ?

Did you set the following sequence correctly? (to enable the RTC Alarm interrupt)

0693W00000FD3SdQAL.png 

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
DK.7
DK.7Author
Associate III
Oct 19, 2021 5:56 PM UTC

No, and I do not know how to do it!