The inputs work the following way
And i have connected it the following way (I think)
It worked the first time i turn everything on and toggled the GPIO pins, but the second time i started everything up nothing works and the same thing has happend to me with a DRV8838.
So i must be doing something totally wrong to render the chips unusable but what?
I have checked all connections with a multimeter by putting a cable in the breadboard and testing the connection between it and the each pin on the chip (moving the cable for each pin).
I have also tried to connect the motors to the power source and they work.