Skip to main content

edgeai-vision-aen

End-to-end EdgeAI reference application for the E1M EVK populated with an E1M-AEN801 SoM (Alif Ensemble E8).

Source: examples/aen/edgeai-vision-aen/.

Status

VersionStatusWhat works
v0.1skeletonCompiles under native_sim/native/64 and on the EVK once the AEN board file lands. Init flow is real (I²C, OLED, IMU); camera + Ethos-U inference are stubbed.
v0.2targetReal OV5640 capture via <alp/camera.h>, Vela-compiled MobileNetV2 inference on Ethos-U55-HP, results overlay on OLED. Acceptance bar: ≥ 10 fps.

board.yaml

som:
sku: E1M-AEN801

preset: e1m-evk

cores:
m55_hp:
app: ./src
peripherals: [i2c, gpio]
libraries: [cmsis-dsp]
inference: { tensor_arena_kb: 512 } # Ethos-U dispatcher is silicon-determined on AEN; app picks via alp_inference_open(.backend=...)

chips:
- ssd1306
- lsm6dso
- button_led
- optiga_trust_m

diagnostics:
log_level: info

Layout

edgeai-vision-aen/
├── CMakeLists.txt
├── prj.conf
├── board.yaml
├── boards/alp_e1m_aen801_m55_he_ae822fa0e5597ls0_rtss_he.overlay
├── src/main.c
└── models/ # drop a Vela-compiled .tflite here

Build

cd alp-sdk/examples/aen/edgeai-vision-aen

# Host smoke test
tan run

# On the EVK
tan build && tan flash

The build target comes from board.yaml (som.sku + preset), not from a -b flag: tan build materialises the plan and runs each slice's build command directly, for whatever board.yaml targets — here the EVK slice.

tan run is separate: it does its own host build into build/native_sim/ and executes the resulting zephyr.exe, so it neither needs nor consumes tan build's output.

The v0.1 build prints which SDK pieces it successfully initialised and which v0.2 stubs it skipped.

SDK surfaces exercised

SurfaceUsed for
<alp/peripheral.h>I²C + GPIO init
<alp/chips/ssd1306.h>Status overlay
<alp/chips/lsm6dso.h>Tilt-aware viewport (v0.2)
<alp/chips/button_led.h>Capture trigger / inference toggle
<alp/camera.h>OV5640 capture (v0.2)
<alp/inference.h>Ethos-U55 dispatch (v0.2)

See also

Questions about this page? Discuss in Community Forum