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.  

0 REPLIES 0