RAK2247 mPCIe USB

Hi,
I’m trying to get the RAK2247 concentrator to work with a Fitlet2 pc to use as a edge gateway (more then just LoraWAN).

I have found that PIN22 of the mPCIe is not controllable via the soc but have been told it is pulled down (low), So is there a why to reset the card via the USB interface?

I have followed the fourm post RAK2247 SPI + USB mPCIe x86 gateway and application notes https://downloads.rakwireless.com/en/LoRa/RAK2247-Mini-PCIe/Application-Notes/

but win I run lora_pkt_fwd I get:

    $ sudo ./lora_pkt_fwd
    *** Beacon Packet Forwarder for Lora Gateway ***
    Version: 4.0.1
    *** Lora concentrator HAL library version info ***
    Version: 5.0.1;
    ***
    INFO: Little endian host
    INFO: found global configuration file global_conf.json, parsing it
    INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
    INFO: lorawan_public 1, clksrc 1
    INFO: no configuration for LBT
    INFO: antenna_gain 0 dBi
    INFO: Configuring TX LUT with 16 indexes
    INFO: radio 0 enabled (type SX1257), center frequency 917200000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 0
    INFO: radio 1 enabled (type SX1257), center frequency 917900000, RSSI offset -166.000000, tx enabled 0, tx_notch_freq 0
    INFO: Lora multi-SF channel 0>  radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
    INFO: Lora multi-SF channel 1>  radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
    INFO: Lora multi-SF channel 2>  radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
    INFO: Lora multi-SF channel 3>  radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
    INFO: Lora multi-SF channel 4>  radio 1, IF -300000 Hz, 125 kHz bw, SF 7 to 12
    INFO: Lora multi-SF channel 5>  radio 1, IF -100000 Hz, 125 kHz bw, SF 7 to 12
    INFO: Lora multi-SF channel 6>  radio 1, IF 100000 Hz, 125 kHz bw, SF 7 to 12
    INFO: Lora multi-SF channel 7>  radio 1, IF 300000 Hz, 125 kHz bw, SF 7 to 12
    INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8
    INFO: FSK channel 8 disabled
    INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
    INFO: gateway MAC address is configured to 0000000000000000
    INFO: server hostname or IP address is configured to "router.au.thethings.network"
    INFO: upstream port is configured to "1700"
    INFO: downstream port is configured to "1700"
    INFO: downstream keep-alive interval is configured to 10 seconds
    INFO: statistics display interval is configured to 30 seconds
    INFO: upstream PUSH_DATA time-out is configured to 100 ms
    INFO: packets received with a valid CRC will be forwarded
    INFO: packets received with a CRC error will NOT be forwarded
    INFO: packets received with no CRC will NOT be forwarded
    INFO: Auto-quit after 6 non-acknowledged PULL_DATA
    INFO: found local configuration file local_conf.json, parsing it
    INFO: redefined parameters will overwrite global parameters
    INFO: local_conf.json does not contain a JSON object named SX1301_conf
    INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
    INFO: gateway MAC address is configured to 0001C0FFFE25D014
    INFO: packets received with a valid CRC will be forwarded
    INFO: packets received with a CRC error will NOT be forwarded
    INFO: packets received with no CRC will NOT be forwarded
    ERROR: Failed to load fw 1
    ERROR: Version of calibration firmware not expected, actual:0 expected:2
    ERROR: [main] failed to start the concentrator 

and lsusb

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 004: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC
    Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
    Bus 001 Device 002: ID 046d:c315 Logitech, Inc. Classic Keyboard 200
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Struggled with this for awhile too. Just put a piece of kapton tape over pin 22 and it works.

Good luck.

1 Like