OK, I guess this can be done, but I want to be sure before I make a mess

I want to take the output from one pic, feed it to a second pic which will take an incoming pulse signal and then, based on the data from the first pic delay the phase of an incoming pulse (possibly on another port) by a pre-determined amount (using an EEPROM lookup to determine it).

I need to ensure I have at least a 20uS window to perform the lookup and delay of the pulse as timing is critical.

I also need to do a similar thing on two other inputs, but rather than altering the phase, I need to alter the duty cycle to give a longer pulse than the one received - this is still in progress though so I don't have any timing details for this section as yet.

Does anyone have any suggestions as to the best way around this? I was thinking of running a set of interrupts to do the work, but I'm a bit unsure if there's going to be enough time to do it properly.

Thanks in advance.

Leigh