Finally got the motor driver setup correctly.