cancel
Showing results for 
Search instead for 
Did you mean: 

motor control using cubeide for hss86 driver

Smritha
Associate

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.  

2 REPLIES 2
GMA
ST Employee

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.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
Chris21
Senior III

It looks like the HSS86 is expecting 5 volts or more, STM32 GPIOs are not at the level, generally.