Skip to content

Examples

Eight ready-to-build example apps ship in the examples/ directory. Each one is a self-contained NSX app — clone the repo and you can configure, build, and flash immediately.

All examples target the Apollo510 EVB (apollo510_evb profile).

Quick Start

git clone https://github.com/AmbiqAI/neuralspotx.git
cd neuralspotx/examples/hello_world

nsx configure --app-dir .
nsx build     --app-dir .
nsx flash     --app-dir .   # requires J-Link
nsx view      --app-dir .   # live SWO stream

Available Examples

hello_world

Minimal SWO printf loop. Start here to verify your toolchain and board.

coremark

EEMBC CoreMark with ITCM execution and NVM shutdown for clean power numbers.

power_benchmark

Three-phase power measurement: CoreMark, idle, and deep sleep.

pmu_profiling

Cortex-M55 PMU cycle counting, cache hits, and branch mispredicts.

kws_infer

TFLite Micro keyword-spotting inference with CMSIS-NN kernels.

audio_capture

PDM microphone capture with RMS/peak statistics over SWO.

usb_serial

USB CDC virtual COM port echo app.

usb_rpc

USB vendor-class RPC with nanopb protobuf serialization.