UART

How does the UART know that the device connected to it is ready to receive data?

Reply to
lee
Loading thread data ...

When does our assignement have to be handed in?

Deep.

Reply to
Deep Reset

It does not know anything about the connected device. The driver may look at the handshake lines (DTR, RTS, CTS...) but thats not part of the UART.

Regards, Kurt

--
Kurt Harders
PiN -Präsenz im Netz GITmbH
 Click to see the full signature
Reply to
Kurt Harders

UART on what?

It doesn't.

Reply to
techie_alison

A lot of the time those handshaking signals run across the same chip where the UART function is found. But it's true that simple UART need not pay attention to them - they would merely show up in registers the host CPU could access.

With buffered UARTs though, the buffering will not do much good in a handshaked application unless the control circuit for the buffers monitors and drives the handshaking signals. You could of course argue that a buffered UART is simply a dumb UART surrounded by a buffer and it's controller, and argue that the buffer and it's controller are merely part of a driver transformed into hardware.

Reply to
cs_posting

It depends on the UART. Some don't know anything. Some watch the handshake lines. Some watch for xon/xoff characters.

That depends on the UART. The better UARTs do indeed look at CTS and/or DSR, and some even monitor the receive datastream for xon/xoff characters.

--
Grant Edwards                   grante             Yow!  I OWN six pink
                                  at               HIPPOS!!
 Click to see the full signature
Reply to
Grant Edwards

How about reading manuals ?

Think before ask, today: Think, Google, ask ;-)

--
42Bastian
Do not email to bastian42@yahoo.com, it's a spam-only account :-)
 Click to see the full signature
Reply to
42Bastian Schick

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.