piclist 2001\01\10\174405a >
Thread: Bit banging Asynchronous Serial Communication
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
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://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spam_OUTlistservspamspamspamBeGonemitvma.mit.edu with SET PICList DIGEST in the body


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