Bob Ammerman wrote... > If you are not in sync, then you will probably be getting framing errors. > So, when you get a framing error, reset the receiver and keep looking for > alignment. That seems to be the best idea, for now. > http://www.piclist.com/techref/microchip/ammermansync.htm This is an IR link @ 2400 bps; will try the magic bytes if I need to "drop" more than 16 bytes or so with the frame error sync. BTW, once the USART receive is switched on (16F877), does it automatically give a framing error and set RCIF if it does not receive any data in a given time (i.e. there is NO transmission at the other end)? I've had this happen and it sounds weird; but the RX pin is held low locally when idle, so maybe that's what confuses it. Cheers, Ishaan -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads