Stepper motor driver software expansion for STM32Cube

The X-CUBE-SPN14 expansion package for STM32Cube gives you full control of stepper motor operations.

When combined with one or more X-NUCLEO-IHM14A1 expansion boards, this software allows a compatible STM32 Nucleo board to control one or more stepper motors.

It is built on top of STM32Cube software technology for easy portability across different STM32 microcontrollers.

The software comes with a sample implementation for one stepper motor. It is compatible with STM32 NUCLEO-F401RE, NUCLEO-F334R8, NUCLEO-F030R8 or NUCLEO-L053R8 boards with an X-NUCLEO-IHM14A1 expansion board mounted on top.

Key Features

  • A driver layer for complete management of the STSPIN820 (low power stepper motor driver) device integrated in the X-NUCLEO-IHM14A1 expansion board
  • Device parameter read and write modes, GPIO, PWM and IRQ configuration, micro-stepping, direction position, speed, acceleration, deceleration and torque controls, automatic full-step switch management; high impedance or hold stop mode selection, enable and stand-by management
  • Fault interrupt handling
  • Single stepper motor control sample application
  • Easy portability across different MCU families, thanks to STM32Cube
  • Free, user-friendly license terms




Technical Documentation

Product Specifications
Description Version Size
DB3417 DB3417: Stepper motor driver software expansion for STM32Cube 1.0 350.61 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
UM2300 UM2300: Getting started with X-CUBE-SPN14 stepper motor driver software expansion for STM32Cube 1.0 1.02 MB

Presentations & Training Material

Description Version Size
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
SLA0055 SLA0055: SOFTWARE LICENSE AGREEMENT ("Agreement") 4.18 122.05 KB

Tools and Software

STM32 Open Development Environment
Embedded Software
MCU & MPU Embedded Software

Get Software

Part Number General Description Software Version Supplier Marketing Status GitHub link Download
X-CUBE-SPN14 Stepper motor driver software expansion for STM32Cube 1.0.0 ST Active -


Support & Community