UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.



Similar documents
Chapter 5 Busses, Ports and Connecting Peripherals

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Computer Systems Structure Input/Output

Communicating with devices

NOTICE. The information in this manual is subject to change without notice.

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Data Cables. Schmitt TTL LABORATORY ELECTRONICS II

PCAN-ISA. CAN Interface for ISA. User Manual

Programming PCI-Devices under Linux

PCI-to-PCI Bridge Architecture Specification. Revision 1.1

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Real-time Operating Systems Lecture 27.1

The Motherboard Chapter #5

PCI Express Overview. And, by the way, they need to do it in less time.

1500 bytes Universal Serial Bus Bandwidth Analysis

Product Information. DE2-TIGER PMC Module Quad Serial ATA Controller & 1.8-Inch Hard Disk Drive

Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

ICOP-6050F Embedded 386SX PC/104 CPU Module User s Manual (Version1.1)

PC Notebook Diagnostic Card

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

85MIV2 / 85MIV2-L -- Components Locations

Read this before starting!

Chapter 13. PIC Family Microcontroller

8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

Chapter 5 Cubix XP4 Blade Server

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

NuIPC cpci U CompactPCI All-in-one Socket 370 CPU Module User s Guide

Technical Product Specifications Dell Dimension 2400 Created by: Scott Puckett

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring ) Serial Interfacing. By Dr.

Appendix A. by Gordon Getty, Agilent Technologies

PCI Local Bus Specification Revision 3.0. August 12, 2002

8051 hardware summary

PCI Express: Interconnect of the future

EUCIP - IT Administrator. Module 1 - PC Hardware. Version 2.0

Mother Board Component

Intel N440BX Server System Event Log (SEL) Error Messages

What is a bus? A Bus is: Advantages of Buses. Disadvantage of Buses. Master versus Slave. The General Organization of a Bus

How PCI Express Works (by Tracy V. Wilson)

PART B QUESTIONS AND ANSWERS UNIT I

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

SYNC MAX PCI Adapter

Computer Organization & Architecture Lecture #19

IDE/ATA Interface. Objectives. IDE Interface. IDE Interface

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse:

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

PC/104-Plus Specification

Project 4: Pseudo USB Simulation Introduction to UNIVERSAL SERIAL BUS (USB) STANDARD

C440GX+ System Event Log (SEL) Messages

Construction and Application of a Computer Based Interface Card

2 ASCII TABLE (DOS) 3 ASCII TABLE (Window)

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

2. THE PCI EXPRESS BUS

Intel 8255x 10/100 Mbps Ethernet Controller Family

Fastboot Techniques for x86 Architectures. Marcus Bortel Field Application Engineer QNX Software Systems

Switch Fabric Implementation Using Shared Memory

CSE2102 Digital Design II - Topics CSE Digital Design II

802.11n a/b/g wifi 3x3 mini-pci module, MB82/AR9160+AR9106. Model: DNMA-83

INPUT/OUTPUT ORGANIZATION

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

EUCIP IT Administrator - Module 1 PC Hardware Syllabus Version 3.0

2.8.3 / (Z80 Serial I/O)

CAM-VGA100 User Manual

PCI-104 Specification

W25Q80, W25Q16, W25Q32 8M-BIT, 16M-BIT AND 32M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI

The Central Processing Unit:

Hardware Diagnostics Error Reference Guide. For HP Vectra PCs and HP PC Workstations

Multiple clock domains

MPC603/MPC604 Evaluation System

I/O. Input/Output. Types of devices. Interface. Computer hardware

HT1632C 32 8 &24 16 LED Driver

PCIeBPMC (PCI/PCI-X Bus Compatible) Bridge based PCIe and PMC Compatible Adapter Carrier Front View shown with 1 installed fans model # PCIeBPMC-FAN2

DS1104 R&D Controller Board

Serial Communications

