Hey I am currently in the process of building my first gateway. As I use ic880a-spi, raspberry pi 4b and lora basics station, I use Building a gateway with Raspberry Pi and IC880A | The Things Stack for LoRaWAN as instructions for setting up the gateway. However I am facing some issues. Wiring, API Key, start.sh and station.conf files were created as described. When i start the gateway, i get the following error messages:
For me it looks like both tests had no errors. But since I am relatively new to lorawan and raspberry pi, I would appreciate any help to solve the problem or debug it properly.
Wouldn’t you think text output is easier to read as (formatted) text on the forum in stead of screen shots? Makes it searchable as well so anyone else with the same issue might find the message at a future date…
Sorry did not know about those tools. I will remember the next time thanks.
I think I have. The reset pin is set to BCM pin 25 in the start.sh file. As far as I know this is pin 22 of the Raspberry Pi. On the IC880a-spi concentrator side I have pin 13 connected to pin 22 of the Pi. I can reset the concentrator outside the start.sh script tomorrow and see if that would help.
If you are using wires like in the guide you refer to you should check the reset wire isn’t defective as well. You wouldn’t be the first to get burned by a faulty wire.
I have now replaced the wires, tried a reset before start.sh is executed and set a different GPIO pin from the Raspberry Pi as the reset pin but nothing has made a difference. Now I’m trying to reduce the spi speed to 2000000. But i only get an error. i’ll try again later and see where the error is.
Short update for others with the same error. The ic880a-spi concentrator does not work with a spi speed of 8 MHz. I had to reduce the speed to 2 MHz. Thank you @kersing for your help.
The need to lower the SPI speed might be caused by using wires in stead of a connecting PCB. I can’t recall having to reduce SPI speed for my ic880 based gateways.
However, if this works