Three-phase motor driver software expansion for STM32Cube

The X-CUBE-SPN16 is an expansion software package for STM32Cube. The software runs on the STM32 Nucleo providing management of STSPIN830 to control three-phase brushless DC motors. The expansion is built on STM32Cube software technology to ease portability across different STM32 microcontrollers.

The software comes with a sample implementation driving a three-phase brushless DC motor, with BEMF sensing.

It is compatible with the NUCLEO-F030R8, NUCLEO-F302R8, NUCLEO-F303RE or NUCLEO-F401RE development boards when connected to an X-NUCLEO-IHM16M1 expansion board.

The package contains a user interface layer enabling real-time transmission of data to a PC through the terminal.


  • Sample application to drive a three-phase brushless motor, managing a single driver (STSPIN830) and an STM32 Nucleo expansion board (X-NUCLEO-IHM16M1).
  • GPIO, PWM and IRQ configuration
  • API function available to send any application command to the motor driver
  • User interface utility based on PC terminal to control the motor
  • Speed control through potentiometer
  • Motor control by user button
  • Easy portability across different MCU families, thanks to STM32Cube
  • Free, user-friendly license terms





Description バージョン サイズ
DB3618 DB3618: Three-phase motor driver software expansion for STM32Cube 1.0 765 KB
Description バージョン サイズ
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485 KB
UM2419 UM2419: Getting started with the X-CUBE-SPN16 three-phase brushless DC motor driver software expansion for STM32Cube 1.0 860 KB

プレゼンテーション & トレーニング資料

Description バージョン サイズ
STM32 and STM8 embedded software solutions 6.0 2 MB

Publications and Collaterals

Description バージョン サイズ
STM32 Open Development Environment Brochure 16.10 1 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 675 KB


Description バージョン サイズ
SLA0055 SLA0055: SOFTWARE LICENSE AGREEMENT ("Agreement") 4.18 122 KB

ツール & ソフトウェア

STM32 Open Development Environment
MCUs Embedded Software


製品型番 General Description Software Version Supplier Marketing Status GitHub link ダウンロード
X-CUBE-SPN16 Three-phase motor driver software expansion for STM32Cube 1.0.0 ST Active -


サポート & コミュニティ