jremington:
Other possibilities include an inadequate power supply, inadequate power supply decoupling, inadequate motor controllers, poor solder connections, unsoldered connections, etc.
Datasheet for the DRV8871 wants a .1µf and a bulk capacitance on VM (47µf shown). Are these in place?
I didn't check other sheets but they no doubt also have specs for filtering/decoupling.