LoRa Node based on STM32F103C8 is hanging
Posted: Wed Nov 17, 2021 9:06 pm
Hi!
We are having a problem in our node that is hanging in the joining proccedure.
We are using a STM32F103C8 with a RFM95W module.
STM32duino core. Library: Beelan-LoRaWAN https://github.com/BeelanMX/Beelan-LoRaWAN/.
Frequency plan: AU915
GW: RAK2245 (Chirpstack GatewayBridge+Network Server+App Server all runnning in the same Rpi).
The problem happens randomly after restarting the node by software, and trying to do the join process. We tried to use timeout interrupts within the join process and it was not useful either.
It is as if the micro was completely left frozen even the timers.
I attached images of the JoinRequest payload and the payload error and a script with the main code.


Code: https://drive.google.com/file/d/1XxzYuG ... ZBvMA/view
I´m really stuck and I don´t know how to proceed.
Thanks a lot in advance!
Parradan.
We are having a problem in our node that is hanging in the joining proccedure.
We are using a STM32F103C8 with a RFM95W module.
STM32duino core. Library: Beelan-LoRaWAN https://github.com/BeelanMX/Beelan-LoRaWAN/.
Frequency plan: AU915
GW: RAK2245 (Chirpstack GatewayBridge+Network Server+App Server all runnning in the same Rpi).
The problem happens randomly after restarting the node by software, and trying to do the join process. We tried to use timeout interrupts within the join process and it was not useful either.
It is as if the micro was completely left frozen even the timers.
I attached images of the JoinRequest payload and the payload error and a script with the main code.


Code: https://drive.google.com/file/d/1XxzYuG ... ZBvMA/view
I´m really stuck and I don´t know how to proceed.
Thanks a lot in advance!
Parradan.