packet_forwarder icon indicating copy to clipboard operation
packet_forwarder copied to clipboard

RaspberryPi Gateway with SX1257

Open kungfupizza opened this issue 5 years ago • 1 comments

Hello, I am using a LoRaWAN concentrator based on the design of Will Whang. I have set it up using this link which uses this as packet_forwarder.

The hardware connections are properly done with RESET on GPIO25 of the Rpi and SPI host but I am getting an error as below, image

I have run various tests as in the packet forwarder and results as below, image

image

Can someone please let me know what is going wrong?

kungfupizza avatar Feb 19 '20 08:02 kungfupizza

Most Likely that's a problem with: https://github.com/Lora-net/lora_gateway have a look at the issues there and you are going to see your problems all over. Typical problems / fixes:

  • Concentrator does not reset properly -> Change Reset pin if wrong Pin is used and insert a delay between the pin toggle of the reset
  • The SPI frequency of 8MHz is way to high. Depending on the implementation 1-2MHz seem to be the "somewhat" stable configuration
  • Sometimes the raspberries can have some odd behavior in regards of their SPI configuration.

The lora_gateway has a utility to test the SPI communication. Use it until (almost) no errors occur.

Edit will127534 has git repos with already patched forwarder and gateway.

joau-mms avatar Feb 25 '20 13:02 joau-mms

Thank you for your inquiry.

Customers are encouraged to submit technical questions via our dedicated support portal at https://semtech.force.com/ldp/ldp_support.

We invite all users to visit the LoRa Developer Portal Forum at https://forum.lora-developers.semtech.com and to join the thriving LoRa development community!

smtc-bot avatar Sep 30 '22 12:09 smtc-bot