Skip to main content
Associate II
October 10, 2023
Solved

To Run & Stop A Stepper Motor

  • October 10, 2023
  • 2 replies
  • 3242 views

Hello,

I'm using Blue Pill Board With TMC2209 Stepper Driver To Control 3 Stepper motors. I've made a project using Arduino Mega and there were MobaTools & TMCStepper libraries available to Set Current and run multiple motors at once smoothly. 

I wanted to know that, how can i do the same with Blue Pill Using STM32 Cube IDE ? Is there any special library to do the same stuff ? 

Any help is appreciated. Please let me know if anyone have any answers.  

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

Hello @kirito2908 

currently we do not have a "generic" library for stepper motors. 

If you are interested in stepper motor control, ST offers a wide range of products: Stepper Motor Drivers

2 replies

Cristiana SCARAMEL
Technical Moderator
October 10, 2023

Hello @kirito2908 

currently we do not have a "generic" library for stepper motors. 

If you are interested in stepper motor control, ST offers a wide range of products: Stepper Motor Drivers

"If you feel a post has answered your question, please click ""Accept as Solution"""
Associate II
October 11, 2023

Hmm, I See
Thanks For Your Kind Reply. I'll See What I Can Manage.

Visitor II
February 11, 2024

I was also struggling with the UART communication with TMC2209, in my case transmit was always working fine but receive wasn't. I solved my issue by enabling halfduplex transmitter (HAL_HalfDuplex_EnableTransmitter) before sending and enabling halfduplex receiver (HAL_HalfDuplex_EnableReceiver) before receiving. An example driver code is available on my github page (https://github.com/veysiadn/tmc_2209), the other parts of the code is modified from TMC2209 arduino library (https://github.com/janelia-arduino/TMC2209).

Good luck,

Veysi