Quite correct, (I looked at the F628 datasheet after seeing this post) and I do advocate following the datasheet. In fact it says the same thing in the F877 datasheet for TRISC<7:6>. HOWEVER, in practise, this does not seem to matter, as I have set Tx in some of my code as an output and the USART still works absolutely correctly in both directions (and of this I am absolutely certain). The PIC seems to be asserting the pin direction when the USART is enabled via SPEN. Summing up, I really do not think this is the cause of Lucian's problems. Rgs Ian -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of piclist@XARGS.COM Sent: Monday, 6 October 2003 2:34 am To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: 16F628 USART Problem On Mon, 6 Oct 2003, Ian McLean wrote: > I think I can answer this one for you. Tx is for PIC transmit, an output. > The pin should be set as an output, not an input. With most 16 series, both TX and RX must be set as inputs. The 16f62x datasheet specifically states that TRISB<2:1> have to be set. -- John W. Temples, III -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics