Preparing the motor driver circuit