SCSI device drivers are provided for the following operating systems: Microsoft Windows NT Server 4.0 Novell NetWare 5.1

CENTRONICS interface and Parallel Printer Port LPT

3 Address Spaces & Transaction Routing. The Previous Chapter. This Chapter. The Next Chapter

Computer Organization and Components

The Bus (PCI and PCI-Express)

Data. Figure 1. General Packet Structure

Lecture 2: Computer Hardware and Ports.

Microprocessor & Assembly Language

LTM-1338B. Plus Communications Manual

a8251 Features General Description Programmable Communications Interface

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat

PCI EXPRESS TECHNOLOGY. Jim Brewer, Dell Business and Technology Development Joe Sekel, Dell Server Architecture and Technology

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

I/O Products IC697VSC096

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

Transcription:

Bus Interfaces Different types of buses: ISA (Industry Standard Architecture) EISA (Extended ISA) VESA (Video Electronics Standards Association, VL Bus) PCI (Periheral Component Interconnect) USB (Universal Serial Bus) AGP (Advanced Graphics Port) ISA is the oldest of all these and today s computers still have a ISA bus interface in form of an ISA slot (connection) on the main board. ISA has 8-bit and 16-bit strandards along with the 32-bit version (EISA). All three versions operate at 8MHz. 1 (May 6, 2002)

8-Bit ISA Bus connector Pin # 1 GND 2 RESET 3 +5V 45 IRQ9 6 78 9 10 12 11 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31-5V DRQ2-12V OWS +12V GND MEMW MEMR IOW IOR DACK3 DRQ3 DACK1 DRQ1 DACK0 CLOCK IRQ7 IRQ6 IRQ5 IRQ4 IRQ3 DACK2 T/C ALE +5V OSC GND IO CHK } IO RDY AEN D0-D7 }A0-A19 ISA Bus Connector Contains 8- bit Data Bus Demultiplexed 20-bit address Bus I/O and Memory Control Signals Interrupt Request Lines (IRQ2->IRQ9) DMA channels 1-3 Control Signals Power, RESET and misc. signals 2 (May 6, 2002)

8-Bit ISA Bus Output Interface 74LS374 1Y1... 2Y1 D0... D7 OC CLK D0... D7 OC CLK D0... D7 OC CLK 74LS374 74LS374 74LS374 D0... D7 OC CLK Q0... Q7 74LS244 D0... D7 Y0... Y7 Y0... Y7 Y0... Q0... Q7 Q0... Q7 Q0... 74LS138 74LS138 74LS138 A0 A1 IOW A3 A4 A5 A8 A9 A7 A6 A11 A12 A13 A10 A14 A15 D0-D7 A BC G1 G2A G2B A BC G1 G2A G2B A BC G1 G2A G2B Y7 DIP Switch Q7 Connector DB37 3 (May 6, 2002)

8-Bit ISA Bus Output Interface 4, 8-bit latches interfaced using an ISA interface for 32 bit parallel data. 74LS244 buffers used to ensure only one lower power TTL load on the bus. Loading is important as many cards can be connected on the bus. The DIP switch can be used to change the address thus avoiding address conflicts with other cards in the system. See text for examples of output interface using a PLD and also an ISA bus input interface for A-to-D converters. 16-bit ISA bus has an additional connector attached behind the 8-bit connector. Although 8 additional data bits, D 8 -D 15, are available, the features most often used are the additional interrupt request and DMA request signals. 4 (May 6, 2002)

16-Bit ISA BUS Back of computer 1 8-bit connector 31 1 16-bit extension 18 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 16-bit connector MCS16 2 IOCS16 IRQ10 IRQ11 IRQ12 IRQ15 IRQ14 DACK0 DRQ0 DACK5 DRQ5 DACK6 DRQ6 DACK7 DRQ7 +5V MASTER GND BHE A23 A22 A21 A20 A19 A18 A17 MEMR MEMW D8 D9 D10 D11 D12 D13 D14 D15 5 (May 6, 2002)

