Texas Instruments provides a recommended PCB layout in the DRV8860APW datasheet, but it's also important to follow general guidelines for motor driver PCB design, such as keeping the high-current paths short and wide, and using a solid ground plane to reduce EMI.
The sense resistor value depends on the motor current and the desired current sense accuracy. A general rule of thumb is to choose a sense resistor value that results in a voltage drop of around 50-100 mV at the maximum motor current. The DRV8860APW datasheet provides a formula to calculate the sense resistor value based on the motor current and desired accuracy.
The maximum voltage that can be applied to the VM pin is the voltage rating of the device, which is 40V for the DRV8860APW. However, it's recommended to keep the VM voltage below 36V to ensure reliable operation and to prevent damage to the device.
The DRV8860APW has a built-in overcurrent protection feature that can be enabled by connecting the OCP pin to a resistor divider network. The OCP threshold can be set by adjusting the resistor values. The device will shut down if the motor current exceeds the set threshold.
Yes, the DRV8860APW can be used to drive a stepper motor. However, it's important to note that the device is designed for brushed DC motors and may not provide the same level of performance and accuracy as a dedicated stepper motor driver. Additional external circuitry may be required to implement the necessary stepper motor control signals.