X-CUBE-SPN6
Low voltage stepper motor driver software expansion for
STM32Cube
Data brief
Description
The X-CUBE-SPN6 expansion package for
STM32Cube gives you full control of low voltage
stepper motor operation. When combined with
one or more X-NUCLEO-IHM06A1 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.
Features
A driver layer for complete management of
the STSPIN220 (low voltage stepper motor
driver) device integrated in the X-NUCLEO-
IHM06A1 expansion board
Read and write of the device parameters;
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 standby
management
fault interrupts handling
Sample single, low voltage, stepper motor
control application
osxMotionFX (iNEMOEngine PRO) real-time
motion sensor data fusion (under
OPEN.MEMS license) to combine the output
from multiple MEMS sensors.
Easy portability across different MCU
families, thanks to STM32Cube
Free, user-friendly license terms
The software comes with a sample
implementation for one low voltage stepper
motor. It is compatible with STM32 NUCLEO-
F401RE, STM32 NUCLEO-F334R8, STM32
NUCLEO-F030R8 or STM32 NUCLEO-L053R8
boards with an X-NUCLEO-IHM06A1 expansion
board mounted on top.
July 2016
DocID029512 Rev 1
1/4
www.st.com
For further information contact your local STMicroelectronics sales
office
What is STM32Cube?
X-CUBE-SPN6
What is STM32Cube?
STMCube™ represents the STMicroelectronics initiative to make developers’ lives easier
by reducing development effort, time and cost. STM32Cube covers the STM32 portfolio.
STM32Cube version 1.x includes:
STM32CubeMX, a graphical software configuration tool that allows the generation of
C initialization code using graphical wizards.
A comprehensive embedded software platform specific to each series (such as the
STM32CubeF4 for the STM32F4 series), which includes:
the STM32Cube HAL embedded abstraction-layer software, ensuring maximized
portability across the STM32 portfolio
a consistent set of middleware components such as RTOS, USB, TCP/IP and
graphics
all embedded software utilities with a full set of examples
How does this software complement STM32Cube?
This software is based on the STM32CubeHAL hardware abstraction layer for the STM32
microcontroller. The package extends STM32Cube by providing a board support package
(BSP) for the STM32 expansion board based on the STSPIN220.
The drivers abstract low-level details of the hardware and allow the middleware
components and applications to access low voltage stepper motor driver functions and
data.
It offers the following features:
read and write of device parameters
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 standby management
fault interrupt handling
The software package includes an application example to help you to get started.
2/4
DocID029512 Rev 1
X-CUBE-SPN6
Revision history
Table 1: Document revision history
Revision history
Date
01-Jul-2016
Version
1
Changes
Initial release.
DocID029512 Rev 1
3/4
X-CUBE-SPN6
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST
products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the
design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2016 STMicroelectronics – All rights reserved
4/4
DocID029512 Rev 1