WM1302 (Seeed) + Raspberry Pi 5 with ChirpStack Gateway OS — Any experiences?

Viewed 126

Hi everyone,
Has anyone used the Seeed WM1302 with a Raspberry Pi 5 running ChirpStack Gateway OS?

I’m specifically trying to confirm two things:

  • Does it work correctly on the Pi 5 with Gateway OS?

  • Is the installation process the same as on the Raspberry Pi 4, or does the Pi 5 require any additional steps (SPI configuration, GPIO differences, drivers, etc.)?

Any feedback or experience would be greatly appreciated.
Thanks in advance!

3 Answers

Yes, this module should work using the ChirpStack Gateway OS installation steps for Raspberry Pi.

Thank you very much for your reply.

Hi @Ruben Cantarero Navarro

Seedstudio WM1302 SPI Lora Gateway module on Raspberry Pi 5 4 GB.


iontdroid1@raspberrypi:~/sx1302_hal/packet_forwarder $ # Hold Reset low, then launch. The code will handle releasing it.
sudo pinctrl set 17 op dl && sleep 0.1 &&
echo “Hardware pre-reset complete… launching as iontdroid1…” &&
./lora_pkt_fwd -c global_conf.json.sx1250.US915
Hardware pre-reset complete… launching as iontdroid1…
*** Packet Forwarder ***
Version: 2.1.0
*** SX1302 HAL library version info ***
Version: 2.1.0;

INFO: Little endian host
INFO: found configuration file global_conf.json.sx1250.US915, parsing it
INFO: global_conf.json.sx1250.US915 does contain a JSON object named SX130x_conf, parsing SX1302 parameters
INFO: com_type SPI, com_path /dev/spidev0.0, lorawan_public 1, clksrc 0, full_duplex 0
INFO: antenna_gain 0 dBi
INFO: Configuring legacy timestamp
INFO: Configuring Tx Gain LUT for rf_chain 0 with 16 indexes for sx1250
INFO: radio 0 enabled (type SX1250), center frequency 904300000, RSSI offset -215.399994, tx enabled 1, single input mode 0
INFO: radio 1 enabled (type SX1250), center frequency 905000000, RSSI offset -215.399994, tx enabled 0, single input mode 0
INFO: Lora multi-SF channel 0> radio 0, IF -400000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 1> radio 0, IF -200000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 2> radio 0, IF 0 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 3> radio 0, IF 200000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 4> radio 1, IF -300000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 5> radio 1, IF -100000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 6> radio 1, IF 100000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 7> radio 1, IF 300000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8, Explicit header
INFO: FSK channel 8 disabled
INFO: global_conf.json.sx1250.US915 does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to AA555A0000000000
INFO: server hostname or IP address is configured to “localhost”
INFO: upstream port is configured to “1730”
INFO: downstream port is configured to “1730”
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: GPS serial port path is configured to “”
INFO: Reference latitude is configured to 0.000000 deg
INFO: Reference longitude is configured to 0.000000 deg
INFO: Reference altitude is configured to 0 meters
INFO: Beaconing period is configured to 0 seconds
INFO: Beaconing signal will be emitted at 869525000 Hz
INFO: Beaconing datarate is set to SF9
INFO: Beaconing modulation bandwidth is set to 125000Hz
INFO: Beaconing TX power is set to 14dBm
INFO: Beaconing information descriptor is set to 0
INFO: global_conf.json.sx1250.US915 does contain a JSON object named debug_conf, parsing debug parameters
INFO: got 2 debug reference payload
INFO: reference payload ID 0 is 0xCAFE1234
INFO: reference payload ID 1 is 0xCAFE2345
INFO: setting debug log file name to loragw_hal.log
Resetting WM1302 CoreCell (using pinctrl)…
WM1302 reset complete.
Opening SPI communication interface
Note: chip version is 0x00 (v0.0)
ERROR: Failed to set SX1250_0 in STANDBY_RC mode
ERROR: failed to setup radio 0
ERROR: [main] failed to start the concentrator

I followed the Seeedstudio WM 1302 Wiki.

I could not even set it up on Chirpstack after that error. Copilot suggested the SPI is not starting as WM1302 only works with Pi 4B.

Just heads up, this is my first project.

Let me know your thoughts.

Cheers

Sateesh