Skip to main content
Associate III
October 12, 2023
Solved

Setting up RTC (Real Time Clock) & One Second Alarm using STM32hxxx and CubeMX

  • October 12, 2023
  • 2 replies
  • 3742 views

aahsan_0-1697077304172.png

I am using above settings and functions for RTC and One Alarm, also attached with this post as RTC_and_One_Second_Alarm_Setup_using_STM32hxxx.pdf, please review and let me know if you see any issue. Thanks in Advance.

This topic has been closed for replies.
Best answer by aahsan

Trying to collect the information which is spread around and put it up in a single thread.

2 replies

aahsanAuthorBest answer
Associate III
October 12, 2023

Trying to collect the information which is spread around and put it up in a single thread.

KDJEM.1
Technical Moderator
October 13, 2023

Hello @aahsan ,

I recommend you, when you configure the RTC Alarm with interrupt using STM32CubeMX, to follow the steps shared in Getting started with RTC - stm32mcu Wiki. The aim of this wiki is to explain  how to setup RTC with interrupt in STM32CubeIDE and how to create a simple RTC project with periodic alarm interrupt.

Also, I think that this example  STM32CubeH7/Projects/NUCLEO-H723ZG/Examples/RTC/RTC_Alarm at master · STMicroelectronics/STM32CubeH7 · GitHub can help you.

I hope this answer your request.

Thank you for your contribution in STCommunity :).

Kaouthar

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.