My DRV8833 is connected to Raspberry Pi with Ah, Al, Bh, Bl pins connected to 4 GPIO pins to control 2 DC motors, and powered via a 5V 5A UBEC-convereted NiHM battery. And the Pi connected to a separate battery.
What I found interesting / frustrating is that, if my Raspberry Pi is off, one of the motors starts to run on its own. Or it would just run automatically as soon as DRV8833 is powered up.
At the moment I could only get the motor to stop by manualy sending a LOW signal to the DRV8833 sleep pin on boot, but it would take around half a minute to finish booting up, which is practically too long, e.g. rover start hitting into walls during this booting period.
Is there a way to save the sleep state to LOW without connecting to the microcontroller (Pi / Arduino)? Or any other suggestion to keep the motor stopping until we ask it to run?