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.

DRV8838: Control Method

Part Number: DRV8838

Hello, 

I bought DRV8838 single channel motor driver from https://www.pololu.com/product/2990 and I've connected to arduino, My connections are like this 

VIN and VCC Shorted and given to 3.3v of arduino

O1 and O2 is connected to motor

EN pin is connected to 9

PH pin is connected to 8

SLP pin is connected to 7

i followed this logic diagram but the motor is rotating in one direction, whatever i do it is rotating in one direction. Please help me