Getting the DRV8256E to work

I’m using a DRV8256 to replace a L298N H-Bridge to create a square wave under the control of a signal (enable/disable and phase) from an Arduino.

I’m attaching a photo of the circuit (which is very simple) and the Arduino code (likewise, very simple).

The connections are fine, the signals from the two GPIO pins of the Arduino also (checked with multimeter and oscilloscope) so why don’t I get a square wave from the Out1 and Out2 of the DRV8256?

ER_HBridge2_testonly.ino (984 Bytes)

Apologies for such a dumb question but what am I missing?

I answered my own question connecting the SLEEP pin to Vcc.

Then it worked - very nicely.

1 Like