Why are there MxINA (clockwise input) and MxINB (CCW input) instead of just a single direction pin?
I plan on using this board to control motors that transfer wire from one spool to another (like a cassette player, but the spools are different sizes). The reason I need two motors is to maintain a constant tension in the wire (via closed loop control w/ tension sensor). Which option do you think would be better:
Drive motor_1 CW at fixed speed and have motor_2 CCW controlled in “drive-coast operation” to maintain tension?
Drive motor_1 CW at fixed speed and have motor_2 CCW controlled in “drive-brake operation” to maintain tension?
User guide: “Note that it is possible to get by with even fewer connections if you use pulse-width modulation (PWM) on the MxINA and MxINB pins directly while holding the MxPWM pin high (e.g. by connecting it directly to VDD). This approach also results in a different kind of motor-driving: supplying the PWM signal to the MxINA/B pins directly results in drive-brake operation (outputs drive during the high portion of the PWM and are shorted together during the low portion), while supplying the PWM signal to the MxPWM pin results in drive-coast operation (outputs alternate between driving and high-impedance).”
I am not completely clear on how the drive-brake operation works.