I am using DRV8834 IC driver to run the 5v stepper motor. I've managed to run the 5v stepper motor using DRV8834 IC by using a breadboard. But I've found we need 3 pins (Step, Direction and enable) to enable and step the device. I came to know that by making the enable pin to high makes the driver disable where there is no power consumption in the whole system.
But the requirement is only to use 2 pins (step and direction). If I don't control the enable pin via microcontroller then the driver and motor (whole system) consume 50mA. I have to find a solution where the driver and motor shouldn't consume any power until enable line receives the step output pulse from the microcontroller.Also, the step output will always stop in the low state. Is there any idea you can help me with to use any MOSFET/any other idea/pulse stretcher to control the power consumption without using the enable pin? Please let me know if you guys got an idea. Your help is much appreciated.
Update to clarify @Transistor's answer.
simulate this circuit – Schematic created using CircuitLab