TLE 5205-2 H-Bridge guidance needed. It's driving me mad!

I have a few TLE 5205 5A H-Bridge IC's that I'm using to drive some 24V DC motors. Here is the datasheet.

A while ago i tested one of these guys on a breadboard to make sure it worked okay before going larger-scale. From what i remember it worked fine.

Now, a few months later, i'm having no luck getting the bigger version working, so I'm back to the breadboard using a 5V dc motor as the test subject. Here is my setup:


I have the inputs connected to Arduino, the outputs from the IC to the motor. The 5V rail is connected to the Vs and the ground is grounded. The only pin not connected is the error flag, which I'm not sure what to do with. Additionally when the error flag is set, does it stay permanently and do i need to reset something? Hopefully the Vs isn't in the wrong place too!

Also the motor works fine when isolated.

Would appreciate some guidance very much!

Cheers

I can't see any power supply to the motor/driver apart from the Arduino 5V connection. Is this how you powered it last time? How much current does that hardware need?

Are you running the same sketch this time as last time? What is the sketch supposed to be doing? Does it generate serial output so you can confirm it is doing it? What does that serial output tell you? Does that change if you disconnect the motor to remove the electrical load?

Judging by the data sheet the error output tells you whether a short/overload condition has been detected by the driver. The error output is active-low. The error output is reset by a change in the input so might be intermittent if your sketch is repeatedly switching the motor.