I am trying to control ORVM(Outer rear-view mirrors) Re by establishing communication between an Arduino and DRV8718S-Q1 using SPI communication protocol
but motor is not rotating , sometimes output1 and output2 gets same voltage high or low, Pin IN1 and IN2 is varying vice versa as per code , serial monitor displays that the communication established (Motor is rotating ) , kindly give the solution to rotate the motor