Skip to main content
FPicc.1
Associate III
June 19, 2023
Question

STM32WL: RTC stops LoRa from working

  • June 19, 2023
  • 2 replies
  • 2341 views

Hello guys, I'm currently working on a project with the STM32WL board, and using the LoRa application.

I'm having a problem with the RTC, what happens is that for the project I'm using the PingPong LoRa example, and I don't know exactly what is the internal configuration of it. For this reason, when I change the RTC mode from binary mode to BDC calendar and binary mode (because I need the date and time), the LoRa simply stops working, and I don't know why. Any ideia of what should I do?

    2 replies

    ST Employee
    June 22, 2023

    Hello, 

    I can't reproduce the example this week, but I looked at the example code. My first guess is that you didn't changed the alarm settings, by masking the day/hours/minutes and seconds of the alarm. If you are still blocked I can give you more details next week when I got my hands on two WLs.

    Have a nice one !

    FPicc.1
    FPicc.1Author
    Associate III
    August 16, 2023

    Hi, thanks for the reply. I tried chancing the alarm A settings, but I don't know what to change that'll make it work. Do you have any ideia?

     

    Associate II
    September 15, 2023

    Hello @FPicc.1 ,

    Hope you are doing well.

    Have you solved it? I have same issue.

    Visitor II
    February 10, 2025

    Hi, 

    Has anyone found any solution for this? I also need to use the RTC in both binary and BCD modes for timestamps, but when I enable RTC_BINARY_MIX, LoRa stops working.

    I’d appreciate it if you could share any progress or insights you’ve made on this issue.

    Thanks in advance!

    Best Regards,
    Samidha