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.

DRV8262: REQUIRED SOFTWARE SUPPORT

Part Number: DRV8262
Other Parts Discussed in Thread: DRV8462, ,

Tool/software:

Dear team,

i had designed with this ic and connected stepper motors to my pcb. i dont know how to send pwm signals from mcu to driver. i  have used bidirectional stepper motor with 0.6A maximum current rating. pl;ease guide me about frequency and pwm duty cycles and how to send all 4 pwms  to driver. if delay required please help me. i was placed 22k ohms to ground from Ipropi pins. and 330k ohm from Toff pin for 32us pwm off time. 

1/2 step mode or full step:

if Possible please send the test code to control the speed. it will helpful for me a lot .

Thank you.

  • Hi Gangula,

    Thanks for posting in this forum.

    Is there a specific reason you were using DRV8262 to drive a stepper motor? We have a purpose built stepper motor driver IC in this same family, the DRV8462 that internally generates all the drive signal from its integrated indexer to support full-step to 256 microsteps operation. While it is possible to achieve full-step or 1/2 step mode operation with the DRV8262 it is plug-and-play with the DRV8462. 

    if Possible please send the test code to control the speed. it will helpful for me a lot .

    We have the EVM firmware in the EVM webpage. For steppers the EVM source code is for the DRV8462. For the DRV8262 it is for 2x brushed DC BDC motors. 

    If you still need to use the DRV8262 for driving stepper motors please use the bridge control tables as a reference depending on whether you want to use PH/EN or PWM drive control mode. See below. Thank you.

    Regards, Murugavel 

  • selected pwm mode(mode2 is high) and making gpios are high and low its working but when going to using timers having issue because 1 timer is used for all 4 pwm inputs. 

  • Hi Gangula,

    We do not recommend the DRV8262 for driving stepper motors. Like I mentioned before the DRV8462 is a purpose built stepper motor driver. However, if you have the expertise to develop external drive sequences and synchronized analog voltages for VREF1 and 2 you can design your own stepper motor driver with this driver IC. We do not have an example code for driving a stepper motor using the DRV8262.

    The DRV8262EVM webpage allows you to download the C source code for the EVM that can drive 2x brushed DC motors. https://dr-download.ti.com/software-development/support-software/MD-abhVTZhobH/1.0.2/DRV84XX-DRV89X2-DRV82X2-EVM-SOFTWARE.zip.  

    If you are using TI microcontrollers please create a new E2E post with the specific MCU part number. You'll automatically be directed to MCU experts. Thank you.

    Regards, Murugavel 

  • Sir,

    as per datasheet i was designed my pcb for stepper application also. i was asked to texas team when i choose this ic for driving both stepper and brushed dc applications. but they didn't tell us not recommended for stepper motors. i kindly request you please check again and conform this ic working for stepper motor or not? thank you.

  • Hi Gangula,

    as per datasheet i was designed my pcb for stepper application also. i was asked to texas team when i choose this ic for driving both stepper and brushed dc applications. but they didn't tell us not recommended for stepper motors.

    I mentioned we do not recommend for using with stepper motors if you do not have the necessary drive indexer sequence firmware. 

    i kindly request you please check again and conform this ic working for stepper motor or not?

    Yes, this device can be connected to drive a stepper motor as shown by typical hardware as shown in section 7.1.2.1 Stepper Driver Typical Application. It requires the user to provide the necessary drive sequence inputs IN1, 2, 3, 4 and VREF1,2. We do not provide firmware for this indexer sequence generation. Some of our customers are using this device to drive stepper motors using their proprietary indexer sequence running in a processor or MCU. 

    When you use the DRV8462 you can drive stepper motor with STEP pulses and DIR control. This is the difference between these two drivers, MCU driven external (8262) indexer vs. integrated internal (8462) indexer for driving stepper motors. Thank you.

    Regards, Murugavel