2025-06-17 4:10 AM
I tried to rotate the nema34 stepper motor through hss86 motor driver using the stm32 G474RE. I configured the pins as follow: Pul - connected to Tim 3_CH 1(PA6) , Dir - connected to GPIO OUTPUT_B_10 , Ena - connected to GPIO OUTPUT_D_2 and all the positive terminals to the 5V battery and grounded it to the stm32 pin(GND) . I also generated the output pulse and upload my code to the stm 32 without any error, Although the motor is not rotating. Is there any specific code I have to write beyond the PWM generation code.
2025-07-24 8:06 AM
Hello @Smritha,
As HSS86 is not an ST product, I can only recommend using an oscilloscope to ensure that the TIMER and GPIO outputs are generated as expected.
2025-07-24 9:29 AM
It looks like the HSS86 is expecting 5 volts or more, STM32 GPIOs are not at the level, generally.