# Rak833 - not expected chip version

**URL:** <https://www.thethingsnetwork.org/forum/t/rak833-not-expected-chip-version/19936>\
**Category:** Raspberry Pi Gateways\
**Created:** [November 20, 2018, 1:54pm UTC](https://www.thethingsnetwork.org/forum/t/rak833-not-expected-chip-version/19936 "2018-11-20T13:54:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![raphaelruet](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/raphaelruet/32/20484_2.png) [@raphaelruet](https://www.thethingsnetwork.org/forum/u/raphaelruet)\
**Post date:** [November 20, 2018, 1:54pm UTC](https://www.thethingsnetwork.org/forum/t/rak833-not-expected-chip-version/19936/1 "2018-11-20T13:54:53Z")

</div>

Hello,

I am using a RAK833 concentrator from RAK Wireless (the one with only SPI and no USB) wired to a Raspberry Pi 3 Compute Module.

I’ve followed [nrdmtt](https://www.thethingsnetwork.org/forum/u/nrdmtt)’s tutorial here : [RAK833 - Packet forwarder](https://www.thethingsnetwork.org/forum/t/rak833-packet-forwarder/15043), and I have updated the _loragateway/liblora/library.cfg_ configuration file to use native SPI instead of USB.

I’m trying to use the _util\_spi\_stress_ utility without success, here is the verbose log referring to an unexpected chip version. Here is the verbose log :

```
pi@raspberrypi:~/repo/lora_gateway $ ./util_spi_stress/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 (v0)
Note: SPI read success
lgw_connect:555: ERROR: NOT EXPECTED CHIP VERSION (v2)
ERROR: lgw_connect() did not return SUCCESS

```

The only solution I’ve found so far is to change the expected chip version to **2** in _loragateway/liblora/src/loragw\_reg.c_ in the _loregs_ structure, to make the utility work properly.

Can anyone please help me find why my RAK833 doesn’t answer **103** as expected.  
Thank a lot for your answers

Raphael

---

<div class="post-metadata">

**Author:** ![raphaelruet](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/raphaelruet/32/20484_2.png) [@raphaelruet](https://www.thethingsnetwork.org/forum/u/raphaelruet)\
**Post date:** [November 20, 2018, 2:10pm UTC](https://www.thethingsnetwork.org/forum/t/rak833-not-expected-chip-version/19936/2 "2018-11-20T14:10:03Z")

</div>

Hello again,

The solution is in the SPI speed used as detailed here : [https://github.com/Lora-net/lora\_gateway/issues/26#issuecomment-283089276](https://github.com/Lora-net/lora_gateway/issues/26#issuecomment-283089276)

Thanks 😉

---

<div class="post-metadata">

**Author:** ![chrz](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/chrz/32/35697_2.png) [@chrz](https://www.thethingsnetwork.org/forum/u/chrz)\
**Post date:** [April 21, 2021, 4:46pm UTC](https://www.thethingsnetwork.org/forum/t/rak833-not-expected-chip-version/19936/3 "2021-04-21T16:46:18Z")

</div>

I had to run the `reset_lgw.sh start` script in order to properly reset the chip and setup the GPIO.
