# IC880a - Raspi 3B V1.2 - Concentrator start failed: lgw\_start Issue

**URL:** <https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044>\
**Category:** Raspberry Pi Gateways\
**Created:** [May 26, 2024, 10:38am UTC](https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044 "2024-05-26T10:38:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![andys1970](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@andys1970](https://www.thethingsnetwork.org/forum/u/andys1970)\
**Post date:** [May 26, 2024, 10:38am UTC](https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044/1 "2024-05-26T10:38:12Z")

</div>

I have been trying to setup a gateway using this tutorial.

[https://www.thethingsindustries.com/docs/gateways/models/raspberry-pi/](https://www.thethingsindustries.com/docs/gateways/models/raspberry-pi/)

All of the TTN side appears to be working and I can see live status data appearing on the Gateway console.  
However I am getting the error below.

2024-05-26 10:05:57.017 [RAL:INFO] SX130x LBT not enabled  
2024-05-26 10:05:57.017 [RAL:INFO] Station device: /dev/spidev0.0 (PPS capture disabled)  
2024-05-26 10:05:57.017 [HAL:INFO] [lgw\_spi\_open:101] Setting SPI speed to 8000000  
2024-05-26 10:05:57.017 [HAL:INFO] [lgw\_spi\_open:135] Note: SPI port opened and configured ok

2024-05-26 10:05:57.529 [HAL:ERRO] [lgw\_start:764] Failed to setup sx125x radio for RF chain 0  
2024-05-26 10:05:57.530 [RAL:ERRO] Concentrator start failed: lgw\_start  
2024-05-26 10:05:57.530 [RAL:ERRO] ral\_config failed with status 0x08  
2024-05-26 10:05:57.530 [any:ERRO] Closing connection to muxs - error in s2e\_onMsg

I am using a Pi to IC880a adaptor board.  
I have confirmed that SPI is being sent to the correct pins on the IC880a.  
I have tried taking the reset sequence out of the start.sh, sending the reset sequence manually before starting the application.

Is there test application I can use to independently confirm the SPI comms are working, without running the entire basicstation application?

Or any other suggestion for confirming that my IC880a is still alive? Currently only the Power status LED illuminates.

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [May 26, 2024, 11:47am UTC](https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044/2 "2024-05-26T11:47:42Z")

</div>

> [@andys1970](#):
>
> 2024-05-26 10:05:57.530 [RAL:ERRO] Concentrator start failed: lgw\_start

But you say

> [@andys1970](#):
>
> I can see live status data appearing on the Gateway console.

What pin have you used for Conc Card reset ?

---

<div class="post-metadata">

**Author:** ![andys1970](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@andys1970](https://www.thethingsnetwork.org/forum/u/andys1970)\
**Post date:** [May 26, 2024, 11:55am UTC](https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044/3 "2024-05-26T11:55:48Z")

</div>

I am using gpio25 for the reset and I have confirmed that is going to pin 13 in the IC880a.

This is what the live data packet looks like on the gateway.

```auto
{
  "name": "gs.status.receive",
  "time": "2024-05-26T10:05:57.000757223Z",
  "identifiers": [
    {
      "gateway_ids": {
        "gateway_id": "eui-b827ebfffeaa2841",
        "eui": "B827EBFFFEAA2841"
      }
    }
  ],
  "data": {
    "@type": "type.googleapis.com/ttn.lorawan.v3.GatewayStatus",
    "time": "2024-05-26T10:05:57.000472334Z",
    "versions": {
      "firmware": "",
      "package": "",
      "platform": "rpi - Firmware - Protocol 2",
      "station": "2.0.6(rpi/std)"
    },
    "advanced": {
      "features": "rmtsh",
      "model": "rpi"
    }
  },
  "correlation_ids": [
    "gs:status:01HYT5TBW8Q87RJJEG86Z66ESH"
  ],
  "origin": "ip-10-100-6-66.eu-west-1.compute.internal",
  "context": {
    "tenant-id": "CgN0dG4="
  },
  "visibility": {
    "rights": [
      "RIGHT_GATEWAY_STATUS_READ"
    ]
  },
  "unique_id": "01HYT5TBW842S5TTSXF40AWM57"
}

```

---

<div class="post-metadata">

**Author:** ![andys1970](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@andys1970](https://www.thethingsnetwork.org/forum/u/andys1970)\
**Post date:** [May 27, 2024, 10:17am UTC](https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044/4 "2024-05-27T10:17:28Z")

</div>

Is there a simple python program I could use to establish if spi comms is working correctly on the Ic880a?

---

<div class="post-metadata">

**Author:** ![andys1970](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@andys1970](https://www.thethingsnetwork.org/forum/u/andys1970)\
**Post date:** [May 28, 2024, 10:04am UTC](https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044/5 "2024-05-28T10:04:58Z")

</div>

Is there a method for changing the SPI clock speed? I would like to try it running at 2Mhz as opposed to 8Mhz to see if that helps.

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [May 28, 2024, 10:24am UTC](https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044/6 "2024-05-28T10:24:11Z")

</div>

Yes, been covered previously on the Forum - search is your friend 😉 If connecting using flying leads vs an interface pcb that may be a good option to try, though usually associated with slugged conc cards where manufacturers added slower level shifters to interface 🤷‍♂️

P.s. where are you in UK?

---

<div class="post-metadata">

**Author:** ![andys1970](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@andys1970](https://www.thethingsnetwork.org/forum/u/andys1970)\
**Post date:** [May 28, 2024, 10:31am UTC](https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044/7 "2024-05-28T10:31:57Z")

</div>

Hi - I have see many posts suggesting reducing the SPI clock speed. But I can’t see how to do it, either from Basicstation config change, or from the CLI changing the SPI device config.

I am using an interface PCB - but just clutching at straws with the SPI clock speed.

I’m starting to wonder if my ic880a is dead.

I’m in Suffolk.

---

<div class="post-metadata">

**Author:** ![andys1970](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@andys1970](https://www.thethingsnetwork.org/forum/u/andys1970)\
**Post date:** [May 30, 2024, 9:26am UTC](https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044/8 "2024-05-30T09:26:04Z")

</div>

I have solved the SPI start up issue by using this command  
‘’’  
sudo RADIODEV=/dev/spidev0.0 LORAGW\_SPI\_SPEED=2000000 /opt/ttn-station/bin/start.sh  
‘’’  
which sets the Pi SPI speed to 2MHz.

I had a subsequent issue where the Reset script was not toggling the reset pin, prior to start up.  
I change this to a manual python script and it works every time now.  
‘’’  
#!/usr/bin/python  
import RPi.GPIO as GPIO  
import time

GPIO.setmode(GPIO.BCM)  
GPIO.setup(25, GPIO.OUT)

GPIO.output(25,GPIO.LOW)  
time.sleep(0.2)  
GPIO.output(25,GPIO.HIGH)  
time.sleep(0.2)  
GPIO.output(25,GPIO.LOW)  
time.sleep(0.2)

GPIO.cleanup()  
‘’’

---

<div class="post-metadata">

**Author:** ![system](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/6/2/6250ea44fd2b0d6259489e1a92748df681e1f970.png) [@system](https://www.thethingsnetwork.org/forum/u/system)\
**Post date:** [May 31, 2024, 9:26am UTC](https://www.thethingsnetwork.org/forum/t/ic880a-raspi-3b-v1-2-concentrator-start-failed-lgw-start-issue/68044/9 "2024-05-31T09:26:23Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
