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.

DRV8873-Q1: Unable to read the register values on STM32 via SPI

Part Number: DRV8873-Q1

Hello,

I've have been trying to connect the motor driver to a STM32 controller via SPI with the objective of having full PWM control over the motors. However, even after extensively going through the data sheet, I haven't been able to write the required bits to the built in DRV registers. Moreover, every time I try to read the values from the registers, I always get the output as 0xFF.

I also tried running the DRV software, in an attempt to modify the register value through software, but the values keeps changing back to it's default as soon as I re-read the values.

And following one of the forum posts, we tried desoldering the 0-ohm resistor to the USB controller, but even that attempt proved to be futile.

I've cross-verified parameters like SPI clock polarity and clock phase and tried different combinations of those, but I still had no sucess. Also I verified the connections and made sure nSLEEP and nFAULT were set to high