Re: UART communication doubt



Paul Burke wrote:
Nandinikrishna wrote:

Hi I am Nandinikrishna I am working on C8051CF023 processor. How
exactly does synchronous and asynchronous communication take
place. To transmit 0 bit the TXD line will be held low ie.,0V, to
transmit 1 bit the TXD line will be held at 5v. In asynchronous
communication the processing speed of the two terminal varies
then how long should the TXD line be supplied with the voltage?

It's not a doubt, its a question, as someone said before.

Doubt is fine. Surely you can adapt your phraseology to that of
something like 500 million English speaking Indians? And others.
Pure English is only spoken in Canada, and only in parts thereof,
where it has been preserved against the viscissitudes of vicious
fortunes for generations. :-)

I think what you are getting at is "how does a UART retain sync
when the clock rates at the ends are bound to be different?" The
answer is that the hardware starts a counter, clocked at several
times the Baud rate (usually 8-16x), when the start bit arrives,
and uses that as a relative reference to gauge the sampling point
of the data. So as long as the clocks aren't too far out relative
to each other, and as long as the data word isn't too long, by
the time the stop bit arrives the bit level is still valid at the
sampling point. Then the whole lot gets resychronised by the next
start bit.

The point is that the communications speed is normally pre-agreed
by some means outside the channel, and thus is pre-known to the
hardware.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.



--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: UART communication doubt
    ... does synchronous and asynchronous communication take place. ... bit the TXD line will be held low ie.,0V, to transmit 1 bit the TXD line ... So as long as the clocks aren't too far out relative to each other, and as long as the data word isn't too long, by the time the stop bit arrives the bit level is still valid at the sampling point. ...
    (comp.arch.embedded)
  • Re: UART communication doubt
    ... does synchronous and asynchronous communication take place. ... bit the TXD line will be held low ie.,0V, to transmit 1 bit the TXD line ... So as long as the clocks aren't too far out relative to each other, and as long as the data word isn't too long, by the time the stop bit arrives the bit level is still valid at the sampling point. ...
    (comp.arch.embedded)
  • UART communication doubt
    ... Hi I am Nandinikrishna I am working on C8051CF023 processor. ... does synchronous and asynchronous communication take place. ... bit the TXD line will be held low ie.,0V, to transmit 1 bit the TXD line ...
    (comp.arch.embedded)
  • Re: Serial comm: Line status error
    ... I've done RS-485 multidrop and hit similar problems. ... same time, they stomp on each other's data, and you get some sort of error report. ... In our system, we actually had to request each unit transmit by broadcasting a "Please, ... unit n, tell me your status" type message, so the communication was controlled by the ...
    (microsoft.public.vc.mfc)
  • Re: How can the majority of communication be non-verbal
    ... communication is more important than verbal if you can't measure it? ... The OP didn't claim there were no things that needed words to transmit, only that they usually are of less importance than the non-verbal ones. ... the decline and fall of the Roman Empire itself can be perfectly transmitted non-verbally. ...
    (rec.org.mensa)