---
title: "Examples Overview"
description: "Every wrapped peripheral has a minimal reference example. Each example carries a board.yaml, an annotated src/main.c, and a boards/ overlay directory — they double as tutorials. Comment density is ~50 % so the source teaches by itself."
source: https://docs.alplab.ai/sdk/examples/overview
---

# Examples

Every wrapped peripheral has a minimal reference example. Each example carries a `board.yaml`, an annotated `src/main.c`, and a `boards/` overlay directory — they double as tutorials. Comment density is ~50 % so the source teaches by itself.

Browse the full tree at [`alp-sdk/examples`](https://github.com/alplabai/alp-sdk/tree/main/examples).

## Build any example

```bash
cd alp-workspace/alp-sdk

# Host smoke, no hardware — plain west (never retired). A bare west build
# reads a pre-generated per-core Kconfig fragment, so write it first:
python3 scripts/gen_example_alp_conf.py examples/<category>/<name>
west build -b native_sim/native/64 examples/<category>/<name> \
    -- -DEXTRA_CONF_FILE=generated/alp.conf
west build -t run

# Real silicon — the target comes from the example's board.yaml
# (`som.sku` + `preset`); `tan build` has no `-b` flag:
tan --project examples/<category>/<name> build
tan --project examples/<category>/<name> flash
```

:::note[Changed in alp-sdk v0.17.0: a bare `west build` needs `generated/alp.conf`]
An example's `CMakeLists.txt` no longer runs `scripts/alp_project.py` at configure time. `tan build` plans the per-core `alp.conf` from `board.yaml` itself; twister and a bare `west build` instead read `generated/alp.conf`, which `scripts/gen_example_alp_conf.py` writes (it is git-ignored, so a fresh checkout does not have it). Pass the example directory to generate one example, or no argument to generate them all. A bare `west build` without `-DEXTRA_CONF_FILE=generated/alp.conf` builds without the `board.yaml`-derived Kconfig.
:::

`tan` is the SDK's sole user-facing CLI as of v0.12.0 ([ADR 0020](https://github.com/alplabai/alp-sdk/blob/main/docs/adr/0020-sdk-owns-build-execution.md) Phase 4). The `west alp-build` / `alp-flash` / `alp-size` / `alp-image` / `alp-clean` / `alp-renode` extension commands were retired with the SDK-side build executor; `west alp-migrate` / `alp-lock` / `alp-quality` / `alp-emit` and plain `west build` / `west flash` all survive. Install `tan` from [`alplabai/tan-cli`](https://github.com/alplabai/tan-cli). **`tan` v0.7.0 requires alp-sdk v0.17.0 or newer** — against an older SDK, `tan build` fails Kconfig configure on any Zephyr board, so upgrade both together.

Several A55-side examples on V2N (for example [`v2n-temp-sensor`](https://docs.alplab.ai/sdk/examples/v2n/v2n-temp-sensor) and [`v2n-pmic-inspect`](https://docs.alplab.ai/sdk/examples/v2n/v2n-pmic-inspect)) are Linux user-space apps with no `meta-alp-sdk` recipe yet: `tan build` carries their slice with a `yocto-recipe-missing` warning rather than guess a bitbake target, and each page shows the Yocto SDK CMake build instead.

On `native_sim` most peripherals don't have emul controllers (only I²C / SPI / GPIO / UART do). Examples that target unwrapped peripherals exit after printing `alp_last_error()` — that's expected and proves the wrapper plumbing compiles + links cleanly.

## Cross-family examples

Work on any conformant SoM. Pick `som.sku` to match your hardware.

| Example | What it shows |
|---|---|
| [Hello World](https://docs.alplab.ai/sdk/examples/hello-world) | The first program — boot path + printf heartbeat + the capability API; no peripherals at all |
| [Blink](https://docs.alplab.ai/sdk/examples/blink) | Start here, before anything else — one LED pad as a plain digital GPIO; builds unmodified on both EVKs |
| [Board Self-Test](https://docs.alplab.ai/sdk/examples/board-selftest) | Run this first on a fresh board — SoM identity, SoC ping, power profile, I²C scan; SKIP is not FAIL |
| [GPIO Button + LED](https://docs.alplab.ai/sdk/examples/gpio-button-led) | GPIO open + input/output basics |
| [I²C Scanner](https://docs.alplab.ai/sdk/examples/i2c-scanner) | Walk an I²C bus, report ACK'ing devices |
| [I²C Master](https://docs.alplab.ai/sdk/examples/i2c-master) | Read a known device (the BMP581 barometer) at a known address through its chip driver |
| [I²C Device Hub](https://docs.alplab.ai/sdk/examples/i2c-device-hub) | Every populated device on the EVK sensor/power bus, one real chip driver each |
| [I²C Slave (Target Mode)](https://docs.alplab.ai/sdk/examples/i2c-slave) | Answer on the bus as a register-mapped target via `<alp/i2c_regfile.h>` |
| [PWM LED Fade](https://docs.alplab.ai/sdk/examples/pwm-led-fade) | PWM channel open + duty sweep |
| [ADC Voltmeter](https://docs.alplab.ai/sdk/examples/adc-voltmeter) | ADC sample + millivolt conversion |
| [DAC Waveform](https://docs.alplab.ai/sdk/examples/dac-waveform) | DAC sine generation (native DAC12 / GD32-bridged DAC0) |
| [Vendor-Ext Composability](https://docs.alplab.ai/sdk/examples/vendor-ext-composability) | One pad, three ways — vendor extensions are additive, never exclusive |
| [SPI Loopback](https://docs.alplab.ai/sdk/examples/spi-loopback) | SPI master TX/RX loopback |
| [SPI Master](https://docs.alplab.ai/sdk/examples/spi-master) | Discrete master — write / transceive / read against an external target |
| [SPI Slave (Target Mode)](https://docs.alplab.ai/sdk/examples/spi-slave) | `alp_spi_target_*` request/response, the bounded-wait pattern |
| [UART Hello World](https://docs.alplab.ai/sdk/examples/uart-hello-world) | "printf via UART" — open any port by portable instance ID |
| [UART Echo](https://docs.alplab.ai/sdk/examples/uart-echo) | UART TX + RX echo |
| [UART RX Ring Buffer](https://docs.alplab.ai/sdk/examples/uart-rx-ringbuf) | Interrupt-driven UART RX with byte-granular ring buffer |
| [Counter + Alarm](https://docs.alplab.ai/sdk/examples/counter-alarm) | Counter open + alarm callback |
| [Timer Periodic Interrupt](https://docs.alplab.ai/sdk/examples/timer-periodic-interrupt) | Periodic-out-of-one-shot alarm + the ISR-safety / flag-drain pattern (AEN) |
| [Power-Managed Sensor](https://docs.alplab.ai/sdk/examples/power-managed-sensor) | The `cores.<id>.power:` block — `sleep_mode: deep` + multi-source wakeup (AEN301) |
| [Quadrature Encoder Readout](https://docs.alplab.ai/sdk/examples/qenc-readout) | Quadrature-encoder position read |
| [RTC Clock](https://docs.alplab.ai/sdk/examples/rtc-clock) | Set + read SoC RTC |
| [Watchdog Feed](https://docs.alplab.ai/sdk/examples/wdt-feed) | Watchdog open + feed cadence |
| [CAN Loopback](https://docs.alplab.ai/sdk/examples/can-loopback) | CAN frame send + receive in loopback |
| [I²S Tone](https://docs.alplab.ai/sdk/examples/i2s-tone) | I²S sine-tone playback |
| [Audio Loopback](https://docs.alplab.ai/sdk/examples/audio-loopback) | PDM mic in → I²S speaker out |
| [Alp Console (example app)](https://docs.alplab.ai/sdk/examples/alp-console) | Hosting the `alp` shell — console + CC3501E Wi-Fi/BLE + RGB LED in one slot0 app |
| [Multi-Proc Mailbox](https://docs.alplab.ai/sdk/examples/mproc-mailbox) | M55-HP / M55-HE mailbox round-trip on AEN (both peer images ship) |
| [USB Host Storage](https://docs.alplab.ai/sdk/examples/usb-host-storage) | USB mass-storage host via `<alp/usb.h>` — build-verified on AEN401, xHCI bring-up bench-gated |
| [Butterworth Low-Pass](https://docs.alplab.ai/sdk/examples/butterworth-lowpass) | Design a biquad + run tones through the `<alp/dsp>` IIR chain — pure compute, any SoM |

New to the SDK? Start at [`hello-world`](https://docs.alplab.ai/sdk/examples/hello-world) — it proves your toolchain, flash flow, and console before any peripheral is involved.

## Third-party library examples

How to enable and use each optional library the SDK integrates, via `board.yaml`'s `libraries:` key. One focused example per library; **every one builds and runs on `native_sim/native/64`**, so none needs hardware to try. Several decode or parse in a CPU/RAM-backed way on the host and document the hardware-backed path as a `board.yaml` swap.

All are `[UNTESTED]` on real silicon — read each page's banner before relying on it, since a few carry narrower claims than the rest.

| Example | Library | What it shows |
|---|---|---|
| [ETL Fixed Containers](https://docs.alplab.ai/sdk/examples/etl-fixed-containers) | etl | `etl::vector` / `etl::map` — fixed-capacity, no heap, no STL |
| [fmt Formatting](https://docs.alplab.ai/sdk/examples/fmt-formatting) | fmt | `fmt::format_to` into a fixed buffer — no allocation, no iostream |
| [Catch2 Self-Test](https://docs.alplab.ai/sdk/examples/catch2-selftest) | Catch2 v3 | Host unit-test binary — `TEST_CASE`s over a pure helper |
| [doctest Self-Test](https://docs.alplab.ai/sdk/examples/doctest-selftest) | doctest | Header-only host unit-test binary |
| [littlefs Key/Value](https://docs.alplab.ai/sdk/examples/littlefs-keyvalue) | littlefs | Mount a RAM-backed LFS; write / read / list a key-value file |
| [jsmn JSON Parse](https://docs.alplab.ai/sdk/examples/jsmn-json-parse) | jsmn | Tokenize an embedded JSON config into a typed struct |
| [nanopb Encode/Decode](https://docs.alplab.ai/sdk/examples/nanopb-encode-decode) | nanopb | Protobuf message encode → buffer → decode round-trip |
| [CoAP Client GET](https://docs.alplab.ai/sdk/examples/coap-client-get) | coap (in-tree) | Build a CoAP GET PDU + parse a response PDU with the real API |
| [WebSocket Frame](https://docs.alplab.ai/sdk/examples/websocket-frame) | libwebsockets | RFC 6455 masked frame round-trip (hand-rolled — see page) |
| [Modbus Server](https://docs.alplab.ai/sdk/examples/modbus-server) | modbus (in-tree) | In-process client + server over RAW_ADU; the register model |
| [minimp3 Decode](https://docs.alplab.ai/sdk/examples/minimp3-decode) | minimp3 | Decode an embedded MP3 blob → PCM; print sample count + RMS |
| [u8g2 OLED Draw](https://docs.alplab.ai/sdk/examples/u8g2-oled-draw) | u8g2 | Render to a RAM framebuffer; ASCII-dump it (HW = SSD1306) |
| [gfx_compat Blit](https://docs.alplab.ai/sdk/examples/gfx-compat-blit) | gfx_compat (in-tree) | Fill + blit an RGB565 buffer through the SW-fallback shim |

:::info[`mqtt-sn-publish` was removed in alp-sdk v0.17.0]
The `coreMQTT-SN` library's upstream repository no longer exists, so alp-sdk dropped the library — its west project, its `ALP_MQTTSN_*` Kconfig knobs and the `mqtt-sn-publish` example. MQTT itself is unaffected: `<alp/iot.h>`'s `alp_mqtt_*` surface does not depend on it.
:::

## V2N-specific examples

Exercise the V2N's on-module GD32 bridge, its management bus, secure element and SoC-level surfaces.

:::info[V2N examples changed shape in alp-sdk v0.17.0]
`BRD_I2C` — the on-module management bus — is now **A55/Linux-exclusive**: the Cortex-M33 must never master it. The examples that read devices on it (`v2n-temp-sensor`, `v2n-secure-element-sign`, `v2n-brd-i2c-bringup`) moved to the A55 as Linux user-space apps. Four M33 examples that drove A55-owned peripherals were **removed**: `v2n-xspi-flash-readwrite`, `v2n-emmc-block-stat` and `v2n-ethernet-dual` (Linux owns xSPI0, the eMMC and the Ethernet MACs, and no portable surface exists to retarget them), and `v2n-rtc-multi-alarm` (the RTC is Linux's `/dev/rtc0`).
:::

**Cortex-M33 (Zephyr)**

| Example | What it shows |
|---|---|
| [GD32 Bridge Ping](https://docs.alplab.ai/sdk/examples/v2n/v2n-gd32-bridge-ping) | Continuous PING + GET_VERSION liveness over the 25 MHz SPI fast path |
| [Board ID Readout](https://docs.alplab.ai/sdk/examples/v2n/v2n-board-id-readout) | Read SoM EEPROM manifest + assert SKU |
| [EEPROM Manifest Dump](https://docs.alplab.ai/sdk/examples/v2n/v2n-eeprom-manifest-dump) | Hexdump + decode the 128-byte EEPROM manifest |
| [PWM Fan Control](https://docs.alplab.ai/sdk/examples/v2n/v2n-pwm-fan-control) | Ramp a GD32-side PWM channel along a fan curve |
| [GD32 SWD Flash](https://docs.alplab.ai/sdk/examples/v2n/v2n-gd32-swd-flash) | Host-driven SWD bit-bang — bridge firmware recovery |
| [GD32 Bridge HIL Soak](https://docs.alplab.ai/sdk/examples/v2n/v2n-gd32-bridge-hil-soak) | Full-command-set pass/fail soak of the bridge (silicon-validated) |
| [GD32 Bridge Functional](https://docs.alplab.ai/sdk/examples/v2n/v2n-gd32-bridge-functional) | Value-asserting single pass over the bridge surfaces + a forever PWM7 scope staircase |
| [GD32 Bridge Loopback (Jumpered)](https://docs.alplab.ai/sdk/examples/v2n/v2n-gd32-bridge-loopback) | Tier-B: three copper jumpers close DAC→ADC, PWM→QENC, PWM→capture (bench-only) |

**Cortex-A55 (Linux / Yocto)**

| Example | What it shows |
|---|---|
| [Temperature Sensor](https://docs.alplab.ai/sdk/examples/v2n/v2n-temp-sensor) | On-module TMP112 read loop at `0x40` |
| [SoC Die Temperature](https://docs.alplab.ai/sdk/examples/v2n/v2n-soc-temperature) | The die (junction) temperature through the portable `alp_temperature_read_die_milli_c()` |
| [Secure-Element Sign](https://docs.alplab.ai/sdk/examples/v2n/v2n-secure-element-sign) | OPTIGA Trust M probe, Coprocessor UID read and raw APDU session (read-only) |
| [BRD_I2C Bring-up](https://docs.alplab.ai/sdk/examples/v2n/v2n-brd-i2c-bringup) | Read-only scan + probe of every management-bus IC |
| [PMIC Inspect](https://docs.alplab.ai/sdk/examples/v2n/v2n-pmic-inspect) | Read-only-by-default inspector for the on-module ACT88760 / DA9292 / TPS628640, with guarded write actions |
| [Power Monitor](https://docs.alplab.ai/sdk/examples/v2n/v2n-power-monitor) | Live per-rail power table from the EVK's INA236 + INA228 monitors (EVK-only) |
| [DRP-AI3 Inference](https://docs.alplab.ai/sdk/examples/v2n/v2n-drpai-inference) | Raw-frame inference on the on-die DRP-AI3 through `<alp/inference.h>` (`[UNTESTED on silicon]`) |
| [GPU2D Layer Compose](https://docs.alplab.ai/sdk/examples/v2n/v2n-gpu2d-compose) | `<alp/gpu2d.h>` on the Mali-G31, CPU fallback otherwise — same source (`[UNTESTED on silicon]`) |
| [ROS 2 SoM Temperature](https://docs.alplab.ai/sdk/examples/v2n/v2n-ros2-som-temperature) | The smallest Alp SDK + ROS 2 node, portable temperature API only (`[UNTESTED]`) |

### V2N-M1 (DEEPX DX-M1)

All three are `[UNTESTED]` as examples. The DX-M1 itself is bench-verified through DEEPX's own tools on an E1M-V2M103 — see [E1M-X V2N-M1](https://docs.alplab.ai/e1m/e1m-x-v2n-m1#dx-m1-on-silicon).

| Example | What it shows |
|---|---|
| [DEEPX DX-M1 Inference](https://docs.alplab.ai/sdk/examples/v2n/v2n-m1-deepx-inference) | The M33-side handle open through `<alp/inference.h>`; the rail and PCIe link are U-Boot's, real DEEPX inference runs on the A55 |
| [Two Models, Two NPUs](https://docs.alplab.ai/sdk/examples/v2n/v2n-two-models) | DRP-AI3 and the DX-M1 running two models at once, one thread each (A55) |
| [ROS 2 Perception Node](https://docs.alplab.ai/sdk/examples/v2n/v2n-m1-ros-perception) | A55/Yocto ROS 2 node; detection on DEEPX, auto-fallback to DRP-AI3 on plain V2N |

## AEN-specific examples

The v0.7 on-silicon bring-up of the **E1M-AEN801** (Alif Ensemble E8) shipped a full bench suite — 15/17 `aen-*` apps PASS on real hardware — and later releases extended it on the **E1M-AEN803** (the same PCB with external HyperRAM + NOR). See [E1M-AEN bench status](https://docs.alplab.ai/e1m/e1m-aen#e1m-aen801-alif-e8-bench-status).

| Example | What it shows |
|---|---|
| [EdgeAI Vision (AEN)](https://docs.alplab.ai/sdk/examples/aen/edgeai-vision-aen) | Camera → ISP → Ethos-U inference → OLED overlay |
| [NPU Inference (Ethos-U85)](https://docs.alplab.ai/sdk/examples/aen/aen-npu-inference) | Vela int8 model on the Ethos-U85; real `person_detect` MobileNet from MRAM (PASS) |
| [CC3501E Bring-up](https://docs.alplab.ai/sdk/examples/aen/aen-cc3501e-bringup) | Power + PING the TI CC3501E Wi-Fi/BLE bridge over inter-chip SPI |
| [CC3501E GPIO Proxy](https://docs.alplab.ai/sdk/examples/aen/aen-cc3501e-gpio) | Drive + read a proxied CC3501E GPIO and the camera LDOs over the bridge |
| [CC3501E Companion Tour](https://docs.alplab.ai/sdk/examples/aen/aen-cc3501e-companion-tour) | The capstone: init → Wi-Fi scan/connect → TCP socket → BLE scan → proxied GPIO |
| [CC3501E BLE GATT](https://docs.alplab.ai/sdk/examples/aen/aen-cc3501e-ble-gatt) | Silicon-proven GATT-server advertise path through portable `<alp/ble.h>` (server-only bench) |
| [CC3501E GATT Register](https://docs.alplab.ai/sdk/examples/aen/aen-cc3501e-gatt-register) | Dynamic GATT registration + register-before-advertise ordering guard (PASS/FAIL gate) |
| [Ethernet Link](https://docs.alplab.ai/sdk/examples/aen/aen-ethernet-link) | E8 GMAC up + DHCP lease (bench-verified; DMA buffers in SRAM0) |
| [Analog Validate](https://docs.alplab.ai/sdk/examples/aen/aen-analog-validate) | DAC0 → ADC loopback with corrected E8 references (not bench-verified) |
| [EEPROM Manifest](https://docs.alplab.ai/sdk/examples/aen/aen-eeprom-manifest) | Read + decode the 128-byte SoM manifest over SoC I²C2, plus the EEPROM's `0x58` identity page |
| [EEPROM Provision](https://docs.alplab.ai/sdk/examples/aen/aen-eeprom-provision) | **Write** + verify the manifest — the production-line provisioning step, with an optional, irreversible Secure Data Page lock |
| [Dual-Core Boot & IPC](https://docs.alplab.ai/sdk/examples/aen/aen-dualcore-ipc) | Boot both M55 cores; HE↔HP doorbell + shared-memory round-trips |
| [Dual-Core RPC / RPMsg](https://docs.alplab.ai/sdk/examples/aen/aen-rpc-pingpong) | OpenAMP RPMsg pingpong over MHUv2 (16/16 PASS) |
| [Secure-Element Sign](https://docs.alplab.ai/sdk/examples/aen/aen-secure-element-sign) | OPTIGA Trust M probe + Coprocessor UID read over `BRD_I2C` (read-only). E1M-AEN R3 has no secure element, so on AEN the probe has nothing to find |
| [Peripheral Regchecks](https://docs.alplab.ai/sdk/examples/aen/aen-regchecks) | All 21 `aen-*-regcheck` on-silicon driver checks, in one index |
| [AEN bench + bring-up tools](https://docs.alplab.ai/sdk/examples/aen/aen-bench-tools) | The 58 other bench apps — dual-core, TrustZone + SE, NPU, camera + display, power, storage, CC3501E diagnostics, peripheral bench, board demos |

:::info[`aen-sim-vision` was removed in alp-sdk v0.16.0]
`examples/aen/aen-sim-vision/` is deleted. Its only run path was `tan renode`, and [ADR 0022](https://github.com/alplabai/alp-sdk/blob/main/docs/adr/0022-python-executor-renode-retirement.md) Amendment 2 (2026-08-17) retired Renode from alp-sdk, `tan-cli` and the VS Code extension — verb, CI workflows, platform models and fixtures. Build and flash to real hardware (`tan build` + `tan flash`), or run a single image headless under `native_sim` with `tan run` when it has no cross-core dependency. There is **no** simulated substitute for the cross-core RPMsg handshake — that must be verified on silicon.
:::

### The AEN bench class

Beyond the catalog examples above, `examples/aen/` holds 79 **bench and bring-up tools** that carry **no `board.yaml`** — so they are outside the catalog and outside the portable-example contract by construction. They exist to validate E8 silicon, not as app templates. Two aggregate pages index the whole set:

- [**Peripheral Regchecks**](https://docs.alplab.ai/sdk/examples/aen/aen-regchecks) — the 21 `aen-*-regcheck` apps: functional checks, DT binding/staging checks, and the NPU presence probes.
- [**AEN bench + bring-up tools**](https://docs.alplab.ai/sdk/examples/aen/aen-bench-tools) — the remaining 58, four of which ([dual-core IPC](https://docs.alplab.ai/sdk/examples/aen/aen-dualcore-ipc), [RPMsg](https://docs.alplab.ai/sdk/examples/aen/aen-rpc-pingpong), [Ethernet](https://docs.alplab.ai/sdk/examples/aen/aen-ethernet-link), [NPU inference](https://docs.alplab.ai/sdk/examples/aen/aen-npu-inference)) also have their own pages above: dual-core boot + IPC, TrustZone + secure element, NPU + inference, camera + display, power, storage + memory, CC3501E link diagnostics, the peripheral bench, and the `aen-evk-demo` / `aen-trace-runner` board demos.

## Application demos (v0.5 showcase, `[UNTESTED]`)

End-to-end demos that combine multiple chip drivers + library knobs + LVGL UIs. All marked `[UNTESTED]` — they compile and pass smoke tests, but none has been brought up on hardware as of alp-sdk v0.17.0. The version in each page's banner is the release the example was written for.

### Edge AI

| Demo | What it shows |
|---|---|
| [AI Camera Viewer](https://docs.alplab.ai/sdk/examples/ai-camera-viewer) | OV5640 → Ethos-U person-detect → LVGL bbox overlay (AEN) |
| [Realtime Object Detection](https://docs.alplab.ai/sdk/examples/ai-object-detection-realtime) | OV5640 → DEEPX DX-M1 YOLOv8-tiny → LVGL overlay (V2N-M1) |
| [Vibration Anomaly Detection](https://docs.alplab.ai/sdk/examples/ai-anomaly-detection-vibration) | LSM6DSO vibration window → 1D-CNN anomaly score (AEN) |

### Edge AI — sensing & predictive maintenance (v0.9)

New verticals added in v0.9. Each ships DSP feature cores host-unit-tested on `native_sim`, a model stub with a deterministic fallback (no trained model shipped), and HiL bench-gated. A `som.sku` flip to `E1M-V2M101` does not reach the DEEPX DX-M1: the DX-M1 is an A55 / Linux-only backend, and `E1M-V2M101` has only `a55_cluster` and `m33_sm` (no `m55_hp`). An M33 build gets the TFLM CPU kernels; a DX-M1 path needs an A55 / Yocto app.

Their spectral and statistical maths run on the portable [`<alp/dsp.h>`](https://docs.alplab.ai/sdk/api/dsp) chain — an `ALP_DSP_STAGE_FFT` stage plus `alp_dsp_stats_f32()`, backed by CMSIS-DSP on the M55 and portable C on `native_sim` — rather than hand-rolled FFT/stats code. The one deliberate exception is [`acoustic-anomaly-wind-turbine`](https://docs.alplab.ai/sdk/examples/acoustic-anomaly-wind-turbine), which keeps a single-bin Goertzel for a reason it explains on its page.

| Demo | What it shows |
|---|---|
| [Visual Defect Detection](https://docs.alplab.ai/sdk/examples/visual-defect-detection) | CSI camera → autoencoder reconstruction-error surface anomaly → PASS/FAIL (AEN) |
| [Cold-Chain Monitor](https://docs.alplab.ai/sdk/examples/cold-chain-monitor) | BME280 → MKT / dewpoint / excursion metrics → 4-state integrity classifier |
| [Multimodal Fusion PdM](https://docs.alplab.ai/sdk/examples/multimodal-fusion-pdm) | Vibration + current + temperature fused → cross-modal fault hypothesis |
| [Motor Current Signature](https://docs.alplab.ai/sdk/examples/motor-current-signature) | INA236 DC current window → 5-state motor classifier (OFF/NORMAL/INRUSH/OVERLOAD/STALL) |
| [Wearable Activity + Fall](https://docs.alplab.ai/sdk/examples/wearable-activity-fall) | ICM-42670 IMU → activity classifier + rule-based 3-phase fall detector |
| [Rail Predictive Maintenance](https://docs.alplab.ai/sdk/examples/rail-predictive-maintenance) | ICM-42670 vibration + NEO-M9N GNSS → geotagged rail-defect survey, one CSV/25 m |

### Audio AI

| Demo | What it shows |
|---|---|
| [Wake-Word ("Hey Alp")](https://docs.alplab.ai/sdk/examples/audio-wake-word) | Always-on KWS on AEN's low-power AI subsystem (M55 HE + Ethos-U55) |
| [Noise Suppression](https://docs.alplab.ai/sdk/examples/audio-noise-suppression) | Real-time spectral denoise (V2N) — headset / hearable / conferencing |
| [Acoustic Safety Events](https://docs.alplab.ai/sdk/examples/acoustic-safety-events) | PDM mic → per-frame DSP → 4-class event classifier (AMBIENT/GLASS_BREAK/ALARM/SCREAM) |
| [Acoustic Anomaly (Wind Turbine)](https://docs.alplab.ai/sdk/examples/acoustic-anomaly-wind-turbine) | Nacelle mic → rotor-order normalised anomaly score at blade-pass harmonics |

### Drone

| Demo | What it shows |
|---|---|
| [Drone HUD](https://docs.alplab.ai/sdk/examples/drone-hud) | IMU + GNSS + battery + ST7789 attitude HUD with LVGL; Madgwick fusion via [`<alp/ahrs.h>`](https://docs.alplab.ai/sdk/api/ahrs) |
| [Drone Autopilot](https://docs.alplab.ai/sdk/examples/drone-autopilot) | Quadcopter flight controller — cascaded 1 kHz / 250 Hz / 25 Hz loops on the portable [`<alp/pid.h>`](https://docs.alplab.ai/sdk/api/pid) |

### IoT

| Demo | What it shows |
|---|---|
| [MQTT Telemetry](https://docs.alplab.ai/sdk/examples/mqtt-telemetry) | Wi-Fi station + `mqtts://` publish loop over the AEN801 CC3501E bridge — `preview`; mbedTLS now builds on every target, no broker round-trip captured |
| [IoT Dashboard](https://docs.alplab.ai/sdk/examples/iot-dashboard) | BME280 → MQTT/TLS publish + local LVGL dashboard |
| [IoT Fleet OTA](https://docs.alplab.ai/sdk/examples/iot-fleet-ota) | Mender + MCUboot + OPTIGA-pinned ECDSA-P256 signed updates |
| [Firmware Update Log](https://docs.alplab.ai/sdk/examples/firmware-update-log) | Tamper-evident, hash-chained firmware-update audit log (portable) |
| [Camera MJPEG Stream](https://docs.alplab.ai/sdk/examples/camera-mjpeg-stream) | `<alp/camera.h>` → `<alp/jpeg.h>` → HTTP MJPEG from the board; pipeline bench-proven on E1M-AEN803, synthetic frame on `native_sim` |

### LVGL UI

| Demo | What it shows |
|---|---|
| [LVGL Widgets Demo](https://docs.alplab.ai/sdk/examples/lvgl-widgets-demo) | Headline LVGL widget showcase on ST7789 |
| [LVGL Benchmark](https://docs.alplab.ai/sdk/examples/lvgl-benchmark) | Per-scene FPS comparison across SoMs — reveals what GPU2D / DMA2D buy you per SKU |
| [LVGL Music Player](https://docs.alplab.ai/sdk/examples/lvgl-music-player) | Upstream `lv_demo_music()` player UI (display-only — no audio path) |
| [LVGL Dashboard (E1M-X EVK)](https://docs.alplab.ai/sdk/examples/lvgl-dashboard-x-evk) | LVGL 9 on the V2N MIPI-DSI panel via Linux DRM/KMS — the A55-side counterpart |

The Zephyr LVGL examples all open their panel with `alp_display_open()` ([`<alp/display.h>`](https://docs.alplab.ai/sdk/api/display)) and bind LVGL via `alp_gui_lvgl_attach()` ([`<alp/gui.h>`](https://docs.alplab.ai/sdk/api/gui)) with `CONFIG_LV_Z_AUTO_INIT=n`, rather than calling Zephyr's `display_*` APIs directly. [`lvgl-widgets-demo`](https://docs.alplab.ai/sdk/examples/lvgl-widgets-demo) carries the reference init sequence. `lvgl-dashboard-x-evk` is the exception: on Linux the DRM stack *is* the portable surface, so it uses LVGL's DRM backend directly.

### Heterogeneous-compute (v0.6 flagships)

One `board.yaml`, one orchestrator pass, two OSes — A-class Yocto + M-class Zephyr on the same SoM, talking through framed RPMsg via [`<alp/rpc.h>`](https://docs.alplab.ai/sdk/api/rpc). Walkthrough at [Heterogeneous Builds](https://docs.alplab.ai/sdk/heterogeneous-builds).

| Demo | What it shows |
|---|---|
| [`rpmsg-v2n`](https://docs.alplab.ai/sdk/examples/rpmsg-v2n) | V2N101 A55 (Yocto) ↔ M33-SM (Zephyr) RPMsg echo transport — bench-proven |
| [`rpmsg-aen`](https://docs.alplab.ai/sdk/examples/rpmsg-aen) | AEN801 A32 (Yocto) ↔ M55-HP (Zephyr) — structural draft; carve-out blocked, A32 slice not buildable today |
| [`microros-ros2-v2n`](https://docs.alplab.ai/sdk/examples/microros-ros2-v2n) | micro-ROS on the V2N M33 publishing into ROS 2 on the A55, over the same RPMsg channel (builds and boots; no round-trip yet) |
| [`heterogeneous-offload`](https://docs.alplab.ai/sdk/examples/heterogeneous-offload) | A55 delegates FFT to the M33-SM peer via synchronous `alp_rpc_call` |

:::info[`rpmsg-imx93` was removed in alp-sdk v0.17.0]
The E1M-NX9101 (NXP i.MX 93) module was never produced, so alp-sdk removed its support — SoM preset, SoC spec, Yocto machine, vendor directory, and the `rpmsg-imx93` example. `tan` v0.7.0 no longer plans or builds `E1M-NX9101` either.
:::

## End-to-end reference applications

| Application | Stack |
|---|---|
| [EdgeAI Vision (AEN)](https://docs.alplab.ai/sdk/examples/aen/edgeai-vision-aen) | Camera capture → ISP → Ethos-U inference → on-board OLED |
| [IoT Connected Camera](https://docs.alplab.ai/sdk/examples/iot-connected-camera) | Camera capture → DRP-AI inference → MQTT/TLS publish + LVGL UI (staged skeleton today) |
| [Production Deployment](https://docs.alplab.ai/sdk/examples/production-deployment) | The v1.0 integration flagship — factory provisioning → secure boot → OTA → remote attestation |

All three follow the same `board.yaml` workflow at a larger scale.

## See also

- [Quick start](https://docs.alplab.ai/sdk/quick-start) — first example end-to-end
- [Firmware quickstart](https://docs.alplab.ai/sdk/firmware-quickstart) — per-SoM patterns
- [`board.yaml` reference](https://docs.alplab.ai/sdk/board-yaml)