EISA Bus Extended ISA (EISA) has a 32-bit data bus but still operates at 8MHz. It is rarely used -- mainly as a disk controller or video graphics adapter. New pins for EISA bus are interspersed with the older pins in the 16-bit ISA connector to preserve compatibility with the old standard. Most of the new EISA connections are used for the 32-bit data and 32-bit latched address bus. Details of ISA Card Details of EISA Card ISA ISA 1 2 3 4 5 7 1 2 3 4 5 6 7 1 2 3 4 5 6 7 EISA Key 6 (May 6, 2002)

VESA Local Bus VESA (VL bus) is a 33MHz extension of the ISA bus used of high-speed data transter applications. It contains 32-bit address and data bus and is mainly used for video and disk interfaces. Requires a third connector (VESA connector) to be added behind the standard 16-bit ISA connector. VESA local Bus Card VESA 16-bit 8-bit 7 (May 6, 2002)

Peripheral Component Interconnect (PCI) Bus PCI is the most common bus found in computers today due to plug-and-play characteristics and ability to function with 64-bit data bus. A PCI interface contains a series of registers, located in a small memory device, that contain information about the board. The information in this registers allow the computer to automatically configure the PCI card (Plug-and-Play PnP feature). The microprocessor connects to the PCI bus through an integrated circuit called a PCI Bridge thus making the PCI bus independent of processor type and architecture. PCI functions with either a 32-bit or 64-bit address and data bus. The address and data buses are multiplexed to reduce the size of the edge connector. 32-bit and 64-bit cards. Newest versions run at 66 MHz (twice the older 33 MHz version). 8 (May 6, 2002)

PCI Bus System Structure Microprocessor Dynamic RAM System Bios Cache Resident Local Bus 100 MHz PCI Bus Controller Video Disk Controller PCI Bus 66 MHz ISA Bus Controller Printer Interface FAX/ MODEM ISA Bus 8 MHz 9 (May 6, 2002)

PCI Timing Diagram T0 T1 T2 T3 T4 T5 PCICLK FRAME AD Bus Address Data1 Data2 Data3 Data4 C/BE Command BE s BE s BE s BE s 10 (May 6, 2002)

PCI Bus Commands The following commands can appear on the C/BE pins in cycle T1. INTA Sequence: Get the interrupt vector from the interrupt controller. The interrupt vector byte is returned during a read operation. Special Cycle: Used to transfer data to all PCI components, e.g. processor shutdown. I/O Read Cycle: Data are read from an I/O device at address AD0-AD15. I/O Write Cycle: Data are written to an I/O device. Memory Read Cycle: Data are read from memory device. Memory Write Cycle: Data are written to memory device. Configuration Read: Configuration information is read from PCI device Configuration Write: Configuration information is written to PCI device. Memory Multiple Access: Multiple data are read from memory device. Dual Addressing Cycle: Used for transferring data to a 64-bit PCI device which only contains a 32-bit data path. Line Memory Access: Used to read more than two 32-bit numbers. Memory Write with Invalidation: Same as line memory access, but used with write and bypasses write-back function of the cache. 11 (May 6, 2002)

PCI Bus Configuration Space 00H 256-byte confi guration memory Header (64 bytes) Header Identifi cation Status Command Class Power Down BIST 00H 04H 08H 0CH 10H 3FH 40H FFH Available (192 bytes) Base Address Reserved Reserved Extra ROM address Reserved Reserved Special 24H 28H 2CH 30H 04H 08H 3CH 12 (May 6, 2002)

PCI Bus Configuration Space The PCI interface contains 256-byte confi guration memory that allows plugand-play feature. The header holds information about the PCI interface. The header contains the unit ID, vendor ID, class code and manufacturer defi ned bits. The vendor ID and class ID are allocated by PCI SIG. The base address space consists of a base address for the memory, a second for the I/O space and the third for the expansion ROM. When a PCI bus is present, the system BIOS is extended to support it. Access to this extended BIOS is through interrupt vector 1AH. (See text for the currently available functions.) Once the presence of the BIOS is established, the contents of the confi guration memory can be read using other BIOS functions. 13 (May 6, 2002)

