This repository provides AI example applications for the Synaptics Astra SL2610 series with Synaptics Torq with Coral NPU. Follow the instructions below to set up your environment and run various AI examples in few minutes. Most examples offer a headless or display version.
- Astra – Explore the Astra AI platform.
- AI Developer Zone – Find step-by-step tutorials and resources.
The Torq compiler is based on the MLIR framework and IREE runtime. The examples use the Torq compiler to optimize models to run efficiently on the Torq NPU. See Torq documentation for details.
-
For the Machina Kit - see the Setting up the hardware guide.
-
For the Coralboard - see the Getting Started guide.
The applications in this repository were tested with the following version of the Astra SDK (Yocto-Project Linux):
- scarthgap_6.12_v2.5.0 - Relases Page
From the release page, locate the Out of Box Experience (OOBE) Image for your board and follow the update guide.
-
For the Astra Machina SL2610 Kit:
-
Locate and download the image downloader script for Image for sl2619_oobe_scarthgap
-
Follow the Astra Update Guide to update the eMMC on the board.
-
-
For the Coralboard Limited-Edition from Google IO 2026:
-
Locate and download the image downloader script for Image for sl2619_coralboard_oobe_scarthgap
-
Follow the Astra Update Guide to update the eMMC
-
-
For the Coralboard SL 2GB:
-
Locate and download the image downloader script for Image for sl2619_coralboard_oobe_scarthgap
-
Follow the Booting from SD Cards Guide to generate a bootable SD Card image
-
Power up the SL2610 kit and open a terminal - using ADB or other method. See hardware setup guide for details.
To enable online example updates and installation of dependencies, it is recommended to connect the kit to the network. See board-specific hardware setup guide for details.
There are three ways to connect an Astra development kit to the network.
- Ethernet (Astra Machina only)
- Network Sharing over USB (Astra SDK 2.3 and later) Read More
- WiFi/BT Module (Ampak AP12611_M2 with SYN43711) Read More
Change to the home directory. Always work out of the home directory.
⚠️ Warning:/home/rootis on a different partition than the root directory (/). The root partition has limited space, so cloning the repository or storing models/data outside of/home/rootcan cause the device to run out of space.
cd /home/root/Clone the repository and its torq-examples submodule using the following command:
git clone --recurse-submodules https://github.com/synaptics-astra-demos/sl2610-examplesNavigate to the Repository Directory:
cd sl2610-examplesIf you already cloned the repository without submodules, initialize them once:
git submodule update --init --recursiveTo update an existing clone with the latest changes, including the torq-examples submodule:
git pull
git submodule update --init --recursiveTo get started, set up your Python environment. This step ensures all required dependencies are installed and isolated within a virtual environment:
python3 -m venv .venv --system-site-packages
source .venv/bin/activateInstall dependencies
pip install --upgrade pip
pip install https://github.com/synaptics-torq/torq-compiler/releases/download/v2.1.0/torq_runtime-2.1.0-cp312-cp312-manylinux_2_28_aarch64.whl
pip install -r requirements.txtNote
This error message can be safely ignored.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torq-runtime 2.0.0 requires numpy>2.0.0b1, but you have numpy 1.26.4 which is incompatible.
Some demos require kernel modules, native libraries, or display configuration to be installed on the device.
Installer scripts are provided:
| Script | Type | Description | Require Reboot? |
|---|---|---|---|
install_portaudio.sh |
Required | Install PortAudio shared libraries for microphone demos | No |
portrait_setup.sh |
Optional | Configure portrait display orientation (recommended if you connect a MIPI DSI display) | No |
patch_usb_cdc.sh |
Optional | Install USB CDC/serial modules (For Neopixel controller support) | Yes |
Run the scripts one at a time:
Required:
./setup/install_portaudio.shOptional:
./setup/portrait_setup.sh
./setup/patch_usb_cdc.shCheck out the README.md files in each of the example folders.
- object_detection - detect objects with YoloV8
- image_classification - classify images with MobileNetV2
- speech_to_text - capture speech sentences with Moonshine
- speech_to_text_streaming - capture speech word-by-word with Moonshine V2
- gemma_translation - translate text to other languages using Gemma3
- function_calling - control a device with natural language
- jellectronica - turn a video stream into ambient music with Melody RNN
For the GUI versions of the demos (Object Detection, Gemma Translate, etc), systemd unit templates are provided in each demo's directory. These units assume the project is installed at /home/root/sl2610-examples by default.
To generate and install a service:
cd <demo_dir>
bash scripts/install-service.sh [--root /path/to/sl2610-examples]This will generate a .service file from the template and, if run as root on the target device, install it to /etc/systemd/system/.
- Astra – Explore the Astra AI platform.
- AI Developer Zone – Find step-by-step tutorials and resources.
- Astra SDK (Linux) - Customize your image.
- Torq Compiler Documentation - Compile and optimize models for powerful and efficient Edge AI performance.
Great technology becomes meaningful when used to make the world a better place. We are here to support you.
If you are stuck or find an issue, please raise a support ticket in the Astra Support Portal.