Hi every one
I've tried to replicate L297-driven-L298 scheme for my 5 phase oriental motor pentagon stepper motor, but I've find
L297 only use for 4 wire motors, hence I've decide to use an atmega16 for controlling the stepper motor, I've tied 4 L298
input together as well as 4 output to control each winding with single L298 (2+2 amper for each winding), I've tied currents
sense A & B for the another input to my microcontroller. My plan is following the oriental motor full step pattern table
to energize the winding, in each step I read analogue input of currents sense related to its L298 phase and chopped whether is
exceed from MAX Currents in the loop, then go to next step such as following code

Code:
if(FullHalfStep==FullStep)
	{
		switch(step_num)
		{
			case 0:phase(phase_B,Hz);
				   phase(phase_E,Hz);
				   phase(phase_A,High);				   
				   phase(phase_C,Low);
				   phase(phase_D,Low);				   
				   
				   for(i=0;i<Chopping_on_time_us;i++)
				   {
						current=read_phase_current(phase_C); 
						current*=2;
						//print_number(current);
						if(current>=Max_Current_mA) 
						{
							phase(phase_A,Hz); 
							//uart_puts("|\n");
							//print_number(current);
						}
						else if(current<=Min_Current_mA)  
						{
							//print_number(current);
							phase(phase_A,High);
							//uart_puts("		H\n");
						}
				   }				   
				   			   
				   phase(phase_C,Hz);
				   phase(phase_D,Hz);
				   //_delay_us(Chopping_off_time_us);				   
				   while(read_phase_current(phase_A)>Chopping_off_Current);
				   phase(phase_A,Hz);
				   
			break;
			
			case 1:phase(phase_C,Hz);
				   phase(phase_E,Hz);
				   phase(phase_A,High);
				   phase(phase_B,High);				   
				   phase(phase_D,Low);
according to reference 5 phase pentagon stepper motor can run as fast as 3000 RPM with excellent power but I cant
reach any performance as claimed, still with theoretical 4 A L298 channel, its get hot and RPM not very hight, I've change the following parameters
but not good success

Chopping_on_time_us
Chopping_off_Current
Max_Current_mA
Min_Current_mA

I've uploaded codes and schematic of my driver if helpful
any comment and help is really appreciated