This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV8462: How to use the HW interface to drive the motor normally?

Part Number: DRV8462

Hi Team,

How to drive the motor when using the HW interface? How to control the running current and holding current like the spi interface?

Regards,

Annie

  • Hi Annie,

    In order to drive the motor with the HW interface you must configure the setup accordingly.

    MODE: programs the device to operate with either SPI or hardware (H/W) pin interface.

    VREF: Voltage reference input for setting full-scale current. DVDD can be used to generate VREF through a resistor divider. 

    nSCS/M0: With H/W interface, this pin programs the microstepping mode. An active low on this pin enables the serial interface communications. 

    STEP: Step input. An active edge causes the indexer to advance one step. With H/W interface, STEP active edge is always the rising edge.

    DIR: Direction input. Logic level sets the direction of stepping.

    ENABLE: Logic low to disable device outputs; logic high to enable. When the device operates with H/W interface, the ENABLE pin also determines the OCP, OL and OTSD fault recovery methods.

    All other pins function as described in datasheet across both variants. Please refer to the datasheet for more parameter specifications.

    The screenshot below displays the differences between the H/W and SPI variants and can be found in the datasheet.

    Best,

    David