iobsin(8)
TRANSCRIPT
-
8/7/2019 IOBsIn(8)
1/60
ITEC 1011 Introduction to Information Technologies
I/O Buses and Interfaces
-
8/7/2019 IOBsIn(8)
2/60
ITEC 1011 Introduction to Information Technologies
Some Review
Remember
CPU-memory-I/O architecture
-
8/7/2019 IOBsIn(8)
3/60
ITEC 1011 Introduction to Information Technologies
I/ObusBus interface
CPUbus
or
Systembus
CPU-Memory-I/O Architecture
CPUI/O
module
Memory
I/O
device
-
8/7/2019 IOBsIn(8)
4/60
ITEC 1011 Introduction to Information Technologies
I/O Buses and Interfaces
There are many standards for I/O buses
and interfaces
Standards allow open architectures
Many vendors can provideperipheral (I/O)
devices formany different systems
Competition => Lowerprices
Most systems support several I/O buses andI/O interfaces
Ed: kc
-
8/7/2019 IOBsIn(8)
5/60
ITEC 1011 Introduction to Information Technologies
Examples
Expansion buses orslots
Disk interfaces
Externalbuses
Communications interfaces
-
8/7/2019 IOBsIn(8)
6/60
ITEC 1011 Introduction to Information Technologies
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 Micr o-Channel Architecture
AGP Accelerated Graphics Port
VESA Video Electronics Standards Association
PCMCIA Personal Computer Memory CardInternational Association (not just memory!)
-
8/7/2019 IOBsIn(8)
7/60
ITEC 1011 Introduction to Information Technologies
3 ISA
slots
5 PCI slots Pentium CPU6 SIMM
slots
2 DIMM
slots
-
8/7/2019 IOBsIn(8)
8/60
ITEC 1011 Introduction to Information Technologies
Examples
Expansion buses orslots
Disk interfaces
Externalbuses
Communications buses
-
8/7/2019 IOBsIn(8)
9/60
ITEC 1011 Introduction to Information Technologies
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 ComputerSystems Interface
ESDI Enhanced Small Device Interface (mid-80s,obsolete)
PCMCIA
* AT = Advanced Technology
-
8/7/2019 IOBsIn(8)
10/60
ITEC 1011 Introduction to Information Technologies
Examples
Expansion buses orslots
Disk interfaces
Externalbuses
Communications buses
-
8/7/2019 IOBsIn(8)
11/60
ITEC 1011 Introduction to Information Technologies
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, developedbyIEEE
-
8/7/2019 IOBsIn(8)
12/60
ITEC 1011 Introduction to Information Technologies
Examples
Expansion buses orslots
Disk interfaces
Externalbuses
Communications buses
-
8/7/2019 IOBsIn(8)
13/60
ITEC 1011 Introduction to Information Technologies
Communications Buses
For connecting systems to systems
Parallel/LPT
specialpurpose, e.g., using special software
(Laplink) to transfer databetween systems Serial/RS232C
To connect a system to a voice-grade modem
Ethernet
To connect a system to a high-speed network
-
8/7/2019 IOBsIn(8)
14/60
ITEC 1011 Introduction to Information Technologies
Buses to Buses to Buses to
An I/O module is an interface between the
systembus and an I/O bus
An I/O module may also interface an I/O
bus to an I/O bus
Lets see
-
8/7/2019 IOBsIn(8)
15/60
ITEC 1011 Introduction to Information Technologies
Motherboard PCMCIA
bus
CPU/system
bus
PCMCIA
bus
SCSI
bus
RS232C
bus
CPUI/O
module
I/O
module Disk
Disk
PCMCIAslot
PCMCIASCSI card
I/O
module
PCMCIAserial card
I/O
module
PCMCIAslot
Modem
Memory
-
8/7/2019 IOBsIn(8)
16/60
ITEC 1011 Introduction to Information Technologies
A Detailed Look
Lets look at a few of the preceding examples in
more detail
ISA
PCI
AGP
Serial
Parallel
SCSI Ethernet
-
8/7/2019 IOBsIn(8)
17/60
ITEC 1011 Introduction to Information Technologies
ISA (1 of3)
Industry Standard Architecture pronounced eye-es-eh
History
Originally introduced in the IBM PC (1981) as an 8 bitexpansion 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. 173
-
8/7/2019 IOBsIn(8)
18/60
ITEC 1011Introduction to Information Technologies
ISA (2 of3) Used f or
Just about any peripheral (sound cards, disk drives, etc.)
PnP ISA
In 1993, Intel and Microsoft introduced PnP ISA, forplug-and-play ISA
Allows the operating system to configure expansionboards automatically (with the right software !!)
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 used the smaller segment
-
8/7/2019 IOBsIn(8)
19/60
ITEC 1011Introduction to Information Technologies
ISA (3of3)
Advancements EISA
Extended ISA
Designedby nine IBM competitors (AST, Compaq, Epson,HP, NEC, Olivetti, Tandy, WYSE, Zenith)
Intended to compete with IBMs MCA
EISA is hardware compatible with ISA
MCA
Micr o Channel Architecture
Intr oducedby IBM in 1987 as a replacement for the AT/ISAbus
EISA and MCA have not been successful!
-
8/7/2019 IOBsIn(8)
20/60
ITEC 1011Introduction to Information Technologies
A Detailed Look
Lets look at a few of the preceding examples in
more detail
ISA
PCI
AGP
Serial
Parallel
SCSI Ethernet
-
8/7/2019 IOBsIn(8)
21/60
ITEC 1011Introduction to Information Technologies
PCI (1 of 2)
Peripheral Component Interconnect Also called Local Bus
History
Developed by Intel (1993)
Very successful, widely used
Much faster than ISA
Gradually replacing ISA
Configuration
Parallel, multi-drop
Note:
PCI does not stand forPersonal Computer
Interface, as stated in the
textbook (p. 252, Orig),
orPeripheral Control
Interface (p.179, Rev.)
-
8/7/2019 IOBsIn(8)
22/60
ITEC 1011Introduction to Information Technologies
PCI (2 of 2)
Used f or Just about any peripheral Can support multiple high-performance devices
Graphics, full-motion video, SCSI, local area networks,etc.
Specifications
64-bitbus capability
Usually implemented as a 32-bitbus
Runs at 33 MHz or 66 MHz
At 33 MHz and a 32-bitbus, data rate is 133 Mbytes/s
-
8/7/2019 IOBsIn(8)
23/60
ITEC 1011Introduction to Information Technologies
A Detailed Look
Lets look at a few of the preceding examples in
more detail
ISA
PCI
AGP
Serial
Parallel
SCSI Ethernet
-
8/7/2019 IOBsIn(8)
24/60
ITEC 1011Introduction to Information Technologies
AGP
Accelerated Graphics Port
History
First appeared on Pentium II boards
Developed just for graphics (especially3
D graphics) Configuration
Parallel,point-to-point (only one AGP port / system)
Specifications
Data rates up to 532 Mbytes/s (thats 4x PCI!)
( higher refresh rates for video needs )
Rv: kc
-
8/7/2019 IOBsIn(8)
25/60
ITEC 1011Introduction to Information Technologies
Identifying ISA, PCI, & AGP slots
Heres an image to help in identifying slots
AGP slot
PCI slot
ISA slot
Back ofcomputer
-
8/7/2019 IOBsIn(8)
26/60
ITEC 1011Introduction to Information Technologies
A Detailed Look
Lets look at a few of the preceding examples inmore detail
ISA
PCI
AGP
Serial
Parallel
SCSI
Ethernet
-
8/7/2019 IOBsIn(8)
27/60
ITEC 1011Introduction to Information Technologies
Serial Interfaces
On PCs, a serial interface implies a
COM port, orcommunications port
COM1, COM2, COM3, etc.
COM ports conform to the RS-232C
interface standard, so
-
8/7/2019 IOBsIn(8)
28/60
ITEC 1011Introduction to Information Technologies
RS-232C
History Well-established standard, developedby the EIA
(Electronics Industry Association) in 1960s
Originally intended as an electrical specification to
connect computer terminals tomodems Defines the interfacebetween a DTE and a DCE
DTE = Data Terminal Equipment (terminal)
DCE = Data Communications Equipment (modem)
Amodem is sometimes called a
data set
A terminal is anything at the terminus of theconnection
VDT (video display terminal), computer,printer, etc.
-
8/7/2019 IOBsIn(8)
29/60
ITEC 1011Introduction to Information Technologies
Traditional Configuration
RS-232C RS-232C
Telephone
network
DTE DCE DCE DTE
-
8/7/2019 IOBsIn(8)
30/60
ITEC 1011Introduction to Information Technologies
RS-232C Specifications
Data rate
Maximum specified data rate is 20 Kbits/s with a
maximum cable length of 15 meters
However
It is common topush 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
Rv: kc
-
8/7/2019 IOBsIn(8)
31/60
ITEC 1011Introduction to Information Technologies
Serial Data Transmission
Twomodes
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-23
2C interfaces areasynchronous!
-
8/7/2019 IOBsIn(8)
32/60
ITEC 1011Introduction to Information Technologies
Asynchronous Data Transmission
Data are transmitted on the TD (transmit data) lineinpackets, typically, of 7 or 8 bits
Eachpacket is framedby a startbit (0) at thebeginning, and a stopbit (1) at the end
Optionally, a parity bit is inserted at the end ofthepacket (before the stopbit)
Theparitybit establishes eitherevenparity oroddparity with the databits in thepacket
E.g., even parity: the total numberofbits equal to 1(including the data bits and the parity bit) is an evennumber
-
8/7/2019 IOBsIn(8)
33/60
ITEC 1011 Introduction to Information Technologies
1s and 0s 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 thats another story, and its not really aconcern to us
-
8/7/2019 IOBsIn(8)
34/60
ITEC 1011 Introduction to Information Technologies
Data Transmission Example
Plot of the asynchronous RS-232Ctransmission of the ASCII character a with
odd parity:
0 1 0 0 0 0 1 1 0 1
Idle
state
Stop
bit
Start
bit
Idle
state
ASCII character a
7bits
LSB first
Parity
bit
time
TD
-
8/7/2019 IOBsIn(8)
35/60
ITEC 1011 Introduction to Information Technologies
Exercise RS-232C
Plot the transmission of the ASCII characterX over an asynchronous RS-232C
channel with 7 data bits and even parity
Skip answer Answer
-
8/7/2019 IOBsIn(8)
36/60
ITEC 1011 Introduction to Information Technologies
Exercise RS-232C
Plot the transmission of the ASCII characterX over an asynchronous RS-232C
channel with 7 data bits and even parity
0 0 0 0 1 1 0 1 1 1
time
Answer
TD
This looks like a good kind of question!
-
8/7/2019 IOBsIn(8)
37/60
ITEC 1011 Introduction to Information Technologies
RS-232C Connectors
The original standard specified a 25-pinconnector
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
-
8/7/2019 IOBsIn(8)
38/60
ITEC 1011 Introduction to Information Technologies
RS-232C Connectors
DB25P
DB9P
DB25S
DB9S
Where is pin 1? Where are pins 2, 3, 4, etc.?
Pin 1
Pin 1 Pin 1
Pin 1
-
8/7/2019 IOBsIn(8)
39/60
ITEC 1011 Introduction to Information Technologies
RS-232C Pin Numbers
1 2 3 4 5
9 8 7 6
DB9P
-
8/7/2019 IOBsIn(8)
40/60
ITEC 1011 Introduction to Information Technologies
RS-232C Pins, Signals, Directions
DB25
1
2
3
4
5
6
7
820
22
Signal Name
CD Chassis Gr ound
TD Transmit Data
RD Receive Data
RTS Request ToSend
CTS Clear ToSend
DSR Data Set Ready
SG Signal Ground
DCD Data Carrier DetectDTR Data Terminal Ready
RI Ring Indicator
Direction
-
DTE DCE
DTE DCE
DTE DCE
DTE DCE
DTE DCE
-
DTE DCEDTE DCE
DTE DCE
DB9
2
3
7
8
6
5
14
9
Pin
-
8/7/2019 IOBsIn(8)
41/60
ITEC 1011 Introduction to Information Technologies
A Detailed Look
Lets look at a few of the preceding examples inmore detail
ISA
PCI
AGP
Serial
Parallel
SCSI
Ethernet
-
8/7/2019 IOBsIn(8)
42/60
ITEC 1011 Introduction to Information Technologies
Parallel Interfaces History
In the context of PCs, a parallel interface implies aCentronics-compatibleprinter interface
Originally developedby printer company, Centronics
Intr oduced on the IBM PC (1981) as an LPT (lineprinter)port
Improvements
EPP (Enhanced Parallel Port), developmentby 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)
-
8/7/2019 IOBsIn(8)
43/60
ITEC 1011 Introduction to Information Technologies
Parallel Interfaces
Data Rate
150 Kbytes/s (LPT) to 1.5 Mbytes/s (ECP)
Configuration
Parallel,point-to-point
-
8/7/2019 IOBsIn(8)
44/60
ITEC 1011 Introduction to Information Technologies
Typical Printer Cable
DB25P (male) Connects to PC
Centronics male 36pins
Connects toprinter
-
8/7/2019 IOBsIn(8)
45/60
ITEC 1011 Introduction to Information Technologies
PinoutsDirec-tion
outoutoutoutoutoutoutoutoutinininin
outinoutout-
DB25Pin
12345678910111213
1415161718-25
Cent.Pin
12345678910111213
1432313619-30,
33,17,16
Signal
/StrobeData0Data1Data2Data3Data4Data5Data6Data7/AckBusyPaperEndSelectIn
/AutoFd/Error/Init/SelectGround
Function
low pulse (>0.5 s) to sendLSB......MSBLow pulse ack. (~5 s)High for busy/offline/errorHigh for out of paperHigh for printer selected
Low to autofeed one lineLow for ErrorLow pulse (>50 s) to initLow to select printer-
-
8/7/2019 IOBsIn(8)
46/60
ITEC 1011 Introduction to Information Technologies
A Detailed Look
Lets look at a few of the preceding examples inmore detail
ISA
PCI
AGP
Serial
Parallel
SCSI
Ethernet
-
8/7/2019 IOBsIn(8)
47/60
ITEC 1011 Introduction to Information Technologies
SCSI (1 of 2)
Small ComputerSystems Interface pronounced scuzzy
History
Developed by Shugart Associates (1981)
Originally called Shugart Associates Systems Interface(SASI, pronounced sassi)
Scaled down version of IBMs System360 SelectorChannel
Became an ANSI standard in 1986
Used f or
Disk drives, CD-ROM drives, tape drives, scanners,printers, etc. p. 258
-
8/7/2019 IOBsIn(8)
48/60
ITEC 1011 Introduction to Information Technologies
SCSI (2 of 2)
Configuration 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)
-
8/7/2019 IOBsIn(8)
49/60
ITEC 1011 Introduction to Information Technologies
SCSI Block Diagram
SCSI bus
controller
I/O
device
I/O
device
I/O
device
SCSI bus
Systembus
or
I/O bus SCSI port
Terminator
-
8/7/2019 IOBsIn(8)
50/60
ITEC 1011 Introduction to Information Technologies
SCSI Connectors
NarrowSCSI
Fast
SCSI
Fast Wide
SCSI
UltraSCSI
50pins
50pins
68pins
80pins
-
8/7/2019 IOBsIn(8)
51/60
ITEC 1011 Introduction to Information Technologies
Putting it all together
ISA or PCI
bus interface
Parallel
interface
Serial
interface
SCSI
interface
LPTport
COM1port
COM2port
SCSIport
CPU/systembus
ISA or PCIbus
-
8/7/2019 IOBsIn(8)
52/60
ITEC 1011 Introduction to Information Technologies
A Detailed Look
Lets look at a few of the preceding examples inmore detail
ISA
PCI
AGP
Serial
Parallel
SCSI
Ethernet
-
8/7/2019 IOBsIn(8)
53/60
ITEC 1011 Introduction to Information Technologies
Ethernet Interfaces
History In 1980, Xerox, Digital Equipment Corporation (DEC,
now Compaq), and Intelpublished 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)
-
8/7/2019 IOBsIn(8)
54/60
ITEC 1011 Introduction to Information Technologies
Ethernet Interfaces
Data Rate 10 Mbits/s for Ethernet (10Base-T)
100 Mbits/s for Fast Ethernet (100Base-TX)
Configuration Serial, multi-point (token ring or tokenbus)
-
8/7/2019 IOBsIn(8)
55/60
ITEC 1011 Introduction to Information Technologies
Token Bus
-
8/7/2019 IOBsIn(8)
56/60
ITEC 1011 Introduction to Information Technologies
Token Ring
-
8/7/2019 IOBsIn(8)
57/60
ITEC 1011 Introduction to Information Technologies
Ethernet Adapter Example - PCI
RJ-45
connector
BNC
connector PCIbus interface
AddtronAEF-360TX
-
8/7/2019 IOBsIn(8)
58/60
ITEC 1011 Introduction to Information Technologies
RJ-45 Pinouts
Pin Signal Direction Function
1 TD+ Transmit data
2 TD- Transmit data return
3 RD+ Receive data
4 - - -
5 - - -
6 RD- Receive data return
7 - - -
8 - - -
1 8
-
8/7/2019 IOBsIn(8)
59/60
ITEC 1011 Introduction to Information Technologies
Want to Learn More?
Keeping up with bus and interface standardsis a formidable task ( yes, very)
I recommend
Web searching on keywords and acronyms The f ollowingbook
Toms Hardware Guide, by T. Pabst, published by
QUE, 1998 (ISBN 0-7897-1686-0)
-
8/7/2019 IOBsIn(8)
60/60
ITEC 1011 Introduction to Information Technologies
Thank you