General
Same DEEPX NPU family, different form factor and subsystems. The AI HAT+ is a HAT+ board on top of the Raspberry Pi 5 with a soldered DEEPX DX-M1M (25 TOPS at INT8) NPU and nothing else. The Edge AI Expansion Board sits under the Raspberry Pi 5, holds the DX-M1 on a replaceable M.2 module, and adds an NVMe SSD slot and an LTE/5G modem slot, all usable at the same time. The DXNN SDK, the runtime, and compiled .dxnn models work on both.
| Feature | Edge AI Expansion Board | Sixfab AI HAT+ |
|---|---|---|
| Mount | Under the Raspberry Pi 5 | Above the Raspberry Pi 5 (HAT+) |
| NPU | DEEPX DX-M1 M.2 AI Module, replaceable | DEEPX DX-M1M (25 TOPS at INT8), soldered |
| NVMe slot | Yes, M.2 M-Key on the USB hub | No |
| LTE/5G slot | Yes, M.2 Key-B with nano SIM | No |
| Power | USB-C PD on the board; back-powers the Raspberry Pi 5 | From the Raspberry Pi 5 |
| Host link | PCIe x1, Gen 2 or Gen 3, 40 mm cable | PCIe x1, Gen 2 or Gen 3, 16-pin cable |
Only the DX-M1 module. Both contain the board, the USB 3.0 Bridge, the 40 mm PCIe cable, and the mounting kit; Variant 2 adds the DEEPX DX-M1 M.2 AI Module. Variant 1 is for a module you already have or buy separately. The driver, runtime, and SDK are the same. See Two variants.
Yes. Installing sixfab-dx needs internet access for the APT packages. After that, inference runs entirely on the device, and nothing leaves it unless your application sends it; the modem transmits only when your application opens a connection. This suits privacy-sensitive uses such as facial recognition, medical imaging, and restricted-area monitoring. Internet is needed again only to update the runtime or the NPU firmware.
Nothing sends data by default, but nothing monitors or blocks traffic either. The inference stack does not contact any server, and the modem transmits only when your application opens a connection. If your deployment must prove it, inspect the outbound traffic with a tool such as tcpdump (this needs some networking knowledge). See Cellular connectivity for routing and data-usage monitoring.
The DEEPX NPU runs vision models. These workloads are not supported:
- Large language models and text generation
- Audio-only models (speech recognition, acoustic classification)
- Transformer language models (BERT, GPT, T5 variants)
- Training or fine-tuning on the device: the board runs inference only
To train and then deploy, train on another machine and compile the model to .dxnn with DX-COM on an Ubuntu workstation, or follow the Sixfab and Ultralytics path; see Custom models (DXNN SDK).
Hardware
The end marked RPi5 goes to the Raspberry Pi 5, the end marked EDGE AI to the board. At both ends the labels face out and the contacts face the board. Use only the included 40 mm cable. A reversed cable is the most common assembly mistake: if lspci shows no DEEPX device, check this first.
A 27 W USB-C PD supply; 45 W with the NPU, SSD, and modem all fitted, because the SSD and the modem draw a lot of current. Below 27 W the system slows down and the Raspberry Pi 5 shows an under-voltage warning. The supply is the only power budget for the board, the three slots, the pogo pins, and the USB hub. See the Quickstart.
Booting from the SSD? Add usb_max_current_enable=1 to /boot/firmware/config.txt; without it the Raspberry Pi 5 stops at boot and asks you to press its button. Not needed when booting from the microSD card.
Through four pogo pins under the Raspberry Pi 5 GPIO header: two on 5 V, two on ground, rated 3 A each. They carry no data, so a standard HAT can still sit on top of the Raspberry Pi 5. See Pinout & GPIO.
Yes. The board uses no GPIO signal pin, and the header passes up unchanged, so a standard HAT fits on top of the Raspberry Pi 5. If the HAT needs external power, ask Sixfab first. HATs and USB devices powered from the Raspberry Pi 5 work as usual. See HAT stacking.
Yes. It mounts on the Raspberry Pi 5 as usual and runs from its fan header; the board has no fan connector of its own. It is recommended: the Raspberry Pi 5 sits on top of the board and can throttle under sustained AI load without it.
No. Shut down from the OS, disconnect the USB-C supply, then mount, remove, or change any module. The PCIe cable, the pogo pins, and the M.2 slots are not designed for insertion under power. The board has no power button. Pulling the supply by accident does no physical damage, but unsaved data is lost and the SSD filesystem may need repair.
Generally not. The board sits under the Raspberry Pi 5 on 15 mm standoffs, and the stack is about 36 mm high; standard cases are made for the Raspberry Pi 5 alone. Plan a custom enclosure for the full stack, including the USB-C connector. See Mechanical dimensions.
Software
Raspberry Pi OS Bookworm and Trixie, 64-bit. Debian Bookworm or Trixie on ARM can work, but Raspberry Pi OS is recommended. The model compiler, DX-COM, runs on a separate x86_64 machine: Ubuntu 20.04, 22.04, and 24.04, and, as of DX-COM 2.3.0, Fedora 42 to 45, Red Hat Enterprise Linux 9 and 10, and CentOS Stream 9 and 10. See Custom models (DXNN SDK).
Raspberry Pi OS does not enable the external PCIe lane by default, and runs it at Gen 2. Add these lines to the end of /boot/firmware/config.txt:
dtparam=pciex1
dtparam=pciex1_gen=3
Booting from the SSD also needs usb_max_current_enable=1. Reboot, then install sixfab-dx; see Enable PCIe Gen 3. Gen 2 gives 400 to 450 MB/s, Gen 3 800 to 900 MB/s.
Add the Sixfab APT repository and install sixfab-dx. It builds the driver with DKMS, installs the DEEPX runtime, and pulls in the dependencies. Then check the NPU:
sudo apt update
sudo apt install apt-repo-sixfab
sudo apt update && sudo apt install sixfab-dx
dxrt-cli -s
The full procedure, with the SSD and modem checks, is in the Quickstart.
Yes. OpenCV, NumPy, Pillow, scikit-image, Picamera2, and libcamera work alongside the DEEPX runtime. It has a Python API (dx_engine) and a C++ API (dxrt); C++ gives the lowest latency in production pipelines.
Yes. The kernel driver stays on the host; run the container privileged and pass the NPU device node /dev/dxrt0 through:
docker run --privileged --device /dev/dxrt0 my-app:latest
Yes, after compiling them once. Download the ONNX file, compile it with DX-COM on an x86_64 Ubuntu machine, and copy the .dxnn file to the Raspberry Pi 5; no retraining is needed. A layer the NPU cannot run falls back to the CPU if ONNX can run it, and the frame rate drops a lot. Check the DEEPX supported operator list first. The Sixfab Model Zoo has precompiled models.
The runtime through APT: sudo apt update && sudo apt install sixfab-dx replaces the installed version, and DKMS rebuilds the driver with it. DX-RT 3.5.0 requires NPU firmware 2.7.6 or newer. Check the firmware version and flash it if it is older:
# 1. Check the current firmware version
dxrt-cli -s # FW version : vX.Y.Z
# 2. Get the firmware images (once)
git clone https://github.com/DEEPX-AI/dx_fw
# 3. Flash the firmware
dxrt-cli -u dx_fw/m1/2.7.6/mdot2/fw.bin
# 4. Confirm the new version
dxrt-cli -s
Compiled .dxnn models usually keep working after a runtime update. When a release changes the model format, the runtime reports a version mismatch at load time: recompile the ONNX source with the matching DX-COM version (see the DXNN SDK workflow).
Performance
About four 720p streams before the Raspberry Pi 5 CPU becomes the limit. Beyond that the frame rate drops because capture and pre-processing saturate the CPU, not because of the NPU; check with dxtop. For more streams, lower the resolution, do the pre-processing in C++ instead of Python, or move capture to a hardware accelerator. See System monitoring.
Yes; up to three models in parallel have been tested, more have not. The models together must fit in the NPU memory, and the CPU must feed frames fast enough.
No measurable drop. The NPU has its own PCIe link over the 40 mm cable; the SSD and the modem share the separate USB 3.0 (5 Gbps) hub behind the USB Bridge. The two paths are independent in hardware, so storing data and using the cellular link during inference does not lower AI throughput.
380 to 440 MB/s sequential read and 350 to 410 MB/s sequential write. The slot is behind a USB 3.0 hub and a Realtek RTL9210B-CG USB-to-NVMe bridge, so the 5 Gbps USB bus with its encoding overhead is the limit, and the SSD appears as a USB storage device (/dev/sda), not a native NVMe device. For native NVMe speed this is the wrong slot. See NVMe storage.
The Raspberry Pi 5 detects under-voltage and degrades in stages: the lightning-bolt icon appears, the CPU throttles, and under heavy transients the NPU may throttle or time out during inference. The supply feeds every subsystem, so all of them suffer. Use 27 W or more; 45 W with the NPU, SSD, and modem fitted. See Troubleshooting.
Connectivity and storage
Each slot is labelled on the board; modules do not swap between slots:
| Slot | Key | For | Path |
|---|---|---|---|
M.2-PCIe | M | DEEPX DX-M1 | PCIe x1 over the 40 mm cable |
M.2-SSD | M | NVMe SSD, 2230 to 2280 | USB 3.0 through the RTL9210B-CG bridge |
CELLULAR LTE/5G | B | LTE/5G modem, nano SIM | USB 3.0 through the internal hub |
All three take the module at 30°, pressed flat and held with an M2 flat-head screw, finger-tight. See the Quickstart.
Yes. Both are on the same USB 3.0 hub but are independent devices. They share the 5 Gbps bus; sustained SSD transfers at 380 to 440 MB/s plus typical LTE/5G rates fit under it. AI inference on the PCIe link is not affected.
No; antennas are not included. They connect to the RF connectors on the modem module, so the connector type and the number of ports (main, diversity, GNSS) depend on the modem: the EM05-G and the EC25/EG25 series use U.FL, many 5G modules MHF4. See Cellular connectivity.
One nano SIM slot and no onboard eSIM chip. A nano eUICC card in the slot lets you switch operator profiles in software. See Cellular connectivity.
Yes, as a USB boot: the SSD is behind the USB bridge, so the Raspberry Pi 5 boots from it like an external USB SSD. Set the bootloader to boot from USB and add usb_max_current_enable=1. See Boot from NVMe.
Yes, three of the four. The USB Bridge uses one blue USB 3.0 port; the other USB 3.0 port and both USB 2.0 ports stay free. Two limits:
- Bandwidth. All Raspberry Pi 5 USB ports share 5 Gbps through the RP1 chip. A fast drive added there shares it with the SSD and the modem.
- Current. All USB ports share 1.6 A. The modem and the SSD already draw a lot; another high-draw device, such as an external hard drive, can make the system unstable.
Peripherals under 500 mA (keyboard, mouse, low-power webcam) have no measurable effect.
Compatibility
The Raspberry Pi 5 with 4 GB, 8 GB, or 16 GB. The 2 GB model does not have enough memory for the inference stack and the OS. See Compatibility.
| Host | Supported | Note |
|---|---|---|
| Raspberry Pi 5, 4 GB, 8 GB, or 16 GB | Yes | The only supported host |
| Raspberry Pi 5, 2 GB | No | Not enough memory for the inference stack and the OS |
| Compute Module 5 | No | |
| Raspberry Pi 4, Compute Module 4 | No | No PCIe FFC connector |
| Other single-board computers | No | Even with a PCIe FFC connector |
All current ones. The camera connects to the Raspberry Pi 5 CSI port, not to the board; the NPU sees only the frames your application passes to it. Tested:
- Camera Module 2 (IMX219, 8 MP)
- Camera Module 3 (IMX708, 12 MP, autofocus)
- High Quality Camera (IMX477, 12.3 MP, C/CS-mount lenses)
- Global Shutter Camera (IMX296)
USB webcams, video files, and RTSP streams from IP cameras also work. See Run first inference.
No, one per Raspberry Pi 5: it has one PCIe FFC connector, and the pogo pins and the mounting assume one board. To scale beyond one NPU, deploy several Raspberry Pi 5 and Expansion Board units and coordinate them over your local network.
Only in an enclosure. The board is commercial grade, for indoor use. Outdoors it needs an enclosure rated IP54 or higher, active cooling inside it (the NPU throttles at about 90 °C under sustained load), and a thermal design that removes the full power draw without breaking the seal. Passive cooling is enough for many applications at 25 °C ambient; under stress or at higher ambient temperatures, measure and manage the cooling yourself. For industrial deployments, see ALPON X5 AI.
Yes. Both use the DEEPX DX-M1 NPU family and the same DXNN SDK, so compiled models, inference code (Python dx_engine or C++ dxrt), and the tools (dxrt-cli, dxtop) carry over unchanged. What differs is around them: this board adds the SSD and the modem, and it is powered through its own USB-C PD input instead of the Raspberry Pi 5. See the Quickstart.
Use the one on the Raspberry Pi 5: once enabled in config.txt and systemd, it restarts the system after a hang. The board has no watchdog and no power button of its own; shut down from the Raspberry Pi 5.
Still have questions?
Check Troubleshooting first. When you contact support, include the output of lspci, lsusb, and dxrt-cli -s.