Would you be able to recommend a best-fit alternative to Allegro part number A3938? We are using the REF input on the A3938 to control the motor, versus the PWM input. So that method/feature of setting the load current would be essential to minimize software impact.
I evaluated the DRV8306 but it does not have that current control feature.