piclist 1995\11\27\000958a >
Thread: Auto adaptive(?) serial routine
face BY : Joel Carvajal email (remove spam text)

On Sat, 25 Nov 1995, Mauricio Culibrk wrote:

{Quote hidden}

I haven't tried it myself but a lot of people have done that already.
However, I'm not sure what do you mean by "..without loosing a byte of
data?".  Usually, you connect to something (host) that is already sending
data, for synchronization with whoever wants to connect.  The data usually
is such that you could actually try all possible baud rates (brute force,
but you could think of other techniques) and then when the expected data
is finally received, you inform the host that you are know synchoronized
with his baud rate.  So in that case, you do lose some bytes of data  but
its OK.  Those data are for, as I said, to,let you synchronize with the host.

To summarize, in order to connect to a host at his baud rate, the host
must send a "synchronization" data.  Of course you must know the data.
You then adjust your baud rate until you receive the correct data.  When
you finally is in "harmony" with your host, inform him, and the
rest of the communication then proceeds.

Hope I was of help.  Good luck!

In reply to: <m0tJWAI-0004HkC@polgas>
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) Auto adaptive(?) serial routine

month overview.

new search...