X-CUBE-AI is an STM32Cube™ Expansion Package part of the STM32Cube.AI ecosystem and extending STM32CubeMX capabilities with automatic conversion of pre-trained Neural Network and integration of generated optimized library into the user's project. The easiest way to use it is to download it inside the STM32CubeMX tool (version 5.0.1 or newer) as described in user manual "Getting started with X-CUBE-AI Expansion Package for artificial intelligence (AI)".

The X-CUBE-AI Expansion Package offers also several means to validate Neural Network models both on desktop PC and STM32, as well as measure performance on STM32 devices without user handmade ad hoc C code.

Key Features

  • Generation of an STM32-optimized library from pre-trained Neural Network models
  • Support various Deep Learning frameworks such as Keras, Caffe, ConvnetJS, and Lasagne
  • Easy portability across different STM32 microcontrollers series through STM32Cube™ integration
  • Free, user-friendly license terms




Technical Documentation

Product Specifications
Description Version Size
DB3788 DB3788: Artificial intelligence (AI) software expansion for STM32Cube 2.0 503.11 KB
User Manuals
Description Version Size
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283.23 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485.46 KB
UM2526 UM2526: Getting started with X-CUBE-AI Expansion Package for Artificial Intelligence (AI) 1.0 3.83 MB

Presentations & Training Material

Description Version Size
Neural Networks on the STM32 with STM32Cube.AI 1.0 1.34 MB
STM32 and STM8 embedded software solutions 7.0 3.12 MB

Publications and Collaterals

Description Version Size
STM32 Open Development Environment Brochure 17.09 1.21 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 544.58 KB


License Agreement
Description Version Size
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 5.2 87.58 KB

Tools and Software

Development Tools
Software Development Tools
Embedded Software
MCU & MPU Embedded Software
Support and Applications
Engineering Services

Get Software

Part Number General Description Software Version Supplier Marketing Status GitHub link Download Previous versions
X-CUBE-AI AI expansion pack for STM32CubeMX 3.4.0 ST Active -
Select version


Support & Community
Featured Products