Driving stepper with TB6612FNG

II’m trying to drive a bipolar stepper with TB6612FNG Dual Motor Driver Carrier, but I’m unsure how to do so. Can anyone help please. I believe that I do not use the PWM inputs, and just send freq to Ain and Bin. Is this correct?

Hello.

Yes, you don’t need to use the PWM inputs (though you need to make sure they’re enabled), but saying you put the frequency somewhere isn’t quite right. You’ll need to connect your stepper to both H-bridges, so you will have four control lines on which you need to present the correct sequence to energize the coils in the right order. (A dedicated stepper driver, such as the A4983, has step and direction inputs, and you can just apply a frequency to the step input to make the motor step at that rate.)

- Jan