Other Parts Discussed in Thread: TM4C1294NCPDT
Dear Sir.,
We are using TM4C1294NCPDT microcontroller,and also using 4 stepper motors for our application.And DRV 8711 Driver IC used for driving stepper motor.
If i give 90 degree (not a pulse,90/1.8*4=200 pulse),stepper is moving 95degree so the pulse variation is (95/1.8*4=211 pulses) is different.The PWM generation of my code is
if(CalPluses>ActualPluses)
{
if (Motor_Step_Count==0)
{
Step_Input_High;
Step_Count = 1;
}
else
{
Step_Input_Low;
Step_Count = 0;
ActualPluses++;
}
}
If the calculated pulse is greater than actual pulse,step input will be high and low.
Microstepping=2
Max Torque=0xF0
What can i do for exact moving for stepper motor(90 degree),and avoiding extra moving stepper motor.