[I wrote] >>The only interrupt driven RS232 PIC software I could find was Tony >>Kubeks example in ASM, but this doesn't have all the features I want. >>Do you (or anybody else) know about a published example? [Tony Kubek replied] > Well, that wasn't complete :) anyway I have an old version > as a relocatable module that contains: > -isr based > -circular buffers > -option for 7bit even parity > -add w as two ascii bytes ( send hex ) > -etc.. > > I'll post it if anyone is interested ? In the meantime I think have my own routines (in C) running. But maybe I'm overlooking something. Reading in other similar programs could be very educational. So yes please. I assumed the receive part would be the hardest, but actually the transmit part, esp. handling of TXIF/TXIE, took most of my time. [Olin Lathrop replied] > I don't know what features you are looking for, but perhaps my > QQQ_UART.ASPIC module does what you want. It uses fully interrupt > driven I/O with separate input and output FIFOs. There are global > status bits indicating whether the output FIFO has room for another > byte and whether the input FIFO has a byte available. You mentioned about all the features I want to support, and have in place in the meantime! In general: I want to support high speed, high volume traffic between a PIC-based device and a PC, and be able to use the hardware FiFo buffering of the COM-port of the PC (16 bytes load count). Although it looks like my program is functionally OK now I still want to compare if with some 'production' code before I publish it (assuming someone is interested!) Thanks so far. Regards, Rob. -- Rob Hamerling, Vianen, NL phone +31-347-322822 homepage: http://www.robh.nl/ -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.