I am having some difficulties understanding the MC33926 motor driver connections.
I’ll start with power. I am supplying Vin and Gnd from the large screw terminals. This is a 12v plug pack style 240v to 12v isolated (probably switchmode) powersupply. Beside the MC33926 is a Teensy that, in my prototype, is powered from USB and has its own 5vDC regulator.
If I supply Vdd on the MC33926 with a logical 5vDC from the MCU what happens with GND ? Does it matter that the GND for the MC33926 is supplied by the switchmode 12vDC supply ?
Next is the MC33926 control pinouts. If I hold IN1 HIGH and IN2 LOW I will get motor direction one way. Now from reading the data sheet for the MC33926 it seems I can hold the INV pin to change direction. Is this correct ? If so then I can control direction with one MCU pin and PWM with another MCU pin connected to D2.
What do I do with D1 ? Do I leave it in its default HIGH state or do I pull it LOW ? I don’t really understand the ‘tri-state’ logic.
The Pololu page says I can also supply PWM to IN1 or IN2 if both disable lines are ‘inactive’. How do I make D1/D2 inactive ?
Any help would be appreciated.