I O Part 2 - PowerPoint PPT Presentation

1 / 26
About This Presentation
Title:

I O Part 2

Description:

Datapath and associated controls to transfer data between interface and the I/O device ... a message only in response to a poll from the host (one at a time) ... – PowerPoint PPT presentation

Number of Views:18
Avg rating:3.0/5.0
Slides: 27
Provided by: TeaL7
Category:

less

Transcript and Presenter's Notes

Title: I O Part 2


1
I / O Part 2
  • ECE-445
  • Computer Organization
  • Dr. Ron Hayne
  • Electrical and Computer Engineering

2
Buses
  • Bus lines
  • Data
  • Address
  • Control
  • Timing
  • Synchronous
  • Asynchronous
  • Device roles
  • Master (initiator)
  • Slave (target)

3
Synchronous Bus
4
Multiple-Cycle Transfers
5
Asynchronous Bus (Input)
6
Asynchronous Bus (Output)
7
Interface Circuits
  • Port
  • Datapath and associated controls to transfer data
    between interface and the I/O device
  • Parallel
  • Number of bits simultaneously
  • Serial
  • One bit at a time
  • I/O Interface
  • Storage buffer
  • Status flags
  • Address decoder
  • Timing signals
  • Format conversion
  • parallel-serial

8
Parallel Port (Input)
9
Parallel Port (Output)
10
General Parallel Interface
11
Serial Port
  • Bit-serial on device side
  • Bit-parallel on bus side
  • Shift registers
  • serial-in, parallel-out
  • parallel-in, serial out
  • Double buffering
  • Example
  • Universal Asynchronous Receiver Transmitter (UART)

12
Example Serial Interface
13
Universal Serial Bus (USB)
  • Design objectives
  • Simple, low-cost, easy to use
  • Wide range of I/O devices
  • "Plug-and-play"
  • Connect while system is operating
  • Auto detection/configuration
  • Operating speeds
  • Low-speed 1.5 megabits/s
  • Full-speed 12 megabits/s
  • High-speed 480 megabits/s (USB 2.0)

14
USB Architecture
15
USB Operation
  • Polling
  • Device may send a message only in response to a
    poll from the host (one at a time)
  • Pipes
  • Bidirectional communications links between
    application software (device drivers) and I/O
    devices
  • Addressing
  • Each device assigned 7-bit address
  • Endpoints
  • Location in a device to or from which data can be
    transfered
  • 4-bit ID (input/output pair)

16
USB Protocols
  • Packets
  • One or more bytes of info
  • Control
  • Data
  • Packet Fields
  • Packet identifier (PID)
  • Address (ADDR)
  • Endpoint (ENDP)
  • Cyclic reduncancy check (CRC)
  • 5 bit error checking for tokens
  • 16 bit error checking for data

17
USB Packet Formats
18
USB Output Transfer
Host
Hub
I/ODevice
Time
19
Input Devices
  • Keyboard
  • Characters
  • Mouse
  • X-Y
  • Mechanical
  • Optical
  • Trackball, Joystick, Touchpad
  • X-Y
  • Scanner
  • Bit-mapped image

20
Output Devices
  • Video Displays
  • Pixels
  • CRT
  • LCD
  • Printers
  • Pixles, characters
  • Laser
  • Ink jet
  • Graphics Accelerators
  • Graphics processing

21
Modem
  • MOdulator-DEModulator
  • Asynchronous transmission
  • 56K (bits/sec)

22
DSL
  • Digital Subscriber Loop
  • Twisted-pair wiring
  • Asymetric DSL
  • Different transmission speeds upstream and
    downstream
  • Time Division Multiplexing (channels)
  • Telephone
  • Upstread data
  • Downstream data

23
DSL Connection
24
Cable Modem
  • Coaxial Cable
  • Higher bandwidth
  • Bus-like connection
  • Share capacity

25
Cable Modem Connection
26
Questions?
Write a Comment
User Comments (0)
About PowerShow.com