H
iWe are developing a battery-powered device. We have to control 2 stepper motors, so we are using DRV8821. We need to de-energize both motor windings to save energy. To do that, I set high signals ABENBLn and CDENBLn to disable the windings. The problem is that when I set ABENBLn and CDENBLn to HIGH, the controller goes into a low power sleep state and both channels indexer are reset. This can cause a missing step when we energize the windings again to move the motors. Is there a way to de-energize both motor windings at the same time without resetting the stepper indexers? If this is not possible, could you provide us with another driver from Texas that can help us with this issue?
From DRV8821 datasheet
Note that when xENBLn is high, the input pins and control logic, including the indexer (xSTEP and xDIR pins) are still functional.
Driving both ABENBLn and CDENBLn high will put the device into a low power sleep state. In this state, the Hbridges are disabled, both indexers are reset to the home state, the gate drive charge pump is stopped, and all internal clocks are stopped. In this state all inputs are ignored until one or both of the xENBLn pits return active low.








