Skip to main content
ZHama.1
Associate III
March 19, 2021
Solved

Any resources/docs to learn how to control a stepper motor. (PowerSTEP01 driver)

  • March 19, 2021
  • 2 replies
  • 3870 views

I'm a beginner who's learned to program STM32 with Nucleos (GPIO, SPI, UART etc.) and want to try to control stepper motors now.

I've purchased an X-NUCLEO-IHM03A1 board based on the PowerSTEP01 driver by ST to control a stepper motor. I've had a look at the example files and drivers but am completely lost. There are a number of long and detailed source files and there is no clear documentation on how to program this driver and interface it with an STM32. My question is then, are there any resources/docs to learn how to use/make a driver file to control a stepper motor? particularly for this module i'm using.

This topic has been closed for replies.
Best answer by Cristiana SCARAMEL

Hello @ZHama.1​,

I suggest starting from the beginning with the powerSTEP documents (datasheet and application notes).

So you can explore the powerSTEP operation with your X-NUCLEO-IHM03A1 board together with X-CUBE-SPN3 expansion software package for STM32Cube.

I suggest to use on of compatible Nucleo board: NUCLEO-F401RE, NUCLEO-F030R8, NUCLEO-F334R8 or NUCLEO-L053R8.

Also I suggest you to use the SPINFamily evaluation tool (STSW-SPIN002) an evaluation software with graphical user interface for STSPIN family devices.

Once you’ve gotten a bit familiar with the device and the tools, you can come back with more targeted questions (opening new topic).

I hope this post can help you. If so, consider to mark it as best answer by clicking the label "Select as Best".

2 replies

Andrew Neil
Super User
March 19, 2021

On the basics of stepper motors:

http://homepage.divms.uiowa.edu/~jones/step/

Note that there is a specific ST forum for motor control:

https://community.st.com/s/topic/0TO0X000000BSqZWAW/motor-control

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Cristiana SCARAMEL
ST Employee
March 22, 2021

Hello @ZHama.1​,

I suggest starting from the beginning with the powerSTEP documents (datasheet and application notes).

So you can explore the powerSTEP operation with your X-NUCLEO-IHM03A1 board together with X-CUBE-SPN3 expansion software package for STM32Cube.

I suggest to use on of compatible Nucleo board: NUCLEO-F401RE, NUCLEO-F030R8, NUCLEO-F334R8 or NUCLEO-L053R8.

Also I suggest you to use the SPINFamily evaluation tool (STSW-SPIN002) an evaluation software with graphical user interface for STSPIN family devices.

Once you’ve gotten a bit familiar with the device and the tools, you can come back with more targeted questions (opening new topic).

I hope this post can help you. If so, consider to mark it as best answer by clicking the label "Select as Best".

"If you feel a post has answered your question, please click ""Accept as Solution"""