FRDM i.MX 95 Pro Hands-On: ARA240 DNPU AI Accelerator
FRDM i.MX 95 Pro Hands-On Training Series | September 2026
Introduction
This hands-on walks you through the ARA240 DNPU AI Accelerator integrated with the FRDM i.MX 95 Pro development board. The ARA240 is an M.2-form-factor neural processing unit that connects over PCIe and dramatically expands the board's AI inference capability — from classic computer-vision pipelines to large language models (LLMs) and vision-language models (VLMs) — all powered by NXP's eIQ software stack.
Item
Details
Host Board
FRDM i.MX 95 Pro
AI Accelerator
ARA240 DNPU (up to 2 modules)
BSP
L6.18.20-2.0.0 (precompiled, available on the NXP website)
Interface
PCIe via M.2 Key-M slots J24 / J25
By the end of this hands-on you will be able to:
Verify that the ARA240 DNPU is correctly detected by the system.
List, download, and run AI models (CNN, LLM, VLM) on the accelerator.
Measure DNPU performance metrics using the provided shell utilities.
Configure and start the eIQ AAF Connector service to expose a REST API for AI inference.
Send chat-completion requests to a locally running LLM through the connector's web interface.
Troubleshoot the most common setup issues.
Hardware & Prerequisites
Gather the following before starting:
Hardware
FRDM-IMX95-PRO development board
ARA240 DNPU module (one or two, depending on your use case)
Keyboard (for direct board interaction)
Host machine with a web browser (to access the connector API UI)
Internet connection (required for model downloads)
M.2 Connector Reference
Connector
Purpose
J24
M.2 Key-M slot — ARA240 Module #1
J25
M.2 Key-M slot — ARA240 Module #2
J9
Fan power supply for the module in J24
J10
Fan power supply for the module in J25
Software
BSP L6.18.20-2.0.0 — precompiled image available on the NXP website.
Watch the Hands-On Video
The video below walks through the complete ARA240 DNPU setup and demo flow on the FRDM i.MX 95 Pro, covering device detection, model download, inference testing, NPU metrics, and the eIQ AAF Connector in action. Watch it alongside the step-by-step instructions in the next section.
Steps to Run the Hands-On
All commands below are run directly on the FRDM i.MX 95 Pro board (via serial console or SSH). The eIQ utilities are pre-installed in the BSP image.
Step 1 — Verify Device Detection
After powering on the board with the ARA240 module seated in J24 (and/or J25), confirm the accelerator is recognized by the system:
# Device Detection & Status
chip_info.sh
The script prints the detected DNPU chip information. If nothing is returned, check the M.2 seating and fan-power connectors (J9/J10).
Step 2 — List Available Models
Use the fetch_models utility to see which AI models are available for download:
# List available models
fetch_models --list
The output shows model IDs for CNN, LLM, and VLM workloads that are compatible with the ARA240.
Step 3 — Download a Model
Download a model by its repository ID. The example below fetches a 7-billion-parameter instruction-tuned LLM:
# Download a specific model (example: Qwen2.5 7B)
fetch_models --repo-id nxp/Qwen2.5-7B-Instruct-Ara240
Models are stored under /usr/share/ in subdirectories named cnn , llm , or vlm depending on the model type.
Step 4 — Run Inference Performance Tests
Once a model is downloaded, benchmark its inference performance on the DNPU:
# Running Inference Tests
run_model_perf.sh
Step 5 — Measure DNPU Metrics
Capture real-time NPU utilization and performance counters:
# Measuring DNPU Metrics
ara2_metrics.sh
Step 6 — Configure and Start the eIQ AAF Connector
The eIQ AAF Connector exposes a REST API (OpenAI-compatible) so any HTTP client or web application can send inference requests to the ARA240. Follow these steps:
# Check whether the connector service is already running
systemctl status eiq-aaf-connector.service
# Start the connector service (systemd-managed)
systemctl start eiq-aaf-connector.service
# Stop the connector service when done
systemctl stop eiq-aaf-connector.service
# Edit the connector configuration (model path, port, etc.)
vi /usr/share/eiq/aaf-connector/server_config.json
# Alternatively, start the connector manually (foreground)
/usr/share/eiq/aaf-connector/venv/bin/connector --host 0.0.0.0 --port 8000
Once the connector is running, open the interactive API documentation in a browser on your host machine (replace <board-ip> with the board's actual IP address):
# Open the connector Web API interface in a browser
http://<board-ip>:8000/docs
Step 7 — Send a Chat Completion Request
With the connector running and a downloaded LLM, you can send an OpenAI-compatible chat completion request directly from the API docs page or via any HTTP client:
# Example chat completion payload (POST to /v1/chat/completions)
{
"model": "Qwen2.5-7B-Instruct",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant"
},
{
"role": "user",
"content": "hello, how are you?"
}
]
}
Troubleshooting
Symptom
What to Check
chip_info.sh returns nothing / DNPU not detected
Verify the ARA240 module is firmly seated in J24 or J25. Confirm the fan-power cable is connected to J9 (for J24) or J10 (for J25). Reboot the board after reseating.
fetch_models --list fails or model download hangs
Check internet connectivity: ping 8.8.8.8 If DNS resolution fails, set it manually: echo nameserver 8.8.8.8 > /etc/resolv.conf
Model not found after download
Verify the model landed in the correct directory: ls /usr/share/<cnn|llm|vlm>/
Certificate or TLS errors during model download
The board's system clock may be wrong. Set the correct date and time: date --set="18 SEP 2026 13:00:00" Then retry the download.
Connector service fails to start
Check journalctl -u eiq-aaf-connector.service for error details. Ensure server_config.json points to a valid downloaded model path.
Conclusion
In this hands-on you:
Connected the ARA240 DNPU AI Accelerator to the FRDM i.MX 95 Pro via PCIe (M.2 Key-M).
Verified device detection and explored available AI models using the eIQ command-line utilities.
Downloaded and benchmarked a large language model on the DNPU.
Measured real-time NPU performance metrics with ara2_metrics.sh .
Configured and launched the eIQ AAF Connector to expose an OpenAI-compatible REST API.
Sent a live chat-completion request to a locally running LLM — entirely on the edge.
For a full visual walkthrough, watch the demo video above. Explore the rest of the FRDM i.MX 95 Pro Hands-On Training Hub for additional modules covering cameras, connectivity, multimedia, and more.
View full article