ERROR: Failed to set SX1250_0 in STANDBY_RC mode

Issue: Error after Installation

Setup: RAK2287 | WisLink LPWAN Concentrator on RAK2287/RAK5146 Pi HAT in a Raspberry Pi 4

Server: n/a

Details:
No matter if I configure the system as described in the RAK2287 Quick Start Guide with the latest RAK2287 Firmware or if I follow the installation Guide Helium Data Only Hotspot Setup with RAK Concentrator + Raspberry Pi it will result in an Error.

snip
Feb 16 10:33:29 rak-gateway ttn-gateway[1419]: ERROR: Failed to set SX1250_0 in STANDBY_RC mode
Feb 16 10:33:29 rak-gateway ttn-gateway[1419]: ERROR: failed to setup radio 0
Feb 16 10:33:29 rak-gateway ttn-gateway[1419]: ERROR: [main] failed to start the concentrator
snip

In the manual installation I have chosen the following gateway model:

RAK7248 no LTE (RAK2287 SPI + raspberry pi)

Thanks for any information and best regards
Nicolaj

Hi Nicolaj!

I am getting the same errors. Have you found any fix for it?

I got an old RAK2287 and am facing same issue.

git clone https://github.com/Lora-net/sx1302_hal.git
cd ~/sx1302_hal
make clean all
make install
make install_conf
cd tools
../util_chip_id/chip_id 
CoreCell reset through GPIO17...
SX1261 reset through GPIO17...
CoreCell power enable through GPIO18...
CoreCell ADC reset through GPIO13...
Opening SPI communication interface
Note: chip version is 0x0C (v0.12)
ERROR: Failed to set SX1250_0 in STANDBY_RC mode
ERROR: failed to setup radio 0
ERROR: failed to start the gateway

Update: Tried setting up this rak2287 with GitHub - RAKWireless/basicstation: Basics™ Station Packet Forward protocol using Docker and it starts. However, after a couple hours it again fails with same error.

2022-11-29 15:17:20.168 [S00:INFO]  [STD]   8:    904.6MHz rf=0 freq=+300.0 datarate=8 bw=6 Explicit header
2022-11-29 15:17:20.168 [S00:INFO]  channel 9 disabled
2022-11-29 15:17:20.168 [S00:INFO] Station device: spi:/dev/spidev0.0 (PPS capture enabled)
2022-11-29 15:17:20.168 [S00:INFO] [lgw_com_open:84] Opening SPI communication interface
2022-11-29 15:17:20.168 [S00:INFO] [lgw_spi_open:88] Setting SPI speed to 8000000
2022-11-29 15:17:20.168 [S00:INFO] [lgw_connect:1192] chip version is 0x05 (v0.5)
2022-11-29 15:17:21.769 [S00:ERRO] [lgw_start:908] failed to setup radio 0
2022-11-29 15:17:21.769 [S00:ERRO] Concentrator start failed: lgw_start
2022-11-29 15:17:21.769 [S00:CRIT] Slave radio start up failed with status 0x08
ERROR: Failed to set SX1250_0 in STANDBY_RC mode
2022-11-29 15:17:21.761 [RAL:ERRO] Slave (0) - EOF
2022-11-29 15:17:21.761 [any:CRIT] Slave pid=32 idx=0: Fatal exit

ThingStack shows the gateway continuously reconnect when the docker container is restarting:


Update:

I tried changing SPI speed to 200000 and it ran for few minutes before crashing again.

Hi Rak Support team,

What are the differences between the rak2287 from the RakV2 helium miner and the DH4 in the store?


Regards
Atul.

  • For old rak2287 boards setting SX1302_RESET_PIN=25 helped.
  • For new rak2287 boards setting SX1302_RESET_PIN=18 helped.

However a documentation on what are the differences or how to detect differences would help.