2023-10-09 09:06 PM - last edited on 2023-10-10 01:54 AM by Sarra.S
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.
Solved! Go to Solution.
2023-10-10 06:36 AM
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
2023-10-10 06:36 AM
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
2023-10-10 08:59 PM
Hmm, I See
Thanks For Your Kind Reply. I'll See What I Can Manage.
2024-02-11 05:34 AM
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