Sixfab AI HAT+ for Raspberry Pi 5

A HAT+ compliant accelerator for the Raspberry Pi 5 with a DEEPX DX-M1M NPU (25 TOPS), connected over PCIe Gen 3 x1. It runs INT8 vision models on the device.

NPU 25TOPS INT8 · DX-M1M · 2 GB LPDDR4X
Host link PCIe Gen 3 x1 · 16-pin FFC cable
Typical power 3W DX-M1M, sustained
Form factor HAT+ 65 × 56.5 mm

Vision models (detection, classification, segmentation) compiled to the DXNN format run on the NPU, several at once with RunAsync in the DEEPX runtime API. The Raspberry Pi 5 handles I/O, networking, and the application. No network connection is needed at runtime.

With the onboard HAT+ EEPROM, the Raspberry Pi 5 loads the NPU device tree overlay automatically. Use the board to add on-device vision to a small Raspberry Pi 5 build, such as an AI camera, a robot or a drone. To mount the board, install the runtime, and run a first model, follow the Quickstart.

Compatibility

Supported
  • Raspberry Pi 5
Not supported
  • Raspberry Pi 4 and earlier
  • Compute Module 4 and earlier
  • Compute Module 5 on the CM5 IO Board
  • Other SBCs (Orange Pi, Rock Pi, Jetson)

Compute Module 5

The AI HAT+ does not fit the CM5 IO Board, mechanically or electrically. For NVMe, LTE/5G, or extra I/O on a Raspberry Pi 5, use the Sixfab Edge AI Expansion Board.

The 40-pin header carries only power, ground, and the ID EEPROM lines; the other GPIO pins stay free.

Power off Raspberry Pi 5

The AI HAT+ is not hot-pluggable. Power off the Raspberry Pi 5 and disconnect the USB-C supply before mounting or removing the board; mounting under power can damage the board and the Raspberry Pi 5.

What’s in the box

In the box6 parts
  • 1×AI HAT+ boardDX-M1M NPU
  • 1×PCIe FFC cable16-pin, shielded
  • 1×Stacking header2 × 20, 16 mm, clears an active cooler
  • 4×M2.5 × 16 mm spacersFemale to female
  • 8×M2.5 × 5 mm screwsPlastic, finger-tight only
  • 1×Passive cooler20 × 20 mm; add a 3.3 V fan for sustained full load
You’ll also needBuy separately · 4 items
  • Raspberry Pi 54 GB or more; 8 GB for multi-streamRequired
  • 27 W USB-C PD power supply15 W supplies are not enoughRequired
  • microSD card32 GB or more, A2Required
  • CameraCamera Module, USB, or RTSP; for live video onlyOptional

Check power supply first

Power the Raspberry Pi 5 from a 27 W USB-C PD supply. A weaker supply shows as under-voltage warnings, resets and devices that disconnect; change the supply before suspecting the AI HAT+.

How it works

  1. Capture

    A CSI, USB, or IP camera feeds frames to the Raspberry Pi 5.

  2. Pre-process

    The CPU resizes the frame, converts color, and packs the input tensor.

  3. Inference

    The NPU runs the compiled DXNN model in INT8. Data moves over PCIe Gen 3 x1.

  4. Post-process

    The application parses the outputs (NMS, for example) and sends the results to a display, a log, or an RTSP stream.

PCIe gives the NPU a dedicated data path, separate from USB and GPIO. CPU pre-processing is usually the first bottleneck: a Raspberry Pi 5 (8 GB) with the DX-M1M handles up to four 1080p streams.

Software

The sixfab-dx package from the Sixfab APT repository installs the DEEPX runtime and the kernel driver. Raspberry Pi OS runs the PCIe link at Gen 2 until dtparam=pciex1_gen=3 in /boot/firmware/config.txt raises it to Gen 3; the Quickstart sets both up. The Sixfab Model Zoo, compiling your own models with the DXNN SDK, and the limits of the stack are covered in AI Model Deployment.

Next steps

Guides

Projects

Start with Choose project, then set up Frigate NVR and the camera feeds and MQTT once; the builds below run on that setup.

All projects

Get the AI HAT+

Buy it from the Sixfab Shop.