cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL55 RTC with epoch , subsecond conflict with lorawan stack

anandhu_us
Associate

Hi, 

when configuring the Lora stack it requires RTC in free running mode along with some alarms. I am looking for ways in which I can get epoch time in my application layer. 

Thank you for any comments on this

Regards

1 REPLY 1
IIRHO.1
ST Employee

Hello @anandhu_us and welcome to ST Community.

To get epoch time, I suggest you to take a look to the .ioc file of the project using CubeMX last version. Go to RTC configuration and change the bin Mode to Free running BCD calender and binary mode. Then, Check all general and calendar time parameters.

I hope this help you.

Best Regards.

Issam

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.