This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hello all,
i am working on stm32f1 mcu and i have interfaced DRV8834 driver ic to run 20DAM20d10-k stepper motor,im using PWM here.i am able to run motor but now i want to control the speed of motor(increasing and decreasing).so how to control the speed of the motor using this driver ic.i am new to motors,i dont any prior idea about stepper motor.so please help me.
please let me know if you need more information from me.
thanks and reagards
Hi Rakesh,
One method to control the speed of the stepper motor is to set the CONFIG bit to a logic high. This sets the DRV8834 into indexer mode. Using indexer mode, each step input moves the motor. By increasing and decreasing the frequency of the step input, the motor speed can be increased or decreased.
If you want to control the stepper using Phase/Enable, please see the application report: http://www.ti.com/lit/an/slva416/slva416.pdf
hello sir,
thanks for your quick response.
sir right now i dont have any sense resistor connected to my motor,
and when my config pin is high,i have driver in mode32,config pin i have made high by giving 3.2v,
i have attached screen shot of motor's specification.
when change motor's frequency i observed that motor i not moving and it is just vibrating on same position.
i want to vary the speed of motor.
thanks
when my config pin is high and STEP input is toggled my other input state are.
1)i have microstep 32.
2)rpm 200
3)nENBL/AENBL is low.
and sense resistor is connected to ASEN and BSEN having values of 0.10E both resistors.