Hello,
I am using a RAK833 concentrator from RAK Wireless (the one with only SPI and no USB) wired to a Raspberry Pi 3 Compute Module.
I’ve followed nrdmtt’s tutorial here : RAK833 - Packet forwarder, and I have updated the loragateway/liblora/library.cfg configuration file to use native SPI instead of USB.
I’m trying to use the util_spi_stress utility without success, here is the verbose log referring to an unexpected chip version. Here is the verbose log :
pi@raspberrypi:~/repo/lora_gateway $ ./util_spi_stress/util_spi_stress
INFO: Starting LoRa concentrator SPI stress-test number 1
Note: SPI port opened and configured ok
Note: SPI read success
lgw_connect:532: INFO: no FPGA detected or version not supported (v0)
Note: SPI read success
lgw_connect:555: ERROR: NOT EXPECTED CHIP VERSION (v2)
ERROR: lgw_connect() did not return SUCCESS
The only solution I’ve found so far is to change the expected chip version to 2 in loragateway/liblora/src/loragw_reg.c in the loregs structure, to make the utility work properly.
Can anyone please help me find why my RAK833 doesn’t answer 103 as expected.
Thank a lot for your answers
Raphael