schneiderj
New Member
Hello I am in trouble to run my L297 (with a L298).
I would like to use my stepper motor in the "two phase on" full step to have the best torque.
But I am not such of the operation order to obtain that mode.
What I am doing is :
The enable pin is set only at the end of this code. Is that correct ?
I put some delay between Reset = 0 and Reset = 1. That seams not mandatory.
Can you give me your comments on these operations ?
Thanks
Jean-Marie
I would like to use my stepper motor in the "two phase on" full step to have the best torque.
But I am not such of the operation order to obtain that mode.
What I am doing is :
Code:
b_Reset = 1;
b_H_F = 1;
//delay_us(10);
b_Reset = 0;
delay_us(10);
b_Reset = 1;
b_H_F = 0;
b_Clock = 0;
b_CW_CCW = b_SensRot;
b_Enable = 1;
b_TMR3ON = 1;
The enable pin is set only at the end of this code. Is that correct ?
I put some delay between Reset = 0 and Reset = 1. That seams not mandatory.
Can you give me your comments on these operations ?
Thanks
Jean-Marie