If you have connected anything on PORTA and you dont get the results you want.... this one I leave for Melanie to answer if needed :-)

Show us your HW setup and some code, it should not be rocket science to rotate a DC motor with the 877A.

So dont give into Plan Z just yet.

/me