Hi,
I have a DRV8305NPHPR connected over SPI to a STM32F405RGT6 as is shown in this schematic:
My board is powered with PVDD= 12v. I have made some voltage checkings [ VREG =3.3V, PRGD = 3.3V, VDRAIN = 12V, GND = 0v, ,,,,,]
and everything seems to be OK, as expected. Then to check if my DRV it alive i decided to check the SPI communications trying to read Gate
Drive Control register with this code and SPI configuration as shown in the following images:
Code used:
Configuration of SPI:
With an oscilloscope I can check that CS, CLK and MOSI are arriving to DRV8305 as shown in the next creen captures (CS,CLK, MOSI) :
Unfortunately the pin corresponding to MISO does not show any data, the line remains at zero value. Not sure what can be wrong.
Could anyone suggest what can be happening and how to solve it?
Thanks in advance for your help
Best regards
Layout: PCB.pdf
Schematic: 4341.Schematic.pdf