SPI Probe Failed (errno=-71 / error -5) on Raspberry Pi 4 with Seeed XIAO Wi-Fi HaLow Module (FGH100M-H / MM6108) – GPIO Wiring, OpenWrt 23.05.3 + Morse 2.7-dev

Hi everyone,

I’ve been trying for weeks to get Wi-Fi HaLow working on a Raspberry Pi 4 using the Seeed Studio XIAO Wi-Fi HaLow Transceiver Module (FGH100M-H) with GPIO wiring (SPI0). I’m running the official OpenWrt image with Morse 2.7-dev support (from Seeed/Morse), but I keep getting SPI probe failures in dmesg:

• VCC → 3.3V (Pin 1)
• GND → GND (Pin 6)
• MOSI → GPIO10 (Pin 19)
• MISO → GPIO9 (Pin 21)
• SCLK → GPIO11 (Pin 23)
• CS → GPIO8 (Pin 24)
• RESET → GPIO24 (Pin 18) (tried GPIO5 too)
• IRQ → GPIO25 (Pin 22) (optional)
• 900 MHz antenna connected

Hi @munneeb123

Please run a release version of the OpenWrt image if possible - eg 2.7.4. Are you flashing the EKH01 image?

The errors shown are a failure to communicate with the chip. Your pinouts are correct, but make sure the RESET GPIO is connected to GPIO5 as that is what we use on our evaluation platforms, and will give you the best chance for success! Also, when using SPI the IRQ line is not optional. Make sure to connect that.

How are you connecting the board? If using jumper leads, make sure they are short in length and high quality. Typical prototyping leads are prone to causing signal integrity problems.

If you can get a logic analyzer capture with a high sample rate - including the RESET, CS, SCLK, MISO, MOSI and IRQ lines - we can look to see what else might be going wrong!

Hi, @ajudge
Thank you for the quick and detailed feedback! I really appreciate your guidance.

Here’s my setup:
Image Used: The official pre-built OpenWrt image from Seeed Studio
OpenWrt 23.05.3, Morse-2.7-dev
Link: Getting Started with Wi-Fi HaLow Mini PCIe Module | Seeed Studio Wiki
Important clarification: This image is designed for the mini-PCIe HaLow module, but I am trying to use it with the Seeed XIAO HaLow module (FGH100M-H) via GPIO wiring on RPi4.

Pinout:
No jumper wires anymore → All connections are soldered for maximum signal integrity.

Key Question: XIAO Module Internal WAKE/BUSY Pins

The Seeed XIAO HaLow module has two DNP (Do Not Populate) resistors near the WAKE and BUSY pins on the PCB.

Can I safely short the WAKE (R10) and BUSY (R17) pads on the module and connect them to GPIOs (e.g., WAKE → GPIO23, BUSY → GPIO24) to allow the RPi driver to control them?

Ah, if you’re using SeeedStudio’s fork, then the pinout will change as they have adapted it for their carrier boards.
See this commit, which details the changes.

The RESET line should be connected to GPIO17.
The SPI IRQ line should be connected to GPIO5.

Can I safely short the WAKE (R10) and BUSY (R17) pads on the module and connect them to GPIOs (e.g., WAKE → GPIO23, BUSY → GPIO24) to allow the RPi driver to control them?

Yes you can!

I went through this exact bring-up (same board, jumper-wired to a Pi) and hit several landmines past the point where this thread leaves off — posting them here since this thread is where the error message search lands.

On the pinout: the schematic (WI-FI_HALOW_FGH100M_EXT01_V30) is the only reliable authority for which D-pad is which — multimeter probing misidentifies RESET as INT (both have ESD diode signatures). The full pad map, plus three things that will bite after CMD63 starts passing, is in the writeup I just posted: PSA: Seeed XIAO HaLow (FGH100M-H): enumerates fine, RX fine, TX dead? Wire the 5V pad (VDD_FEM)

The short version for anyone stuck here:

  1. R15 is a 10K pulldown on RESET_N — the chip is held in reset by default. The driver has to actively drive reset high (gpio_direction_output(reset_pin, 1) in hw.c), not release it to input; on a Pi the SoC’s default pull-down wins otherwise.
  2. Keep SPI at 4 MHz on jumper wires. After soldering we ramped to 40 MHz clean; 50 MHz (the driver default) never inits on hand wiring.
  3. The big one: once SPI works, if the chip enumerates and RX is fine but no peer can see your TX — the board needs the 5V pad wired (VDD_FEM, the TX PA rail), not just 3V3. Nothing documents this. Details and the diagnostic signature at the link above.