Problems with basicstation

If I let it run automatically it throws the following error, with all previous defined ENV variables, SPI_SPEED, TC_URI, TTN_STACK_VERSION, TC_KEY, MODEL

03.04.21 20:37:02 (-0500) main 2021-04-04 01:37:02.466 [RAL:VERB] SX1301 ifchain 7: enable=1 rf_chain=1 freq=300000 bandwidth=0 datarate=0 sync_word=0/0
03.04.21 20:37:02 (-0500) main 2021-04-04 01:37:02.466 [RAL:VERB] SX1301 ifchain 8: enable=1 rf_chain=0 freq=300000 bandwidth=1 datarate=4 sync_word=0/0
03.04.21 20:37:02 (-0500) main 2021-04-04 01:37:02.466 [RAL:VERB] SX1301 ifchain 9: enable=0 rf_chain=0 freq=0 bandwidth=0 datarate=0 sync_word=0/0
03.04.21 20:37:02 (-0500) main 2021-04-04 01:37:02.466 [RAL:VERB] SX130x LBT not enabled
03.04.21 20:37:02 (-0500) main 2021-04-04 01:37:02.466 [RAL:VERB] Station device: /dev/spidev0.0 (PPS capture disabled)
03.04.21 20:37:02 (-0500) main 2021-04-04 01:37:02.468 [RAL:ERRO] Concentrator start failed: lgw_start
03.04.21 20:37:02 (-0500) main 2021-04-04 01:37:02.468 [RAL:ERRO] ral_config failed with status 0x08
03.04.21 20:37:02 (-0500) main 2021-04-04 01:37:02.468 [any:ERRO] Closing connection to muxs - error in s2e_onMsg

I discovered that if I have set the ENV variable SPI_SPEED it breaks the execution, I had this from the previous versions.
Now that I removed it from the app, it works correctly.

What was the value of SPI_SPEED when it was failing ? @ronyvargas Could you please try setting the value to 2000000 if different and let us know ?

Hi @abhatikar, yes the value I use for SPI_SPEED is 2000000, as soon I set this variable for the Model SX1301, it breaks execution, as soon I remove completely the variable it works back again

I will check. Thanks @ronyvargas for the information.

1 Like

Thank you for reporting @ronyvargas I tested with another developer from the community and it works on his side!

cc @abhatikar