Gearmotor to driver wiring

I have a small project that I am trying to finish up where I am wiring a Pololu 50:1 gear motor with a magnetic encoder to a (DRV8835) driver carrier but I cant seem to locate any diagrams as to how to wire these two together. Can anyone steer me toward one? If it helps, Im using a Pololu A-star 32U4 Mini for a MC.

Hello.

The “Minimal wiring diagram for connecting a microcontroller to a DRV8835 dual motor driver carrier in phase-enable mode” on the DRV8835 product page shows how to connect your motors to the DRV8835 motor driver board and the DRV8835 motor driver board to a microcontroller like the A-Star 32U4 Mini. You can connect the outputs of your encoder to unused interrupt pins on the A-Star and use an Arduino quadrature encoder library to read the encoder signals

-Derrill