new question, or looking for suggestions.
I am gonna run my pic at max speed for it. thats 32 meg. The way I was going to handle my step/dir signals was to just pass them through to my drives. So my main would look something like this:
Code:
Main
 portc = porta ' pass all values to C
 if porte!=0 then LimitHit 'check for overtravels
 goto main
Thats my whole main section. Now for my problem

If I want my interface card to look and act like a Gecko drive, their timing is this: step signal requires a min low of .5microsec and a high of 4 microsec. It occurs to me the .5uS will be 4 instructions running at 32meg so I think I could miss that pulse real easy. In fact I may miss many.

Now there are some other thing going on here, 1 I don't think EMC is updating the port that fast, and 2 I can make the pulses longer. The one thing I can't do is IOC cuz the boards made already so wrong port.

I guess I am just looking for other opinions here as to how to handle this. BTW, If i hit a limit, I don't care if I miss steps at that point.