Phillip wrote: > The rest of the ISR looks at the char and if it is the right character > it pushes a CMD into a circular buffer or if a special character has > been received it builds a string by pushing the next few characters > into a buffer. > When it sees a terminating character a command is pushed into the > circular buffer. This sounds like something that could be easily (and therefore probably should be) handled by the foreground code. Once again, why can't your UART interrupt routine just grab the byte, stuff it into a FIFO, then get outta there as fast as possible? ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist