ST Edge AI Core Documentation

ST Edge AI Core logo

ST Edge AI Core is a command-line tool ( stedgeai) that compiles pre-trained deep learning (DL) and machine learning (ML) models into optimized libraries ready to run on ST devices — enabling edge AI on microcontrollers (MCUs), microprocessors (MPUs), and smart sensors.

Key capabilities:

  • Analyze a model to estimate memory footprint (ROM/RAM) and computational complexity (MACC)

  • Validate the deployed C-model against the original model using random or custom datasets, either on the host or directly on target hardware

  • Generate specialized C-files optimized for the selected ST target

Supported targets include the STM32 family (Cortex-M series, including STM32N6 and STM32H7P with the Neural-ART NPU), Stellar automotive MCUs (SR5/SR6 families, including SR6P3E with the Neural-ART NPU), ISPU intelligent sensor processing units, and MLC machine-learning cores.

Getting started

  1. Install the required components using the modular installer

  2. Set up the environment (PATH configuration)

  3. Use the Command Line Interface to analyze, validate, and generate code from your model

For detailed metrics and validation methodology, see the Evaluation report and metrics article.

Explore the documentation

ST Edge AI Core

Core basics: install the components, set up the environment, and drive the stedgeai command line to analyze, validate, and generate code.

ST Edge AI Core
Embedded Client API

The ST Edge AI ( stai) API to integrate the generated model into your embedded application, with migration guidance and examples.

Embedded Client API
Supported Operators and Layers

Operator and layer coverage per framework toolbox — LiteRT/TensorFlow Lite, ONNX, and Keras — including Neural-ART NPU, ONNX-ML, and DQNN support.

Supported Operators and Layers
Advanced Features

Power-user options: I/O data type and layout (NHWC/NCHW), the AiRunner package, stateful Keras LSTM/GRU, custom layers, and the c_info.json output report.

Advanced Features
Neural-ART: Getting Started and Device Support

Neural-ART NPU concepts, supported operators, getting started on STM32N6, and STM32H7P / SR6P3E device support.

Neural-ART: Getting started and device support
Neural-ART: Compiler and Runtime

The Neural-ART compiler, embedded API and stack, memory initializers, runtime loadable models, and weights encryption.

Neural-ART: Compiler and runtime
Neural-ART: Projects, Profiling and Maintenance

STM32N6 example projects, profiling a deployed model, updating a project to a new ST Edge AI Core version, and FAQs.

Neural-ART: Projects, profiling and maintenance
STM32 Target

Deploy on the STM32 series: CLI usage, relocatable models, running a c-model locally, and USB-CDC validation.

STM32 Target
STELLAR Target

Generate and validate models for Stellar automotive MCUs, including the on-target validation flow.

STELLAR target
ISPU Target

Generate, validate, and integrate models for ISPU intelligent sensor processing units.

ISPU target
MLC Target

Configure and deploy decision-tree models on the Machine Learning Core (MLC) of ST MEMS sensors.

MLC target

Resources