Other Parts Discussed in Thread: DRV8837
I am using SAMD21 with adafruit feather M0 burned as bootloader to control the direction of DC motor via DRV8838, code to turn motor forward :
I have checked with voltmeter, there is 3.3V on the uC pins shorted to enable & nsleep pin and 0V on uC pin which is shorted to ph pin of DRV8838, i also verified that DRV8838 is getting 3.3V at its VM & VCC pin and the enable & nsleep pins are at 3.3V & ph ph pin is at 0V, still the motor is not rotating in reverse direction. Tried replacing the DRV8838 but the same problem is still persisting even after replacing with two new fresh from the reels IC. The motor only rotates in forward direction.