Lora-net / lora_gateway

Driver/HAL to build a gateway using a concentrator board based on Semtech SX1301 multi-channel modem and SX1257/SX1255 RF transceivers.
Other
915 stars 742 forks source link

lgw_connect:555: ERROR: NOT EXPECTED CHIP VERSION (v255) #159

Closed sheraz045 closed 1 year ago

sheraz045 commented 4 years ago

When running util_spi_stress test I get the following error root# 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 (v255) Note: SPI read success lgw_connect:555: ERROR: NOT EXPECTED CHIP VERSION (v255) ERROR: lgw_connect() did not return SUCCESS

sp193 commented 3 years ago

When you have issues getting the registers read, have you checked that a compatible board is connected properly and powered on, the reset and CS lines (e.g. for CS0, since /dev/spidev0.0 is used by loragw_spi.native.c) are connected, and you have reset the board (e.g. with reset_lgw.sh)?

smtc-bot commented 1 year ago

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!