We are using DRV8824 to drive the stepper motor, and the rotation direction of the motor is not consistent with the direction set by DIR. Have you encountered similar cases of this problem?
Please refer to the measured waveforms below:
Two waveform comparison:
Normal forward waveform:
Abnormal forward waveform(Actual motor reversal):