cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL RTC

Nayan1122
Associate II

Hello There 

i am using https://github.com/STMicroelectronics/STM32CubeWL/tree/main/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_FreeRTOS this example ,
in that there is timer used for sent the data , i want RTC for send data for particular time and all how can i do ???

5 REPLIES 5
Andrew Neil
Super User

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.

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

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.

Actually in Lorawan_end_Node_freertos example the RTC is conflicting with UTIL TImer so 

Standalone works

So what is the conflict?

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.