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.

DRV8889-Q1EVM: Stepper Motor Drive with SPI and DIR/STEP Pin

Part Number: DRV8889-Q1EVM
Other Parts Discussed in Thread: DRV8889-Q1

Hello,

I an using DRV8889-Q1 EVM for new development.

As per past thread, I can use the SPI to drive the Stepper Motor instead of STEP & DIR Pins.

After receiving the Stepper Motor, I tried to run it with SPI and after many efforts I am able to drive the Stepper motor.

And then I have checked the signal on DRV8889 (AOUT1, AOUT2, BOUT1, BOUT2) which I have attached here naming SPI_1.jpg.

Is this correct?

Regards,

Alpesh.

  • Alpesh,

    I saw that waveform before. It should be OK. Stepper motor driver controls the motor winding current to get the best motor performance. So, please check the motor winding current. Also, what decay mode do you use?

    1. The motor driver’s PWM controller regulates the winding current to follow each micro-step winding current desired value to get smooth motor control, for example: the DRV8889 datasheet table 3’s value. 

    2. To get the table 3 current value and maintain that current at each micro-step position, the PWM controller adjusts the PWM duty cycle. In no switching period, the PWM controller may regulate the winding current at zero. So, PWM controller doesn’t turn the switching FET on or off unnecessary. Please check the winding current. 

    3. DRV8889 offers eight decay mode and up to 1/256 micro-step to refine the winding current. Customers can study their motor to get the best winding current waveform.