I bought the Dual MC33926 Motor Driver Carrier but I’m having some problems. The number of pins on the board I’m using is low, so I want to use two motors using only the mandatory pins through the driver. What are the pins I have to connect and how should I assign values, pwm, digital, analog, etc.?
Hello.
There are several different ways to use that driver; I recommend looking over the pinout table and reading the “Basic Application Connections” section of the MC33926 carrier’s product page. The MC33926 datasheet might also be helpful (particularly the truth table on page 17).
As described on the product page, if you apply PWM signals directly to the IN1 and IN2 pins, you can reduce the number of pins required to control each motor channel to two. In this setup, you would need to tie the nD2 pins and the EN pin high, and the D1 pin low, which you can do using the neighboring default-overriding jumper pins. To use those jumper pins, you will also need to provide the VDD pin with the logic supply voltage. Additionally, you would need a common ground connection.
In a more typical application (or if you do not have 4 PWM-capable pins available), each motor channel would require 3 pins: two digital signals (IN1 and IN2) for direction control, and one PWM signal (nD2 or D1) for speed. This is usually done by applying the PWM signal to nD2 and tying D1 low.
Brandon