background image

Setup & demo examples

Software prerequisites

STSW-LINK009

: ST-LINK/V2-1 USB driver 

STSW-LINK007

: ST-LINK/V2-1 firmware upgrade

A Windows PC with one of the supported development toolchains:

• KEIL: MDK-ARM
• IAR: EWARM
• GCC-based IDE: System Workbench for STM32

X-CUBE-SPN14

: software expansion for STM32Cube

7

Summary of Contents for X-NUCLEO-IHM14A1

Page 1: ...Version 1 0 Oct 18 2017 Quick Start Guide Stepper motor driver expansion board based on STSPIN820 for STM32 Nucleo X NUCLEO IHM14A1 ...

Page 2: ...ick Start Guide Contents 2 X NUCLEO IHM14A1 Stepper motor driver expansion board Hardware and Software overview Setup Demo Examples Documents Related Resources STM32 Open Development Environment Overview ...

Page 3: ...y cameras The STSPIN820 implements a PWM current control with constant OFF time adjustable via an external resistor and a microstepping resolution up to the 256th step The X NUCLEO IHM14A1 expansion board is compatible with the Arduino UNO R3 connector and the ST morpho connector so it can be plugged to the STM32 Nucleo development board and stacked with additional X NUCLEO expansion boards Not mo...

Page 4: ...E 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 theXNUCLEOIHM14A1 expansion board Device parameter read and write modes GPIO PWM and IRQ configuration micro stepping direction position speed acceleration deceleration ...

Page 5: ...ick Start Guide Contents 5 X NUCLEO IHM14A1 Stepper motor driver expansion board Hardware and Software overview Setup Demo Examples Documents Related Resources STM32 Open Development Environment Overview ...

Page 6: ... NUCLEO IHM14A1 1x STM32 Nucleo development board NUCLEO F401RE or NUCLEO F334R8 or NUCLEO F030R8 or NUCLEO L053R8 1x stepper motor 1x external DC power supply with two electric cables 1x Windows 8 7 Laptop PC 1x USB type A to Mini B USB cable 6 Power stage supply voltage from 7 V to 45 V Mini USB Cable X NUCLEO IHM14A1 Stepper motor ...

Page 7: ... LINK009 ST LINK V2 1 USB driver STSW LINK007 ST LINK V2 1 firmware upgrade A Windows PC with one of the supported development toolchains KEIL MDK ARM IAR EWARM GCC based IDE System Workbench for STM32 X CUBE SPN14 software expansion for STM32Cube 7 ...

Page 8: ...er to adjust the reference voltage Driving one stepper motor with X NUCLEO IHM14A1 and X CUBE SPN14 1 Plug the X NUCLEO IHM14A1 on the STM32 Nucleo board using the Arduino UNO R3 connector and connect the stepper motor A and B and the power supply VIN GND to the CN1 connector 2 Connect the STM32 Nucleo board to the PC through the USB cable ...

Page 9: ...ed 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...

Page 10: ...stepper motor driver expansion board based on STSPIN820 for STM32 Nucleo User manual X CUBE SPN14 DB3417 Stepper motor driver software expansion for STM32Cube Data brief UM2300 Getting started with X CUBE SPN14 stepper motor driver software expansion for STM32Cube User manual Software setup file 10 All documents are available in the DESIGN tab of the related products webpage Consult www st com for...

Page 11: ...ick Start Guide Contents 11 X NUCLEO IHM14A1 Stepper motor driver expansion board Hardware and Software overview Setup Demo Examples Documents Related Resources STM32 Open Development Environment Overview ...

Page 12: ...nvironment ODE consists of a set of stackable boards and a modular open SW environment designed around the STM32 microcontroller family www st com stm32ode Function Packs FP STM32Cube development software STM32 Nucleo expansion boards X NUCLEO STM32 Nucleo development boards STM32Cube expansion software X CUBE ...

Page 13: ...tra low power to high performance ST morpho extension header STM32 Nucleo Development Boards NUCLEO A comprehensive range of affordable development boards for all the STM32 microcontroller series with unlimited unified expansion capabilities and integrated debugger programmer functionality 13 www st com stm32nucleo Arduino UNO R3 extension headers ...

Page 14: ...h additional functionality that can be plugged directly on top of the STM32 Nucleo development board directly or stacked on another expansion board 14 DIL24 support for new devices Motion MEMS sensors Environmental sensors www st com x nucleo Example of STM32 expansion board X NUCLEO IKS01A1 ...

Page 15: ...f IDEs including IAR EWARM Keil MDK and GCC based environments Users can choose from three IDEs from leading vendors which are free of charge and deployed in close cooperation with ST These include Eclipse based IDEs such as Ac6 System Workbench for STM32 and the MDK ARM environment Tools IDEs Application examples e g basedonSTOpenSoftwareX Hardware Sampleapplications Applications IAREWARM Keil MD...

Page 16: ...rophone Pressure temperature humidity Bluetooth LE Sub GHz radio NFC Wi Fi GNSS Energy management battery General purpose microcontrollers Stepper motor driver DC BLDC motor driver Audio amplifier COLLECT TRANSMIT ACCESS CREATE POWER PROCESS Software Secure microcontrollers Touch controller Operation Amplifier Accelerometer gyroscope Translate Industrial input output www st com stm32ode ...

Reviews: