NotebookCHECK - Notebook Forum

Technische Themen => Technische Fragen => Topic started by: Tess on October 17, 2025, 05:01:15

Title: My NEMA 34 stepper motor is stuck in a paused state and won't rotate.
Post by: Tess on October 17, 2025, 05:01:15
I'm trying to drive a NEMA 34 stepper motor(From OYOSTEPPER) using an STM32 G474RE with an HSS86 motor driver.
I configured the following pins: Pul to Tim 3_CH 1 (PA6), Dir to GPIO OUTPUT_B_10, Ena to GPIO OUTPUT_D_2, and all positive leads to a 5V battery and ground to an STM32 pin (GND).
I also generated output pulses and uploaded the code to the STM32 without any errors, although the motor doesn't rotate.
Aside from the PWM generation code, do I need to write any specific code?