Chapter 4 Making Connections Introduction v Examine the

  • Slides: 20
Download presentation
Chapter 4 Making Connections

Chapter 4 Making Connections

Introduction v Examine the interface between a computer and a device. This interface occurs

Introduction v Examine the interface between a computer and a device. This interface occurs at the physical layer. v Connecting peripheral devices to a computer (called interface) has, in the past, been a fairly challenging task. v Newer interfaces have made this task much easier. v Interface standards define modes of transmission: Ø Ø Serial/parallel Simplex/duplex Asynchronous/synchronous Point-to-point/multi-point 2

Standards Organizations v International Telecommunications Union (ITU) v v (formerly CCITT) Electronics Industries Association

Standards Organizations v International Telecommunications Union (ITU) v v (formerly CCITT) Electronics Industries Association (EIA) Institute for Electrical and Electronics Engineers (IEEE) International Organization for Standards (ISO) American National Standards Institute (ANSI) 3

DCEs and DTEs v Communication circuits can be defined in terms of the devices

DCEs and DTEs v Communication circuits can be defined in terms of the devices that are designed to transmit signals on a circuit, and the destination Ø DCE - Data communicating equipment: ü Ø The device that forwards the signals being sent along a particular circuit, e. g. , a Modem DTE – Data terminating equipment: ü The device to which the signal is being directed, e. g. , a computer 4

Interface Standards v Electrical: Ø Voltages, line capacitance, and other electrical characteristics v Mechanical:

Interface Standards v Electrical: Ø Voltages, line capacitance, and other electrical characteristics v Mechanical: Ø Connector or plug description v Functional: Ø Function of each pin or circuit that is used in a particular interface v Procedural: Ø Ø Ø How the particular circuits are used to perform an operation For example, the functional component may describe two circuits, Request to Send and Clear to Send The procedural component describes how those two circuits are used so that the DTE can transfer data to the DCE 5

Two Important Standards v EIA-232 F – an older standard originally designed to connect

Two Important Standards v EIA-232 F – an older standard originally designed to connect a modem to a computer. v USB (Universal Serial Bus) – a newer standard that is much more powerful than EIA-232 F 6

EIA-232 F v Older interface standard designed to connect a device such as v

EIA-232 F v Older interface standard designed to connect a device such as v v a modem to a computer or terminal. Originally named RS-232 but has gone through many revisions. The electrical component is defined by another standard: V. 28. The mechanical component is often defined by ISO 2110, the DB-25 connector. The DB-9 connector is now more common than the DB-25. The functional and procedural components are defined by the V. 24 standard. 7

Serial & Parallel 10

Serial & Parallel 10

Data flow v Circuits can be designed to permit data to flow in one

Data flow v Circuits can be designed to permit data to flow in one or both directions: v Simplex Ø One-way transmission v Half-duplex Ø Two-way communication link, but only one system can “talk” at a time v Full duplex Ø Transmit in both directions simultaneously 11

Universal Serial Bus (USB) v v v v v The USB interface is a

Universal Serial Bus (USB) v v v v v The USB interface is a modern standard for interconnecting a wide range of peripheral devices to computers. Supports plug and play. Can daisy-chain multiple devices. USB 1. 0 – 12 Mbps; Use 2. 0 – 480 Mbps; USB 3. 0 – 4. 8 Gbps. The USB interface defines all four components. The electrical component defines two wires VBUS and Ground to carry a 5 -volt signal, while the D+ and D- wires carry the data and signaling information. The mechanical component precisely defines the size of four different connectors and uses only four wires (the metal shell counts as one more connector). The functional and procedural components are fairly complex but are based on the polled bus. The computer takes turns asking each peripheral if it has anything to send. 12

Fire. Wire v Low-cost digital interface v Capable of supporting transfer speeds of up

Fire. Wire v Low-cost digital interface v Capable of supporting transfer speeds of up to 400 Mbps v Hot pluggable v Supports two types of data connections: Ø Ø Asynchronous connection Isochronous connection 13

SCSI and i. SCSI v SCSI (Small Computer System Interface) Ø A technique for

SCSI and i. SCSI v SCSI (Small Computer System Interface) Ø A technique for interfacing a computer to high-speed devices such as hard disk drives, tape drives, CDs, and DVDs. Ø Designed to support devices of a more permanent nature. Ø SCSI is a systems interface. Ø Need SCSI adapter. v i. SCSI (Internet SCSI) Ø A technique for interfacing disk storage to a computer via the Internet. Ø It looks like the disk storage is down the hall, but it could be anywhere on the Internet. 14

Infini. Band & Fibre Channel v Infini. Band – a serial connection or bus

Infini. Band & Fibre Channel v Infini. Band – a serial connection or bus that can carry multiple channels of data at the same time Ø Ø Can support data transfer speeds of 2. 5 billion bits (2. 5 gigabits) per second address thousands of devices, using both copper wire and fiber-optic cables A network of high-speed links and switches v Fibre Channel – also a serial, high-speed network that connects a computer to multiple input/output devices Ø Supports data transfer rates up to billions of bits per second, but can support the interconnection of up to 126 devices only 15

Asynchronous Connections v A type of connection defined at the data link layer. v

Asynchronous Connections v A type of connection defined at the data link layer. v No “clocking signal” to say when a frame starts or ends, so, how does the receiver know when a frame starts or ends? Ø Ø Add a Start bit, while a Stop bit is added to the end of the frame. An optional parity bit can be added to the frame which can be used to detect errors. v Used in slower, cheaper equipment, because of start/stop overhead. 16

Synchronous Connections v A second type of connection defined at the data link layer.

Synchronous Connections v A second type of connection defined at the data link layer. v A synchronous connection creates a large package (frame) that consists of header and trailer flags, control information, optional address information, error detection code (checksum), and the data. v A synchronous connection is more elaborate but transfers data in a more efficient manner. 17

Isochronous Connections v A third type of connection defined at the data link layer

Isochronous Connections v A third type of connection defined at the data link layer used to support real-time applications v Data must be delivered at just the right speed (realtime) – not too fast and not too slow v Typically an isochronous connection must allocate resources on both ends to maintain real-time v USB and Firewire can both support isochronous 18

Terminal-to-Mainframe (I) v A point-to-point connection is a direct, unshared connection between a terminal

Terminal-to-Mainframe (I) v A point-to-point connection is a direct, unshared connection between a terminal and a mainframe computer. v A multipoint connection is a shared connection between multiple terminals and a mainframe computer. v The mainframe is called the primary, and each terminal is called a secondary. 19

Terminal-to-Mainframe (II) v To allow a terminal to transmit data to a mainframe, the

Terminal-to-Mainframe (II) v To allow a terminal to transmit data to a mainframe, the mainframe must poll the terminal v Two basic forms of polling: roll-call polling and hub polling v In roll-call polling, the mainframe polls each terminal in a round-robin fashion v In hub polling, the mainframe polls the first terminal, and this terminal passes the poll onto the next terminal 20