Professional Documents
Culture Documents
Lecture 11
Parallel versus serial data transmission…
Parallel Data Transmission Serial Data Transmission
N bit at a time transmission. bit by bit transmission.
More transfer lines. less transfer lines.
Short -distance communication long-distance communication
Fast, but expensive Slow comparatively, but less expensive
Bit Rate Comparison
Serial Communication…
Serial ports are still used in these areas as they are simple,
cheap and their console functions are highly standardized and widespread.
A serial port requires very little supporting software from the host system.
Serial ports
Newer type of serial connections:
– Universal Serial Bus (USB)
– IEEE 1394 serial connection that is also known as
the FireWire connection
Universal asynchronous
receiver/transmitter [UART]
Used to transfer data between serial and parallel
forms
UART takes bytes of data and transmits the
individual bits in a sequential fashion.
At the destination, a second UART re-assembles
the bits into complete bytes.
Each UART contains a shift register, which is the
fundamental method of conversion between serial
and parallel forms
Universal asynchronous
receiver/transmitter [UART]
sender receiver
UART UART
[PISO Serial
Byte
Serial SIPO
Byte
Stop Bit
Data
Start Bit Parity Bit
Baud rate
The transmission rate of serial devices is called
baud. It is the number of changes in the signal
per second….
Baud rate
Bit rate (bits/sec): actual rate at which bits are
transmitted.
Baud rate: rate at which the signaling
elements, used to represent bits, are
transmitted.
Since one signaling element encodes one bit, both
rates are identical.
Time period of each bit = 1/baud rate seconds
Baud rate
• In digital systems with binary code, 1 Bd = 1
bit/s.
• By contrast, non-digital (analog) systems use a
continuous range of values to represent
information and in these systems the exact
informational size of 1 Bd varies.
Baud rate
• The baud is scaled using standard metric
prefixes, so that for example:
– 1 kBd (kilobaud) = 1000 Bd
– 1 MBd (megabaud) = 1000 kBd
– 1 GBd (gigabaud) = 1000 MBd.
Wiring RS-232
• The RS-232 specification denotes usage of a 25 pin
cable, where each pin has a specific usage.
• However, most devices never need to use all of the
pins, so the cabling requirements for specific devices
may vary.
• Many common serial devices (modems for example),
use a 9 pin serial connection.
RS-232 DB25 Pin Out