8. I/O Buses and Interfaces

Slides:



Advertisements
Similar presentations
ITEC 1011 Introduction to Information Technologies 8. I/O Buses and Interfaces Section 7.5 & Chapter & 8.
Advertisements

BY: SHIVANI SHARMA G.P.C.G PATIALA. There are many standards for I/O buses and interfaces Standards allow open architectures Many vendors can provide.
Basic PC Maintenance, Upgrade and Repair
HARDWARE Rashedul Hasan..
I/O Interfaces.
Introduction Computer Hardware Jess 2006 EXPANSION CARDS BUS ARCHITECTURE AND CONNECTORS.
Chapter 22 All About SCSI.
Chapter 10 Supporting I/O Devices. You Will Learn…  How to install peripheral I/O devices  How to use ports and expansion slots for add- on devices.
EET Advanced Digital Chapter 21 Serial Ports.
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 15 PC Standard Bus Interfaces WK.
1 Introduction to Computers Day 6. 2 Main Circuit Board of a PC The main circuit board (motherboard or system board) is the central nervous system of.
Computer Architecture Ports.  There are lots of external devices that you can connect to your computer. All external devices connect to the computer’s.
Terms 5 Definitions and Questions. ISA The original 8- and 16-bit expansion card standard used in PCs. ISA cards run at a bus speed of 8MHz. You can plug.
ECE 371- Unit 11 Introduction to Serial I/O. TWO MAJOR CLASSES OF SERIAL DATA INTERFACES ASYNCHRONOUS SERIAL I/O - USES “FRAMING BITS” (START BIT AND.
Parallel Connections Michael Fromwiller CS 147 Spring 08 Dr. Sin-Min Lee This presentation will probably involve audience discussion, which will create.
LOGO. Types of System Boards  Nonintegrated System Board  Nonintegrated system boards can be easily identified because each expansion slot is usually.
University of Tehran 1 Interface Design Serial Communications Omid Fatemi.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
PHY 201 (Blum) Buses Warning: some of the terminology is used inconsistently within the field.
Created by: Benton Kaeb
Transmission Modes Serial Transmission  One bit is transmitted on a circuit at a time  Usually there is one transmit circuit and one receive circuit.
Computers in Surveying SVY2301 / E4006 Automated Surveying.
Computer Organization CSC 405 Bus Structure. System Bus Functions and Features A bus is a common pathway across which data can travel within a computer.
Components of a PC. Motherboard. Computer Mother Board Computer Mother board and its constituent components A typical PC mother board with important.
XP Practical PC, 3e Chapter 17 1 Upgrading and Expanding your PC.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Interconnection Structures
… when you will open a computer We hope you will not look like …
Peripheral Busses COMP Jamie Curtis. PC Busses ISA is the first generation bus 8 bit on IBM XT 16 bit on 286 or above (16MB/s) Extended through.
9/28: Buses & Communication Buses: highways of the motherboard –system buses –local buses: PCI, ISA, EISA –expansion slots plug & play laptops: PCMCIA.
1 Chapter Overview Understanding Expansion Buses Configuring Expansion Cards Cables and Connectors.
Serial Port I/O Serial port sends and receives data one bit at a time. Serial communication devices are divided into: Data Communications Equipment (DCE),
Computer Hardware Mr. Richard Orr Technology Teacher Bednarcik Jr. High School.
LOGO BUS SYSTEM Members: Bui Thi Diep Nguyen Thi Ngoc Mai Vu Thi Thuy Class: 1c06.
Exercise 2 The Motherboard
Buses Warning: some of the terminology is used inconsistently within the field.
The Components of a System Unit
BUS IN MICROPROCESSOR. Topics to discuss Bus Interface ISA VESA local PCI Plug and Play.
Computer Architecture Part IV-B: I/O Buses. Chipsets Intelligent bus controller chips found on the motherboard Enable higher speeds on one or more buses.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 3 – The Motherboard.
Buses All devices in the computer are connected to the External Data Bus Extension to External Data Bus called Expansion Bus –Used for devices that might.
CS-350 TERM PROJECT COMPUTER BUSES By : AJIT UMRANI.
Copyright 2003 The McGraw-Hill Companies, Inc CHAPTER The System Unit computing ESSENTIALS    
1.  RAM is our working memory storage. All the data, which the PC uses and works with during operation, are stored here.  Data are stored on drives,
CHAPTER Microcomputer as a Communication Device. Chapter Objectives Examine the components of the motherboard that relate to communication Describe a.
IT3002 Computer Architecture I/O Buses and Interfaces Lectured By: MH Mohamed Nafas Faculty of Applied Sciences South Eastern University of Sri Lanka
PC Internal Components Lesson 4.  Intel is perhaps the most recognizable microprocessor manufacturer. List some others.
Input/Output Organization III: Commercial Bus Standards CE 140 A1/A2 20 August 2003.
System Bus.
BASICS OF SERIAL COMMUNICATIONS BIRLA VISHWKARMA MAHAVIDYALAYA ELECTRONICS & TELECOMMUNICATION DEPARTMENT PRESENTING BY: ABHISHEK SINGH AMANDEEP.
NARNARAYAN SHASTRI INSTITUTE OF TECHNOLOGY Prepared by: Wasu Ichcha kaur H Bhalani Nidhi M Dhakate Megha D MICROCONTROLLER.
Input / Output.
RS-232 Communications.
Bus Systems ISA PCI AGP.
Components of Computer
RS-232 Communications.
Expansion Buses Engr.Shakeel A.Laghari.
Module 2 How Computers Work.
Chapter Overview Understanding Expansion Buses
SYSTEM BUS.
Identification And Function
Overview of Computer Architecture and Organization
I/O BUSES.
Five Key Computer Components
PC Buses & Standards Bus = Pathway across which data can travel. Can be established between two or more computer elements. PC has a hierarchy of different.
Overview of Computer Architecture and Organization
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
Chapters 1-3 Concepts NT Server Capabilities
A Look at Computer Parts
Chapter 6: INTERFACES Visit for more Learning Resources.
Presentation transcript:

8. I/O Buses and Interfaces Section 7.5 & Chapter & 8

Some Review Remember CPU-memory-I/O architecture…

CPU-Memory-I/O Architecture I/O module I/O device “I/O bus” “Bus interface” “CPU bus” or “System bus”

I/O Buses and Interfaces There are many “standards” for I/O buses and interfaces Standards allow “open architectures” Many vendors can provide peripheral (I/O) devices for many different systems Most systems support several I/O buses and I/O interfaces

Examples Expansion buses or “slots” Disk interfaces External buses Communications interfaces

Expansion Buses These are “slots” on the motherboard Examples ISA – Industry Standard Architecture PCI – Personal Component Interconnect EISA – Extended ISA SIMM – Single Inline Memory Module DIMM – Dual Inline Memory Module MCA – Micro-Channel Architecture AGP – Accelerated Graphics Port VESA – Video Electronics Standards Association PCMCIA – Personal Computer Memory Card International Association (not just memory!)

3 ISA slots 5 PCI slots 6 SIMM slots 2 DIMM slots Pentium CPU

Examples Expansion buses or “slots” Disk interfaces External buses Communications buses

Disk Interfaces Examples ATA – AT Attachment (named after IBM PC-AT) IDE – Integrated Drive Electronics (same as ATA) Enhanced IDE Encompasses several older standards (ST-506/ST-412, IDE, ESDI, ATA-2, ATA-3, ATA-4) Floppy disk SCSI – Small Computer Systems Interface ESDI – Enhanced Small Device Interface (mid-80s, obsolete) PCMCIA

Examples Expansion buses or “slots” Disk interfaces External buses Communications buses

External Buses Examples Parallel – sometimes called LPT (“line printer”) Serial – typically RS232C (sometimes RS422) PS/2 – for keyboards and mice USB – Universal Serial Bus IrDA – Infrared Device Attachment FireWire – new, very high speed, developed by IEEE

Examples Expansion buses or “slots” Disk interfaces External buses Communications buses

Communications Buses For connecting systems to systems Parallel/LPT special purpose, e.g., using special software (Laplink) to transfer data between systems Serial/RS232C To connect a system to a voice-grade modem Ethernet To connect a system to a high-speed network

Buses to Buses to Buses to… An I/O module is an interface between the system bus and an I/O bus An I/O module may also interface an I/O bus to an I/O bus Let’s see…

 I/O module I/O module Modem CPU I/O module I/O module Disk Disk PCMCIA bus CPU/system bus PCMCIA bus SCSI RS232C Motherboard PCMCIA slot PCMCIA serial card I/O module I/O module Modem Memory  PCMCIA slot PCMCIA SCSI card CPU I/O module I/O module Disk Disk

A Detailed Look Let’s look at a few of the preceding examples in more detail ISA PCI AGP Serial Parallel SCSI Ethernet

ISA (1 of 3) Industry Standard Architecture History Configuration pronounced “eye-es-eh” History Originally introduced in the IBM PC (1981) as an 8 bit expansion slot Runs at 8.3 MHz with data rate of 7.9 Mbytes/s 16-bit version introduced with the IBM PC/AT Runs at 15.9 MHz with data rate of 15.9 Mbytes/s (?) Sometimes just called the “AT bus” Today, all ISA slots are 16 bit Configuration Parallel, multi-drop p. 180

ISA (2 of 3) Used for… PnP ISA Form factor Just about any peripheral (sound cards, disk drives, etc.) PnP ISA In 1993, Intel and Microsoft introduced “PnP ISA”, for plug-and-play ISA Allows the operating system to configure expansion boards automatically Form factor Large connector in two segments Smaller segment is the 8-bit interface (36 signals) Larger segment is for the 16-bit expansion (62 signals) 8-bit cards only use the smaller segment

ISA (3 of 3) Advancements EISA MCA Extended ISA Design by nine IBM competitors (AST, Compaq, Epson, HP, NEC, Olivetti, Tandy, WYSE, Zenith) Intended to compete with IBM’s MCA EISA is hardware compatible with ISA MCA Micro Channel Architecture Introduced by IBM in 1987 as a replacement for the AT/ISA bus EISA and MCA have not been successful!

A Detailed Look Let’s look at a few of the preceding examples in more detail ISA PCI AGP Serial Parallel SCSI Ethernet

PCI (1 of 2) Peripheral Component Interconnect History Configuration Also called “Local Bus” History Developed by Intel (1993) Very successful, widely used Much faster than ISA Gradually replacing ISA Configuration Parallel, multi-drop

PCI (2 of 2) Used for… Specifications Just about any peripheral Can support multiple high-performance devices Graphics, full-motion video, SCSI, local area networks, etc. Specifications 64-bit bus capability Usually implemented as a 32-bit bus Runs at 33 MHz or 66 MHz At 33 MHz and a 32-bit bus, data rate is 133 Mbytes/s

A Detailed Look Let’s look at a few of the preceding examples in more detail ISA PCI AGP Serial Parallel SCSI Ethernet

AGP Accelerated Graphics Port History Configuration Specifications First appeared on Pentium II boards Developed just for graphics (especially 3D graphics) Configuration Parallel, point-to-point (only one AGP port / system) Specifications Data rates up to 532 Mbytes/s (that’s 4x PCI!)

Identifying ISA, PCI, & AGP slots Here’s an image to help in identifying slots AGP slot PCI slot ISA slot Back of computer

A Detailed Look Let’s look at a few of the preceding examples in more detail ISA PCI AGP Serial Parallel SCSI Ethernet

Serial Interfaces On PCs, a “serial interface” implies a “COM port”, or “communications port” COM1, COM2, COM3, etc. COM ports conform to the RS-232C interface standard, so…

RS-232C History Defines the interface between a DTE and a DCE Well-established standard, developed by the EIA (Electronics Industry Association) in 1960s Originally intended as an electrical specification to connect computer terminals to modems Defines the interface between a DTE and a DCE DTE = Data Terminal Equipment (terminal) DCE = Data Communications Equipment (modem) A “modem” is sometimes called a “data set” A “terminal” is anything at the “terminus” of the connection VDT (video display terminal), computer, printer, etc.

“Traditional” Configuration DTE DCE RS-232C Telephone network

RS-232C Specifications Data rate Configuration Maximum specified data rate is 20 Kbits/s with a maximum cable length of 15 meters However… It is common to “push” an RS-232C interface to higher data rates Data rates to 1 Mbit/s can be achieved (with short cables!) Configuration Serial, point-to-point

Serial Data Transmission Two modes Asynchronous The transmitting and receiving devices are not synchronized A clock signal is not transmitted along with the data Synchronous The transmitting and receiving devices are synchronized A clock signal is transmitted along with the data (and is used to synchronized the devices) Most (but not all) RS-232C interfaces are asynchronous!

Asynchronous Data Transmission Data are transmitted on the TD (transmit data) line in packets, typically, of 7 or 8 bits Each packet is “framed” by a “start bit” (0) at the beginning, and a “stop bit” (1) at the end Optionally, a “parity bit” is inserted at the end of the packet (before the stop bit) The parity bit establishes either “even parity” or “odd parity” with the data bits in the packet E.g., even parity: the total number of bits “equal to 1” (including the data bits and the parity bit) is an “even number

1’s and 0’s in RS-232C A “1” is called a “mark” A “0” is called a “space” The idle state for an RS-232C line is a 1 (“mark”) Idle state is called “marking the line” Voltages on an RS-232C line Well… that’s another story, and it’s not really a concern to us

Data Transmission Example Plot of the asynchronous RS-232C transmission of the ASCII character ‘a’ with odd parity: Idle state Stop bit Start bit Idle state TD 1 ASCII character ‘a’ 7 bits LSB first Parity bit time

Exercise – RS-232C Plot the transmission of the ASCII character “X” over an asynchronous RS-232C channel with 7 data bits and even parity Skip answer Answer

Exercise – RS-232C Answer Plot the transmission of the ASCII character “X” over an asynchronous RS-232C channel with 7 data bits and even parity TD 1 time

RS-232C Connectors The original standard specified a 25-pin connector Today, a 9-pin connector is more common E.g., DB9P Note: P = “pin” Sometimes called a “male” connector The mate for this is a DP25S, or “socket” connector – the “female”

RS-232C Connectors Pin 1 DB25P DB25S DB9P DB9S Where is pin 1? Where are pins 2, 3, 4, etc.?

RS-232C Pin Numbers 1 2 3 4 5 DB9P 9 8 7 6

RS-232C Pins, Signals, Directions DB25 1 2 3 4 5 6 7 8 20 22 DB9 2 3 7 8 6 5 1 4 9 Signal Name CD Chassis Ground TD Transmit Data RD Receive Data RTS Request To Send CTS Clear To Send DSR Data Set Ready SG Signal Ground DCD Data Carrier Detect DTR Data Terminal Ready RI Ring Indicator Direction - DTE  DCE DTE  DCE

A Detailed Look Let’s look at a few of the preceding examples in more detail ISA PCI AGP Serial Parallel SCSI Ethernet

Parallel Interfaces History In the context of PCs, a “parallel interface” implies a Centronics-compatible printer interface Originally developed by printer company, Centronics Introduced on the IBM PC (1981) as an LPT (“line printer”) port Improvements EPP (Enhanced Parallel Port), development by Intel, Xircom, Xenith Enshrined in the standard IEEE-1284 (1994) “Standard Signaling Method for a Bi-directional Parallel Peripheral Interface for Personal Computers” Includes Centronics/LPT mode, EPP mode, and… ECP mode (Enhanced Capability Port)

Parallel Interfaces Data Rate Configuration 150 Kbytes/s (LPT) to 1.5 Mbytes/s (ECP) Configuration Parallel, point-to-point

Typical Printer Cable Centronics male DB25P (male) 36 pins Connects to PC Centronics male 36 pins Connects to printer

Pinouts Direc- tion out in - DB25 Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18-25 Cent. Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 32 31 36 19-30, 33,17,16 Signal /Strobe Data0 Data1 Data2 Data3 Data4 Data5 Data6 Data7 /Ack Busy PaperEnd SelectIn /AutoFd /Error /Init /Select Ground Function low pulse (>0.5 µs) to send LSB . MSB Low pulse ack. (~5 µs) High for busy/offline/error High for out of paper High for printer selected Low to autofeed one line Low for Error Low pulse (>50 s) to init Low to select printer -

A Detailed Look Let’s look at a few of the preceding examples in more detail ISA PCI AGP Serial Parallel SCSI Ethernet

SCSI (1 of 2) Small Computer Systems Interface History Used for… pronounced “scuzzy” History Developed by Shugart Associates (1981) Originally called Shugart Associates Systems Interface (SASI, pronounced “sassi”) Scaled down version of IBM’s System 360 Selector Channel Became an ANSI standard in 1986 Used for… Disk drives, CD-ROM drives, tape drives, scanners, printers, etc. p. 232

SCSI (2 of 2) Configuration Versions (data width, data rate) Parallel, daisy chain Requires terminator at end of chain Versions (data width, data rate) SCSI-1, Narrow SCSI (8 bits, 5 MBps) SCSI-2 (8, bits 10 MBps) SCSI-3 (8, bits, 20 MBps) UltraWide SCSI (16 bits, 40 MBps) Ultra2 SCSI (8 bits 40 MBps) Wide Ultra2 SCSI (16 bits, 80 MBps)

SCSI Block Diagram SCSI bus System bus or I/O bus SCSI port Terminator SCSI bus controller I/O device I/O device I/O device

SCSI Connectors Narrow SCSI 50 pins Fast SCSI Fast Wide SCSI 68 pins Ultra SCSI 50 pins 68 pins 80 pins

Putting it all together LPT port COM1 port COM2 port SCSI port Parallel interface Serial interface SCSI interface ISA or PCI bus interface CPU/system bus ISA or PCI bus

A Detailed Look Let’s look at a few of the preceding examples in more detail ISA PCI AGP Serial Parallel SCSI Ethernet

Ethernet Interfaces History In 1980, Xerox, Digital Equipment Corporation (DEC, now Compaq), and Intel published a specification for an “Ethernet” LAN (local area network) Now exists as a standard - IEEE 802.3 Physical interface uses either coax cable with BNC connectors or twisted pair cable with RJ-45 connectors (10Base-T) Fast Ethernet Specified in IEEE 802.3u (100Base-TX)

Ethernet Interfaces Data Rate Configuration 10 Mbits/s for Ethernet (10Base-T) 100 Mbits/s for Fast Ethernet (100Base-TX) Configuration Serial, multi-point (token ring or token bus)

Token Bus

Token Ring

Ethernet Adapter Example - PCI Addtron AEF-360TX RJ-45 connector BNC connector PCI bus interface

RJ-45 Pinouts Pin Signal Direction Function 1 TD+  Transmit data TD-  Transmit data return RD+  Receive data - - - - - - RD-  Receive data return 1 8

Want to Learn More? Keeping up with bus and interface standards is a formidable task I recommend… Web searching on keywords and acronyms The following book Tom’s Hardware Guide, by T. Pabst, published by QUE, 1998 (ISBN 0-7897-1686-0)

Thank you Next topic