Skip to main content
Visitor II
August 2, 2023
Question

STM32WL55 RTC with epoch , subsecond conflict with lorawan stack

  • August 2, 2023
  • 1 reply
  • 891 views

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

    This topic has been closed for replies.

    1 reply

    ST Employee
    August 2, 2023

    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

    Visitor II
    March 25, 2025

    Hello @IIRHO.1 

    i tried using this but RTC is is not stable is ahead for 30 sec. is there exaplme which i can refer