Skip to main content

5 replies

Andrew Neil
Super User
Jan 21, 2026 9:59 AM UTC

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
Jan 21, 2026 10:01 AM UTC

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
Jan 21, 2026 10:12 AM UTC

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.