Skip to main content

1 reply

Andrew Neil
Super User
January 21, 2026

I would start by looking at examples to use the RTC.

Get one/some of them working to understand the RTC.

Also read the Reference Manual section on the RTC.

See also Application Note AN4759, "Introduction to using the hardware real-time clock (RTC) and the tamper management unit (TAMP) with STM32 MCUs"

via: https://www.st.com/en/microcontrollers-microprocessors/stm32wl55jc.html#documentation

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Nayan1122Author
Associate
January 21, 2026

in the example of FreeRTOS_End_Node i am unable to initialize RTC if you provide me example for that its very good for me

Andrew Neil
Super User
January 21, 2026

Before trying to add it to some other project, have you got it working in a simple, standalone example?

Always best to start simple to gain understanding.

Once you've got that, you'll have a working example for reference ...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.