Which frequency are you using?
There is an error about FPGA in your log, i think you can check your global_config.json file to see if there is a LBT option? If it is, you need to set it to FALSE.
Also, you can try to reduce the SPI rate, maybe 2Mbps or 1Mbps is fine.
I have put the code in DEBUG mode and get the folowing error:
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 (v0)
ERROR: FAIL TO CONNECT BOARD
ERROR: [main] failed to start the concentrator
Sorry, i have less experience on 96Board, but i think you can also try to use another test progress test_loragw_reg in libloragw folder to test the register of SX1301.
We’ve tested on RPi +RAK2245 using test_loragw_spi, this is the correct log:
Beginning of test for loragw_spi.c
data received (simple read): 48
End of test for loragw_spi.c
But your data received is 0.
So i think the SPI interface of your 96Board device is close. Please check it.
How do you know there is no signal at pin 10.Please refer to SCH.png.
For SPI interface,there is a level translate circuit because 96BOARDS’s interface level is 1.8V.
So please confirm to reduce the SPI rate to 1Mbps.
I have put a oscilloscope on the SPI pins and started ./test_loragw_spi, all SPI are showing data except pin 10, pin 10 shows a flat line. Tested 1,2,4 and 8 Mbps