I am using a stepper motor DRV8835. I have put in the function as the IN/IN mode (MODE =0), For AIN1, AIN2, BIN1 and BIN2 we gave signal as 0101 and the output voltage I was expecting as 0V, 5V, 0V, 5V. But the output voltage showed up as 5V, 0V, 2V, 2V. Does anyone know how to fix this problem?