Professional Documents
Culture Documents
Serial and Parallel Communication
Serial and Parallel Communication
Serial and Parallel Communication
Chapter Objectives
Explain serial communication
Standards, ports, resources etc.
Show a few examples of serial communication connections used in practice Describe the features of parallel communication
Standards, use etc.
Chapter Modules
Serial communication Newer serial communication technologies Serial communication connections Parallel communication
Module
Serial Communication
Chapter Objectives
Explain serial communication
Standards, ports, resources etc.
Show a few examples of serial communication connections and ports used in practice
Sometimes these ports are also known as the asynchronous ports or asnch ports in short It is also possible to conduct synchronous transmission through these ports as well
Expansion Bus
Pins
Holes
Serial Cable
DB9 Connector
DB25 Connector
Source Black Box
End of Module
Module
For most practical purposes, four serial ports are considered sufficient in a microcomputer
Only two, namely com1 and com2,
Port Properties
Com 1 Com2 Com3 Com4
IRQ I/O Address Base Memory Address Direct Memory Address (DMA) Channel
Assignment of Values
The assignment of the respective values for each port must be unique An IRQ, I/O address or DMA conflict can lead to a disruption in the execution of an application
This is no more a problem with newer OS and hardware
End of Module
Module
Faster RS-232 Serial Ports and Summary
Com. Port
UART-based Ports
In Summary
Two standard serial ports are present on a microcomputer Resources
IRQ, I/O Address and DMA
Port settings
Communication speed, length of the data bits etc.
Later versions of the UART chip are required to support high speed communication through the serial
End of Module
Module
Newer Serial Communication Technologies: Universal Serial Bus (USB)
Computer
USB Port In
Device 1 Device 2
Out
Computer
USB Port In
Hub
Device 2
Out
USB Standards
USB 1.1 USB 2.0 USB On-The-Go (OTG)
A newer standard being designed for portable and small devices
U3 Standard
USB Connectors
Type A
Upstream connectors From the system Downstream connectors To the device
Smaller connector for PDAs, mobile phones and digital cameras Small for factor connectors for USB OTG
In accordance with USB standards, these operating systems support hot plug-and-play for USB devices
Hot Plug-and-Play
The ability to connect a device to the computer while a computer is in operation As the device is connected, the OS would:
Recognize the device Configure the device
End of Module
Module
Data Transmission
100 Mbps, 200 Mbps and 400 Mbps Newer ports are being developed to support 800 Mbps and 1600 Mbps Data is transmitted in packets and it is available to all the devices on the bus
Type of Transmission
Asynchronous (bulk) transfer guarantees correct transmission; suitable for control data and where error-free transmission takes precedence over speed. Isochronous transfer - guarantees bandwidth (ideal for transmitting time critical data, e.g. video, audio) Courtesy: www.thesycon.de
The maximum distance between nodes is 4.5 m (revisions to the standard will support distances of 100 m between nodes Up to 27 devices can be connected to each node. Courtesy: www.thesycon.de
Hot-swapping allows users to attach and detach devices while the network is running; the network is reconfigured automatically. Each bus supports up to 64 nodes and the specification supports up to 1024 buses. A 1394 bus appears as a flat space in memory, with each node occupying a 48 bit address range. Integrated power supply - devices receive power through the bus. Courtesy: www.thesycon.de
End of Module
Module
Fiber Channel
End of Module
Module
Multiple Ports
Microcomputers as terminals
Dial-in access
LapLink Connection
Laptop/ Notebook/ Computer RS-232C Serial Lap-link Connection
Desktop Computer
Note: Lap Link serial cable is specially wired to make the connection
X.25 Standard
Used in WAN connections X.25 is used in the U.S. Its equivalent X.21 is used in Europe Today, the above older technologies are being replaced with newer digital technologies
ATM Frame Relay etc.
End of Module
Module
Parallel Communication
Parallel Transmission
Multiple links
Summary
A microcomputer is equipped with one standard parallel port Additional parallel ports can be installed Used extensively for connecting a printer
Used for connecting other devices as well
End of Module
Module
Popular Introductions
Standard Parallel Port (SPP) Enhanced Parallel Port (EPP) Extended Capability Port (ECP)
Wake Up Feature
No printing activity for a predetermined period of time
Printer enters into a sleep mode Printer does not consume power
End of Module
Module
ECP Computer Entry
End of Module