I’m assuming you are using an SX1301-based concentrator, maybe an RAK2247 or RAK2245. Given the error (SPI READ FAILURE) I would check several things, in order:
lower the SPI bus speed to 2000000 (2MHz instead of 8MHz), see if the LORAGW_SPI_SPEED env variable is available
double check the device is connected to /dev/spidev0.1
I would certainly try that. In my experience SX1301 concentrators struggle at 8MHz. Official basicstation code has the option to change the SPI speed via a environment variable, see:
But UPD packet forwarder also uses that library since that is the HAL for the SX1301.
Not sure what is going on here but since you said UDP packet forwarder was working OK for you I’d check that again to see what differences are there (library version? reset GPIO, SPI port,…)
I might be wrong since I don’t have experience with the Omega board, but according to the documentation there is no GPIO41… (Onion Omega2 | Onion Omega2 Documentation).
Not really… not sure what else to test. This error usually happens when the concentrator is not properly reset and that depends on the RESET_GPIO. If that’s OK it could be the concentrator type (corecell or not corecell), the port (/dev/spidev0.1 in your case) or maybe the concentrator stopped working…
I added new patch file to configure loragw library then basicstation works properly. Thanks for your all help. I have another issue btw
I can connect to ttn server using basicstation or udp_packet_forwarder but cannot connect to chirpstack server using basicstation and chirpstack gateway bridge. I do not know how to modify basicstation files and gateway bridge.toml for this.
From your UDP packet broker you just have to set the server to the IP or nomain name where the ChirpStack Gateway Bridge is running. The Bridge should be connected to the same MQTT broker the Network Server is connected to.
For Basic Station it’s a little more involved since you have to have a TLS certificate and key and a CA certificate (a known own or a self signed one).
There are quite a few options here to configure. I recommend you to read the documentation on the Bridge (Introduction - ChirpStack open-source LoRaWAN<sup>®</sup> Network Server) and also check out your current configuration (you can get it by running chirpstack-gateway-bridge configfile on the machine the bridge is running.