Greetings!
I'm trying to configure the DRV8813 for PWM control of a PMDC motor, but I don't think I fully understand the operation of this chip from the datasheet. According to the datasheet, the A-phase inputs are for setting output current, not handling drive signals? The datasheet references externally applied PWM Frequency, but there's no indication of where this PWM signal is to be routed.
When I connect my MCU to this driver, where do I route the PWM signal pins? I see the AENBL allows the outputs to be active when it's driven high, and the APHASE dictates which motor output will be active based on a high or low signal, but it seems like this is strictly on-off and direction control of the motor. How do I use PWM to control speed with this driver chip? I've pasted a capture of this part of the design for context.