PCI Interface Block Diagram PAR PERR SERR Parity Circuit Base Address Register 0 Base Address Register 1 Command Status Register PCI AD0-AD31 User Bus System FRAME IRDY REQ GNT Initiator Interrupt Register Latency Timer Vendor ID Etc. TRDY DEVSEL STOP Target Due to the complexity of the PCI Interface, a PCI controller is often used that includes these components. 14 (May 6, 2002)

The Universal Serial Bus (USB) Allows access of up to 127 different connections via a 4 wire serial connection. This interface is ideal for keyboards, sound cards, modems, etc. Sound cards can derive their power from an external (no-pc) power supply. Cable lengths are limited to 5 meters (for the full-speed interface). Maximum power is given by 100mA x 5V. 1 2 3 4 2 1 Pin # Signal 1 5.0V 2 -Data 3 +Data 4 GND 3 4 The +/-Data signals are 180 degrees out of phase. 15 (May 6, 2002)

The Universal Serial Bus (USB) The following circuit can be used to generate the biphase signals. Transmit data OE 27 15 15 Noise suppression +Data USB Data Receive data + - 27 -Data Data packets are sent and received using a NRZI (non-return to zero, inverted) data encoding. Digital Data NRZI 16 (May 6, 2002)

The Universal Serial Bus (USB) Since the transmitter and receiver must remain synchronized and a large string of 1 s do not generate any pulses, a bit may be stuffed. Digital Data Stuffed bit NRZI 1 2 3 4 5 6 Here, a bit is added to force a change in the signal line. USB Commands: Communication begins with a sync byte (80H), followed by a packet identifi cation byte (PID). The PID contains 8 bits -- the rightmost four bits contain the type of packet that follows (if any). The leftmost 4 bits are the compliment (used for error detection.) For example, if command is 1000 and 0111 1000 is sent. 17 (May 6, 2002)

The Universal Serial Bus (USB) PIDs are available for token indicators, data indicators and handshaking: PID Name Type Description E1H OUT Token Host->function transaction D2H ACK Handshake Receiver accepts packet C3H Data0 Data Data packet PID even A5H SOF Token Start of Frame 69H IN Token Function -> host transaction 5AH NAK Handshake Reciever does not accept data 4BH Data1 Data Data packet PID odd 3CH PRE Special Host preamble 2DH Setup Token Setup command 1EH Stall Token Stalled Formats of the data, token, handshaking and start-of-frame are as follows: 8 7 4 5 PID ADDR ENDP CRC5 Token 8 11 5 PID Frame Number CRC5 SOF 8 1 to 1023 bytes 16 PID Data CRC16 8 PID Data Handshake 18 (May 6, 2002)

The Universal Serial Bus (USB) Two types of CRC (cyclic redundancy check): 5-bit CRC for tokens, SOF, etc. Primitive polynomial is X 5 + X 2 + 1 16-bit CRC for data. Primitive polynomial is X 16 + X 15 + X 2 + 1 The handshaking PID packets are used to signal errors between the transmitter and receiver. A NAK causes the transmitter to resend the data. This is called stop and wait flow control since the transmitter must wait for an ACK before sending any additional packets. 19 (May 6, 2002)

AGP Graphics Port Pentium II 64 AGP Video AGP Bus (66MHz) PCI 440LX chip set 32 Local Bus (66/100MHz) memory Local frame buffer PIIX4 bridge ISA I/O I/O I/O I/O Operates at system bus speed, e.g. 528M bytes/sec under the 2X compliant system and over 1 G bytes/sec under a 4X. PCI maximum is ~100 M bytes/sec. 20 (May 6, 2002)