Quantcast
Channel: Motor drivers forum - Recent Threads
Viewing all articles
Browse latest Browse all 14309

DRV8711: how to use the direct PWM input mode to control the stepping motor

$
0
0

Part Number: DRV8711

Hi  ALL:

    now I don't know how to use the direct PWM mode to control the stepping motor

  as we know, the drv8711 control pin is : SLEEPn  STEP/AIN1  DIR/AIN2  BIN1 BIN2  RESET ; if I want  to use the direct PWM mode to control motor, so  I  should use a MCU  PWM pins   to  connect  the  AIN1  AIN2  BIN1 BIN2 pins of drv8711.  

  there is a introduction about how to use  direct pwm input mode  to drive the  stepping motor  in  the  user guide of  drv8711

Table 2. Direct PWM Input Mode Logic

xIN1     xIN2      xOUT1       xOUT2       OPERATION
0           0            Z                Z               Asynchronous Fast Decay
0          1             L                H              Reverse Drive
1          0             H               L               Forward Drive
1          1             L               L               Slow Decay

 

however  I think the  xIN1  xIN2  is only to control the motor running direction

if there is any sample code to use the direct PWM  input  mode to control the motor

thanks!

mandy

 


Viewing all articles
Browse latest Browse all 14309

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>