On 15-Feb-02 Vasile Surducan wrote: > On Thu, 14 Feb 2002, [iso-8859-1] paul carns wrote: > >> I'm a begginer with PICs. I need to communicate two >> 16F876. One of them has to send a message (in serial) >> and the other must to receive it. >> I was reading the PICs datasheet, but it doesn't >> clarify me. I think I know how transmit and how >> receive, but I don't know pass the message (i.e. how >> both PICs could transmit and receive at the same >> time). >> > They can't only with SPI. Sorry, but I think you are wrong... It is easy to make a PIC transmit and receive at the same time. Just think about it.... If you loop back the Tx and Rx pins (by just connecting them together) and send data it is received OK, so the PIC must be Tx and Rx at the same time. If you can do it with one PIC, then if you wire Tx to Rx and Rx to Tx on two PICs they can both TX and Rx at the same time. It it possible that I have misunderstood something of course, but I'm pretty sure I've not. Peter. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu