piclist 2001\01\10\174405a >
Thread: Bit banging Asynchronous Serial Communication
www.piclist.com/techref/io/serials.htm?key=serial
picon face BY : Freddie Leaf email (remove spam text)



I'm interested in bit banging Asynchronous Rx and Tx serial communications
on a PIC16F84.  I understand the serial protocol, but need some advise on
the Rx implementation algorithm.  Here are a few questions..  If anyone
has done this and would share their code I sure would appreciate it.

1)For the Rx algorithm, what is the best was to watch for the Start Byte?
Is it best to use an interrupt or to keep polling the line for a
transition.
2) Once you think the start byte is coming, what is the best way to be
sure.  ie, do you look for a pulse that is equal to 1/baud rate? or do you
assume that any transition is the beginning of the Start Byte?



=====


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

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


<20010110224249.43812.qmail@web10305.mail.yahoo.com>

See also: www.piclist.com/techref/io/serials.htm?key=serial
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Bit banging Asynchronous Serial Communication

month overview.

new search...