Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

L297 operations

Status
Not open for further replies.

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 :
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
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top