---
title: "AI HAT+ FAQ"
description: "Answers about the Sixfab AI HAT+ for Raspberry Pi 5: compatibility, performance, models and the DXNN SDK, power and heat, deployment, updates, and purchase."
url: "https://docs.sixfab.com/edge-ai/ai-hat-plus/faq/"
last_updated: "2026-10-12"
---

# AI HAT+ FAQ

Answers about the Sixfab AI HAT+ for Raspberry Pi 5: compatibility, performance, models and the DXNN SDK, power and heat, deployment, updates, and purchase.

## Compatibility

### Does the AI HAT+ work on a Raspberry Pi 4, CM4, or another single-board computer?

No. The Raspberry Pi 5 is the only supported host: no other Raspberry Pi model has the PCIe FFC connector the AI HAT+ needs (see [Compatibility](https://docs.sixfab.com/edge-ai/ai-hat-plus/#compatibility)). The DEEPX runtime targets x86_64 and ARM Linux, so a third-party board with a matching PCIe FFC connector may work in principle, but Sixfab does not validate or support it. If you test one, share the result on the [Sixfab community forum](https://community.sixfab.com).

For NVMe storage, LTE/5G, or extra I/O together with the NPU on a Raspberry Pi 5, see the [Edge AI Expansion Board](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/).

### Does the AI HAT+ work with a Compute Module 5 or a custom carrier board?

No. The Raspberry Pi CM5 IO Board has no PCIe FFC connector, so the 16-pin cable has nowhere to plug in. Custom carrier boards built around a Raspberry Pi 5 or a Compute Module 5 are not validated: one that exposes a compliant PCIe FFC connector may work in principle, but Sixfab does not certify or troubleshoot it. For OEM and embedded integration, [contact Sixfab](https://sixfab.com/contact/).

### What is the difference between the Sixfab AI HAT+ and the Raspberry Pi AI HAT+?

Different NPUs and different SDKs. The Sixfab AI HAT+ uses the DEEPX DX-M1M and the DXNN SDK; the Raspberry Pi AI HAT+ uses the Hailo-8 or Hailo-8L and the HailoRT SDK. A model compiled for one does not run on the other.

| Feature | Sixfab AI HAT+ | Raspberry Pi AI HAT+ |
| --- | --- | --- |
| NPU silicon | DEEPX DX-M1M | Hailo-8 / Hailo-8L |
| Performance | 25 TOPS at INT8 | 26 or 13 TOPS |
| SDK / compiler | DXNN SDK (DX-COM + DEEPX runtime) | HailoRT SDK |
| Compiled model format | `.dxnn` | `.hef` |

### Can I stack the AI HAT+ with the Sixfab Base HAT?

Yes. The Base HAT uses USB and the AI HAT+ uses PCIe, so they share no data bus. Both carry a HAT+ ID EEPROM on the I²C ID bus (BCM 0 and BCM 1), which is expected when HAT+ boards are stacked. Extra-long pass-through stacking headers are needed to seat the boards. See [HAT stacking](https://docs.sixfab.com/edge-ai/ai-hat-plus/hardware-reference/pinout-gpio/#stacking).

### Does the AI HAT+ fit the official Raspberry Pi 5 case?

Partly: the board fits, but the lid does not close, because the AI HAT+ and the NPU are too tall. The official Raspberry Pi Active Cooler fits; the AI HAT+ sits above it on the included M2.5 standoffs. For a closed enclosure, use a third-party case sized for stacked HAT+ boards. See [Mechanical](https://docs.sixfab.com/edge-ai/ai-hat-plus/hardware-reference/specifications/#mechanical).

### Does the AI HAT+ work with Picamera2 and libcamera?

Yes. Capture frames with Picamera2 (Python) or libcamera (C++) and pass the NumPy array to the DEEPX runtime. The AI HAT+ is not in the camera path: your application handles capture and inference. See [Run first inference](https://docs.sixfab.com/edge-ai/ai-hat-plus/quickstart/#run-the-first-inference).

### Will any USB webcam work, or do I need a Raspberry Pi Camera Module?

Any standard USB webcam works. The camera connects to the Raspberry Pi 5, not to the AI HAT+; the NPU sees only the frames your application passes to it. USB webcams, Raspberry Pi Camera Modules, video files, and RTSP streams from IP cameras all work as frame sources.

### Can I attach more than one AI HAT+ to a Raspberry Pi 5?

No. The Raspberry Pi 5 has one PCIe FFC connector, and the AI HAT+ uses it. To scale beyond one NPU, deploy several Raspberry Pi 5 and AI HAT+ units and coordinate them over your local network.

### Is PCIe Gen 3 enabled automatically?

Not by default. The Raspberry Pi 5 runs the PCIe link at Gen 2 unless the boot configuration raises it. Check with `dxrt-cli -s`: `PCIe: Gen3 X1` means nothing more is needed. If it reports Gen 2, add `dtparam=pciex1` and `dtparam=pciex1_gen=3` to `/boot/firmware/config.txt` and reboot. See [Enable PCIe Gen 3](https://docs.sixfab.com/edge-ai/ai-hat-plus/quickstart/#enable-pcie-gen-3).

> [!NOTE]
> **After reflashing OS**
>
> `config.txt` is on the boot partition, so a fresh Raspberry Pi OS image drops these lines. After a reflash, check `dxrt-cli -s` again and add them back if the link is at Gen 2. Duplicate `dtparam=pciex1_gen=3` lines do no harm.

## Performance

### How many camera streams can the AI HAT+ handle at once?

On the DX-M1M, about one 4K stream at real-time frame rate, or up to four 1080p streams at 25 to 30 FPS. With several streams the Raspberry Pi 5 CPU usually saturates before the NPU, because capture and pre-processing run on the CPU. Run `dxtop` during the load to see which one is the limit; see [System monitoring](https://docs.sixfab.com/edge-ai/ai-model-deployment/system-monitoring/).

### Can I run two models on the AI HAT+ at the same time?

Yes, with `RunAsync` in the DEEPX runtime: the NPU schedules the requests of both models. The models together must fit in NPU memory (2 GB on the DX-M1M), and the CPU must feed frames fast enough. See the [DXNN SDK workflow](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/workflow/).

> [!NOTE]
> **Chaining models**
>
> There is no API that chains models on the NPU (for example detect, then classify, then track). Intermediate tensors pass through your application on the CPU between model calls.

## Models and SDK

### Does the AI HAT+ work out of the box?

The hardware does: the NPU appears in `lspci` as soon as the Raspberry Pi 5 boots with the AI HAT+ mounted, with no configuration. To run models, install `sixfab-dx` from the Sixfab APT repository: it brings the kernel driver, the DEEPX runtime, and `dxrt-cli`. See [Install runtime](https://docs.sixfab.com/edge-ai/ai-hat-plus/quickstart/#install-the-runtime).

### Can I use OpenCV, NumPy, and Pillow with the DXNN SDK?

Yes. OpenCV, NumPy, Pillow, scikit-image, Picamera2, and libcamera work alongside the DEEPX runtime. The runtime has Python and C++ APIs; C++ gives the lowest latency in production pipelines.

### Does the DXNN SDK work in Docker containers?

Yes. The kernel driver stays on the host; run the container privileged and pass the NPU device node `/dev/dxrt0` through:

```bash
docker run --privileged --device /dev/dxrt0 my-app:latest
```

### What happens if I load a model that wasn’t compiled with DX-COM?

It depends on the format. An ONNX file falls back to CPU inference: it runs, but much slower and without the NPU. Any other format that is not `.dxnn` fails to load. Compile to `.dxnn` with DX-COM first; see the [DXNN SDK workflow](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/workflow/).

### Can I use models from Hugging Face or the ONNX Model Zoo on the NPU?

Yes, after compiling them once. Download the ONNX file, compile it with DX-COM on an Ubuntu workstation, and copy the `.dxnn` file to the Raspberry Pi 5; no retraining is needed. Check the [DEEPX supported operator list](https://github.com/DEEPX-AI/dx-compiler/blob/main/source/docs/03_Building_Models.md) first: a model with unsupported layers may fail to compile or fall back partly to the CPU. See the [DXNN SDK workflow](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/workflow/); the [Sixfab Model Zoo](https://docs.sixfab.com/edge-ai/ai-model-deployment/sixfab-model-zoo/) has precompiled models.

### Which AI tasks does the AI HAT+ not support?

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 AI HAT+ 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 the [DXNN SDK workflow](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/workflow/) for both.

### How do I move a GPU or cloud inference workload to the AI HAT+?

If the NPU supports the model’s operators, in four steps:

1. Export the trained model to ONNX from your training framework.
2. Compile the ONNX file with DX-COM on an Ubuntu workstation.
3. Copy the `.dxnn` file to the Raspberry Pi 5.
4. Change the inference call to the DEEPX runtime Python or C++ API.

Pre- and post-processing code usually stays the same. See the [DXNN SDK workflow](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/workflow/).

> [!NOTE]
> **Compilation time**
>
> DX-COM takes about 2 hours for a typical vision model on a standard Ubuntu workstation. Compile once per model version, then deploy the `.dxnn` file.

## Power and thermal

### What happens if my power supply is too weak for the Raspberry Pi 5 and the AI HAT+?

The Raspberry Pi 5 detects under-voltage and degrades in stages: the lightning-bolt icon appears, the CPU throttles, the NPU may throttle or time out during inference, and under heavy transients the system reboots. A 3 A phone charger cannot hold the combined load: use the official Raspberry Pi 27 W USB-C PD supply (5 V, 5 A). See [System reboots spontaneously or shows an under-voltage warning](https://docs.sixfab.com/edge-ai/ai-hat-plus/troubleshooting/#issue-power).

### Can I use the AI HAT+ outdoors?

Only in an enclosure. The AI HAT+ is a commercial-grade board for indoor use (operating temperature 0 to 70 °C). Outdoors it needs an enclosure rated IP54 or higher, active cooling inside it (the NPU surface reaches 85 °C at 100 % load and 25 °C ambient, with the heatsink), and a thermal design that removes the system’s full power draw without breaking the seal. See [Cooling](https://docs.sixfab.com/edge-ai/ai-hat-plus/hardware-reference/specifications/#cooling).

## Deployment

### Does the AI HAT+ run offline after installation?

Yes. Installing the runtime needs internet access for the APT packages. After that, inference runs entirely on the device: no telemetry, no cloud calls, and no data leaves the device. 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.

### How do I update a model on a device in the field?

Copy the new `.dxnn` file over a secure channel (SCP, rsync over SSH, or SFTP) and restart the inference service:

```bash
# 1. Copy the new model to the device
scp new_model_v2.dxnn <user>@<device_ip>:~/models/

# 2. Restart the inference service
sudo systemctl restart <your_inference>.service
```

In a fleet, run these steps from your OTA pipeline.

### Can I roll back to an earlier driver or firmware version?

It is possible but not recommended. Sixfab and DEEPX validate the latest stable driver and firmware pair; older combinations are not tested against current boards. If a version causes a regression, report it on the [DEEPX runtime repository](https://github.com/deepx-ai/dx_rt) or the [Sixfab community forum](https://community.sixfab.com) so the next release fixes it. Check [Troubleshooting](https://docs.sixfab.com/edge-ai/ai-hat-plus/troubleshooting/) first.

## Updates

### How do I get SDK and driver updates?

Through APT. The kernel driver, the DEEPX runtime, `dxrt-cli`, and the Python and C++ bindings come from the Sixfab APT repository; `sudo apt update && sudo apt upgrade` installs the latest stable release in place. The NPU firmware is separate: a manual flash, only when the runtime asks for it (see the firmware question below).

In a fleet, pin the runtime to a known-good version and roll upgrades out through one canary device first.

### How do I update the DEEPX runtime to the latest version?

With APT, from the Sixfab APT repository. It replaces the installed version in place and keeps the downloaded package in `/var/cache/apt/archives/`. The kernel driver is in the same package set, so it updates too. Restart the inference service or reboot afterwards so processes load the new libraries; the device node and the PCIe link are not affected.

```bash
# 1. Refresh the APT index and upgrade the DEEPX runtime
sudo apt update && sudo apt install sixfab-dx

# 2. Check the installed version
dxrt-cli -s
```

### How do I update the NPU firmware?

Download the firmware image from the DEEPX website and flash it with `dxrt-cli -u fw.bin`. It is rarely needed: only when the runtime reports a firmware version mismatch, or a newer runtime release requires newer firmware. The flash is manual (there is no over-the-air update), and the device must stay reachable over SSH during it. Check the firmware version with `dxrt-cli -s` before and after.

```bash
# 1. Check the current firmware version
dxrt-cli -s   # FW version : vX.Y.Z

# 2. Flash the firmware (fw.bin downloaded from deepx.ai)
dxrt-cli -u fw.bin

# 3. Confirm the new version is active
dxrt-cli -s
```

> [!NOTE]
> **When a flash is needed**
>
> If `dxrt-cli -s` shows the device without errors after a runtime upgrade, the firmware meets the runtime’s requirement and no flash is needed. If the runtime logs a firmware version mismatch, flash the firmware first, then run the runtime upgrade again.

### Will my `.dxnn` models still work after a runtime update?

Usually yes: runtime releases are backward compatible. A release without breaking changes keeps existing `.dxnn` files working without recompiling. When a release does change the model format, the runtime reports a version mismatch at load time instead of failing silently: recompile the ONNX source with the matching DX-COM version (see the [DXNN SDK workflow](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/workflow/)).

## Purchase

### Where do I buy the AI HAT+, and what does it cost?

From the [Sixfab shop](https://sixfab.com). The Sixfab AI HAT+ is listed at the published MSRP:

| Product | NPU | MSRP |
| --- | --- | --- |
| Sixfab AI HAT+ | DEEPX DX-M1M, 25 TOPS at INT8 | $150 |

The Raspberry Pi 5, the 27 W USB-C PD supply, and the Raspberry Pi Active Cooler are sold separately; see [What’s in the box](https://docs.sixfab.com/edge-ai/ai-hat-plus/#whats-in-the-box). For volume pricing, OEM and ODM projects, custom variants, or distribution, [contact Sixfab](https://sixfab.com/contact/).

## Still have questions?

Check [Troubleshooting](https://docs.sixfab.com/edge-ai/ai-hat-plus/troubleshooting/) first. When you contact support, include the output of `lspci` and `dxrt-cli -s`.

- [Email support](mailto:hello@sixfab.com): hello@sixfab.com for technical questions and RMA requests.
- [Community forum](https://community.sixfab.com): community.sixfab.com for developer discussion and shared builds.
- [Contact Sixfab](https://sixfab.com/contact/): Sales, volume pricing, custom variants, and partnership inquiries.
