Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

BOOST-DRV8711: connected the module with STM32 development board and communicating via spi

Part Number: BOOST-DRV8711
Other Parts Discussed in Thread: DRV8711

Hi Team, 

Good day. I am posting this inquiry on behalf of the customer.

I want technical support regarding BOOST-DRV8711

Ok, I want to run the stepper motor via this module but I m unable to do so.
I have connected the module with the stm32 development board and communicating via spi and connected the stepper motor with the module.
Through my code, the stepper motor is getting locked, but not rotating when I m toggling the step pin of the module via the controller (stm32 development board).
 

test_stm32f407vet6.rar

Thank you for extending your support. Your help is much appreciated.

Kind regards, 

Marvin

  • Hi Marvin,

    Have you checked that the control inputs are sent from your controller to the DRV8711 module? Have you checked that the SPI communications is functioning and that the registers are properly configured?

    We need to identify if the issue is hardware or software related. Have you checked the hardware or firmware for potential issues?

    Regards,

    Pablo Armet

  • Hi,

    1) As you can look in main.c(in .zip file i have attached earlier) i have configured the registers before while loop, they are correct because my motor is getting locked

    2) And if spi was not working then the motor would have not locked, so spi is working

    3) Step pin is getting high and low

    I have doubt in code, please check weather is code is correct or not and what can be the problem in hardware that i have to check according to you.

  • Hi Saddam,

    Do you have a method for reading back the actual values of the registers? If so what are the values?

    I think a few things may be the problem:

    1. Device is faulty or damaged. This can be proven by switching the IC with a new one.
    2. Register have not been configured properly. If you can send me the actual register values, I can check.
    3. IC is in a latched fault state. There can be a persistent fault that keeps the outputs disabled until the fault is cleared. What is the value of the STATUS register?
    4. Hardware issue. check your PCB layout and schematic to check for any unwanted shorts or unconnected trace, etc.
    I have doubt in code, please check weather is code is correct or not and what can be the problem in hardware that i have to check according to you.

    I'm not familiar with STM code so I don't think I can provide very valuable feedback on the code. However, if SPI is working and STEP is toggling, the DRV should work unless the problem is one listed above.

    Regards,

    Pablo Armet