Hello,
we are working with a custom pcb design involving two drv8701 drivers. The drivers are working fine without any issue. However, the current sensing is way off and behaves very erratically. Below is the screenshot of the SO,SP and senseout pin output and the drv8701 kicad schematic. We are using a 20mOhm shunt Resistor. The max Reported voltage on SP pin (on the scope) is 87mV which makes Motorcurrent=4.35, which is well below the Ichop current for our setup 11.35A. The Senseout pin has spikes its output and these spikes correlate with the dip in SP voltage and Ichop like behaviour on SO pin.
Below is the kicad schematic for the same.
Any help would be great. Thanks