I was getting really weird behavior from a PIC16F648A: The serial data out was available at both RX (RB1) and TX (RB2) pins. At first I suspected that both pins could be shorted together outside of the chip, then I noticed that the RX pin signal was inverted. Very odd, because I don't have any inverter on the board, not even a transistor. After too much fuss (even cutting tracks and removing components), I found that I had the RX and TX pin directions reverted (TRISB register). Then I corrected the pin directions and everything worked OK. It is worthy noticing that bit CREN at RCSTA was turned off also. I will restore the wrong code to confirm it all, but it is a very odd behavior indeed, RX outputting the inverted signal when configured as output. Isaac __________________________________________________ Fale com seus amigos de gra=E7a com o novo Yahoo! Messenger = http://br.messenger.yahoo.com/ = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist