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.

5-phase 5-wire stepper motor programming problem. You'll have to figure out the grey code required for the stepper motor to step. Of a college project, and my. Namoz vaktlari toshkent.