SLOA170B July   2012  – January 2021 DRV8242-Q1 , DRV8412 , DRV8424 , DRV8424E , DRV8425 , DRV8425E , DRV8426 , DRV8426E , DRV8428 , DRV8428E , DRV8434 , DRV8434E , DRV8436 , DRV8436E , DRV8701 , DRV8702-Q1 , DRV8702D-Q1 , DRV8703-Q1 , DRV8703D-Q1 , DRV8705-Q1 , DRV8706-Q1 , DRV8800 , DRV8801 , DRV8802 , DRV8802-Q1 , DRV8811 , DRV8812 , DRV8813 , DRV8814 , DRV8818 , DRV8821 , DRV8823 , DRV8823-Q1 , DRV8824 , DRV8824-Q1 , DRV8825 , DRV8828 , DRV8829 , DRV8832 , DRV8832-Q1 , DRV8833 , DRV8834 , DRV8840 , DRV8841 , DRV8842 , DRV8843 , DRV8844 , DRV8846 , DRV8848 , DRV8870 , DRV8874 , DRV8874-Q1 , DRV8876 , DRV8876-Q1 , DRV8880 , DRV8881 , DRV8885 , DRV8886 , DRV8889-Q1 , DRV8899-Q1 , DRV8935 , DRV8955

 

  1.   Trademarks
  2. 1Introduction
    1. 1.1 The Current Regulation Engine
    2. 1.2 Design Criteria
  3. 2Resistive Network Voltage Divider Method
    1. 2.1 GPIO Driven Voltage Divider
  4. 3Digital-to-Analog Converter Method
  5. 4PWM to RC Filter Method
  6. 5Changeable Holding Current Circuit
  7. 6Devices With Internal Reference Voltage
  8. 7Revision History

GPIO Driven Voltage Divider

Utilizing a fixed voltage divider may work for limiting start and stall current on DC motors, but may result constrictive when dealing with most stepper applications in which a current level is required during run time and a different value during position/torque holding. A simple topology often utilized to derive a dual current level into the VREF pin is to use a conventional GPIO microcontroller terminal to drive a resistor into the VREF voltage divider.

GUID-59FB1D69-9EB5-4B7F-909A-61AB4ED4E1C2-low.gifFigure 2-2 A MCU Controllable Voltage Divider

Figure 2-2 shows how the GPIO resistor is placed in parallel with the high side or the low side depending on whether the digital output is made HI or LO, respectively. It is also possible to make the GPIO an input, in which case the GPIO resistor becomes a high impedance path, offering a third current level setting. If the GPIO resource is configured as an input, RGPIO disappears from the system, and the equation is the same as depicted on Figure 2-1(b).