Alan, Perhaps some more detail would make an interesting thread. I have been trying various serial protocols to get two PICs (16C84) talking and am wondering what is the 'best' way. Some of the issues I faced, and I suppose anyone doing this must face are: 1) How few pins can I get away with? 2) How fast can I go? 3) What is the interrupt mechanism? My, final design (amatuerish at best), involved timer interrupts, and flags, perhaps similar to your own. I would be very interested in hearing what the experts have to say, and also would be interested in any references for relevent reading material. Matt On Mon, 18 Aug 1997, Alan G. Smith wrote: > > Has anyone used the interupt driven RS232 comms > > program in microchip AN555 on the 16C84? > > > > From what I can see, it is for the 16C71. > I have used a modified version to work on different pins. Since I couldn't use > the interrupt for the > Receive I used the timer Interrupt (TMR0) to check for Receive Data. > I actually implemented mine fully in the ISR where you simply set a flag when > you have transmit data > available and a flag is set when receive data is available. > I had very little problems making the modifications and getting it to work. > > If you have any problems implementing it, let me know and I will see what I can > do to help. > > Good luck! > > Alan G. Smith > +--------------------------------------------------------- > | Alan G. Smith > | ags@poboxes.com > | http://www.innovatus.com/ags > /*****************************************/ /* Matt Calder, Dept. of Statistics, CSU */ /* http://www.stat.colostate.edu/~calder */ /*****************************************/