DRV8835 dual motor driver motor output question

Hello,

I am looking into the DRV8835 dual motor drivee. It says that the pwm input will control the motor speed. Does that mean that the micro-controller provides the current and voltage to the motor then? Or does the input pwm signal determine how much of V_in is provided to the motors?

I hope that makes sense. I want to essentially use it so that the micro-controller ony serves as an on/off switch and an external power source drives the motor.

Thanks in advance for your assistance.

Hello.

Our DRV8835 Dual Motor Driver Carrier uses PWM inputs from a separate microcontroller to determine the duty cycle of the PWM delivered to the motors. However, the microcontroller’s PWM signal is not used to power the motors directly; they are driven from the power source connected to the VIN pin of the carrier board.

-Brandon