Hi,

I wonder if anyone else has come across this and could offer a bit of advice?

I'm trying to get two PIC's talking to each other, which I have managed to do using serout on the master and serin on the slave.

However on the slave PIC I have an incoming pulse which triggers an asm interrupt to clone the pulse (after small modification of width and timing, based on the data received using the serin command) and output it on another pin.

What I appear to have a problem with though is the interrupt interferes with the serial input and seems to knock it totally off timing.

Does anyone have any other suggestions for reading the data from the master PIC which is a little more interrupt friendly (I've tried using shiftin and shiftout but with little success)?

Just for reference the master PIC is a 16F877@20Mhz and the slave is a 16F84A@20Mhz (but could be another 16F877 if it would suit it better).

Thanks

Leigh