Stepper motor driver expansion board
Start coding in just a few minutes with X-CUBE-SPN14
9
4
Depending on your STM32 Nucleo board, from the examples folder
(
\stm32_cube\Projects\Multi\Examples\MotionControl\IHM14A1_ExampleFor1Motor
)
open the software project from:
•
\YourToolChainName\STM32F401RE-Nucleo
for Nucleo based on
STM32F401
•
\YourToolChainName\STM32F334R8-Nucleo
for Nucleo based on
STM32F334
•
\YourToolChainName\STM32F030R8-Nucleo
for Nucleo based on
STM32F030
•
\YourToolChainName\STM32L053R8-Nucleo
for Nucleo based on
STM32L053
5
Open the file:
stm32_cube\Drivers\BSP\Components\STSPIN820\STSPIN820_target_config.h.
and modify the parameters according to your target configuration.
6
Build the project and download it into the STM32 memory.
7
Run the example. The motor automatically starts (see main.c for a detailed
demo sequence).