> I am trying to write a byte from the PIC to the PC on the USART. But > when I write a byte to TXREG the byte received at the PC is always > incorrect, and sometimes the PC reads two bytes. I am using a MAX232 to > do the level conversion and I am confident that the USART is set up > correctly. What are some possible causes for this? It sounds like a buad rate mismatch, but there could be other causes. Write a little test program on the PIC to send the same byte repeatedly with a little delay between bytes. That will allow you to check the signal on the scope to decide which side (the PIC or PC) is having the problem. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads