Your wiring looks correct, but the datasheet shows an unusual truth table on pages 4 and 5.

It looks like your two GPIO pins need to be 00 for one direction, and 01 for the other direction. Use 10 for "brake" mode, and 11 for "coast".

Cheers


Edited by mlord (12/03/2008 19:36)