June 2017
DocID028677 Rev 2
1/20
www.st.com
UM1992
User manual
Getting started with the X-CUBE-SPN8, low-voltage BLDC motor
driver software expansion for STM32Cube
Introduction
This document describes how to get started with the X-CUBE-SPN8 software expansion for
STM32Cube.
X-CUBE-SPN8 provides the complete STM32 firmware for developers to build motor control
applications (e.g. BLDC/PMSM motor). It is highly portable across different MCU families thanks to
STM32Cube. This package contains a user interface layer enabling the transmission of real-time data to
a PC through the terminal.
The software provides sample implementation projects for STM32 Nucleo platforms equipped with the
X-NUCLEO-IHM08M1 expansion board, featuring a motor control application with the 6-Step algorithm.
The software is based on STM32Cube technology and expands the STM32Cube range of package
solutions.
Contents
UM1992
2/20
Contents
1 Acronyms and abbreviations ......................................................... 5
2 What is STM32Cube? ...................................................................... 6
2.1 STM32Cube architecture .................................................................. 6
3 X-CUBE-SPN8 software expansion for STM32Cube ..................... 8
3.1 Overview ........................................................................................... 8
3.2 Architecture ....................................................................................... 8
3.3 Folder structure ................................................................................. 9
3.4 APIs ................................................................................................ 10
3.5 Sample application description ........................................................ 10
3.6 User Interface utility based on PC-terminal ..................................... 10
4 System setup guide ....................................................................... 13
4.1 Hardware description ...................................................................... 13
4.1.1 STM32 Nucleo platform .................................................................... 13
4.1.2 X-NUCLEO-IHM08M1 expansion board .......................................... 13
4.2 Software description ................................ ................................ ........ 15
4.3 Hardware and software setup ......................................................... 15
4.3.1 Hardware setup ................................................................................ 15
4.3.2 Software setup .................................................................................. 15
4.3.3 System setup guide .......................................................................... 16
5 Revision history ............................................................................ 19