Searching \ for '[PIC]: 16F876 serial communication' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: massmind.org/techref/microchip/ios.htm?key=serial
Search entire site for: '16F876 serial communication'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: 16F876 serial communication'
2002\02\14@143820 by o-8859-1?q?paul=20carns?=

flavicon
face
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).

I would appreciate your help. Thanks in advance.


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spam_OUTlistservTakeThisOuTspammitvma.mit.edu with SET PICList DIGEST in the body


2002\02\14@144656 by Martin Peach

flavicon
face
The way you describe it, each PIC is either receiving or transmitting, never
both at the same time.

/\/\/\/*=Martin

{Original Message removed}

2002\02\14@181449 by Nick Veys

flavicon
face
Once the serial ports are set up, you simply write the data to TXREG,
and it transmits.  On the other end, you simply get an interrupt or poll
a flag, when it becomes true or interrupts, that means your data has
been transmitted...  It's that simple.

.....nickKILLspamspam@spam@veys.com | http://www.veys.com/nick

> {Original Message removed}

2002\02\15@023559 by Vasile Surducan

flavicon
face
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.

regards, Vasile

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestspamKILLspammitvma.mit.edu


2002\02\15@061830 by Peter Onion

flavicon
face
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
.....piclist-unsubscribe-requestKILLspamspam.....mitvma.mit.edu


2002\02\15@070304 by Vasile Surducan

flavicon
face
You have right Peter !
There are two registers one RCreg and one TXreg, I forgot,
ehh, that's if takes two weeks ago from my last serial applications...
So full duplex is possible...

best for your queen,
Vasile

On Fri, 15 Feb 2002, Peter Onion wrote:

{Quote hidden}

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestspamspam_OUTmitvma.mit.edu


More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...