ITEC 352 Lecture 33 USB (2). Review Intro to USB –History –Rationale –Competitors –Serial versus parallel –Topology.

Slides:



Advertisements
Similar presentations
EET260 Introduction to digital communication
Advertisements

ITEC 352 Lecture 34 Communications. Review USB –How did you like the material (1-10) from bad to good –What did you learn? Differences between bus types.
COS 461 Fall 1997 COS 461: Networks and Distributed Computing u Prof. Ed Felten u u.
Universal Serial Bus Grant Heileman. The History of USB In 1994 a collaborative effort to design a standard for peripheral devices was made between Compaq,
SHIFT REGISTERS: CONVERTING BETWEEN SERIAL AND PARALLEL DATA Mark Neil - Microprocessor Course 1 Serial versus Parallel Data Transfers.
1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
Csc333 Data communication & Networking Credit: 2.
USB: Data Flow Sukesh Shenoy. USB implementation areas.
Internetworking Fundamentals (Lecture #1) Andres Rengifo Copyright 2008.
1 USB 2.0 Specification  General Description  What is OTG (On the Go)  From where we could begin the work  What would be valid to do?
USB – An Overview Group 3 Kaushik Nandha Bikram What is the Universal Serial bus (USB)? Is a cable bus that supports data exchange between a host computer.
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
Network Data Organizational Communications and Technologies Prithvi N. Rao Carnegie Mellon University Web:
Anush Rengarajan Feng Zheng Thomas Madaelil
USB 2.0 INTRODUCTION NTUT CSIE 學 生:許家豪 指導教授:柯開維教授.
Input/Output and Communication
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Interface circuits I/O interface consists of the circuitry required to connect an I/O device to a computer bus. Side of the interface which connects to.
Serial Communications Standards (Partly Excerpted from Simpl Primer) Cabling Configuration Protocol.
Local Asynchronous Communication
Local Asynchronous Communications. Bit-wise data transmission Data transmission requires: Encoding bits as energy Transmitting energy through medium Decoding.
USB: UNIVERSAL SERIAL BUS Joe Kaewbaidhoon Alex Motalleb Vishal Joshi Prepared for EECS 373 University of Michigan, Ann Arbor 1.
18 - Winter 2003 EE EE 766 Computer Interfacing and Protocols 1 USB (Universal Serial Bus) Need for “Plug and Play” capability for PC peripherals outside.
Serial Interfaces. Bit serial bus New generation of busses Uses bit-serial, differential drive technology Uses on-line device drivers (Hot-plug technology)
PC 232 Serial Ports Ports –Connectors at back of PC –Plus related internal electronics to send/receive PC 232 Serial Port –Follows EIA/TIA 232 standards.
INPUT/OUTPUT ARCHITECTURE By Truc Truong. Input Devices Keyboard Keyboard Mouse Mouse Scanner Scanner CD-Rom CD-Rom Game Controller Game Controller.
Computer Architecture Lecture 08 Fasih ur Rehman.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
May 9, USB 2.0 High Bandwidth Peripheral Design Challenges Robert Shaw Cypress Semiconductor Robert Shaw Cypress Semiconductor
Computers in Surveying SVY2301 / E4006 Automated Surveying.
Introduction to USB Development. USB Development Introduction Technical Overview USB in Embedded Systems Recent Developments Extensions to USB USB as.
Introduction to USB © 2010 Renesas Electronics America Inc. All rights reserved.
ECE 371 – UNIT 20 Universal Serial Bus (USB). References 1. Universal Serial Bus Specification, Revision 2.0. This specification is available on the World.
AS Computing F451 F451 Data Transmission. What data is transmitted? Phone SMS Radio TV Internet.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
ITEC 352 Lecture 32 USB. USB (1) Review Exam Intro/review of the bus system.
1 Registers and Counters A register consists of a group of flip-flops and gates that affect their transition. An n-bit register consists of n-bit flip-flops.
Modems Chapter 17. Basic Knowledge  Modems are little devices to use the telephone to talk to other computers.  Modem is an abbreviation for Modulator/
Microprocessor-based Systems
Chapter 5: Local Asynchronous Communication 1. Bit-wise data transmission 2. Asynchronous communication 3. Sending bits with electric current 4. Standard.
Chapter 5 Internal Memory. Semiconductor Memory Types.
Communication methods
BR 6/001 Universal Serial Bus Universal Serial Bus is a new synchronous serial protocol for low to medium speed data transmission Full speed signaling.
Input/Output 2 What is I/O? How we get the CPU to communicate with devices From the computer’s point of view, it’s just 1’s and 0’s Gets interpreted.
February 10 th 2010 Dehmani Feth-Allah M2 ISTRe Oral Presentation Universal Serial Bus.
Data Communications (E&T2760): USB and IEEE USB and IEEE 1394.
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
Network Protocols and Standards (Part 2). The OSI Model In 1984, the International Organization for Standardization (ISO) defined a standard, or set of.
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
PS/2 Mouse/Keyboard Port
FUNDAMENTALS OF NETWORKING
General Licensing Class Digital Operating Brookhaven National Laboratory Amateur Radio Club.
1 Chapter Overview Modems The Internet and Web Browsers.
SHIFT REGISTERS: CONVERTING BETWEEN SERIAL AND PARALLEL DATA Mark Neil - Microprocessor Course 1 Serial versus Parallel Data Transfers.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
Serial mode of data transfer
USB PHYISICAL LAYER PROTOCOL ENGINE LAYER APPLICATION LAYER
Instructor Materials Chapter 1 Ever Wonder How It Works?
6.1 Communication Methods
Input/Output and Communication
The Three Main Sources of Transmission Errors
USB Universal Serial Bus
Communication Lines Fundamentals.
Local Asynchronous Communication (RS-232)
Universal Serial Bus Specification 1.0
USB- Universal Serial Bus
USB : Universal Serial Bus
Network Protocol Layers
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Presentation transcript:

ITEC 352 Lecture 33 USB (2)

Review Intro to USB –History –Rationale –Competitors –Serial versus parallel –Topology

USB (2) Objectives Types of transfer modes Pins Encoding electricity into 0’s and 1’s Packets

USB (2) Transfer modes Isochronous transfers –Guaranteed rate but possible data loss Interrupt transfers –Quick response transfer Bulk transfers –Uses all available bandwidth –No guarantee on timing or latency Control transfers –Tell the device what to do

USB (2) Connector Pin Layout (1-4) –Vcc +5V (Why is this important?) –Data- –Data+ –Ground Why so simple?

USB (2) Why 2 wires? Why do you think 2 data wires is important? –Twice the capacity (parallel)? –Error detection? –Host to Client, Client to Host? –Others?

USB (2) Electricity Sends a signal across a wire Note: How clean is this signal? What can we do to with this level of signal strength?

USB (2) Brainstorm Develop a system for sending 0s and 1s across an electrical wire in a safe manner Tools –Clock pulses

USB (2) NRZI Encoding Start at 1 or 0 At the next clock edge –If value changes it is a 1 –If it stays the same it is a 0 –Or vice versa (USB uses same as 1, change is 0)

USB (2) Circuitry thought Have to have some way to accumulate the bits Start with 32 bits of 0 –Shift bits right –Insert bit from wire into accumulator –Sound familiar to P1? Binary adders + Flip flops –5 bits of memory (2^5 = 32) –Add 1 to it each time –When overflow happens, data is ready Note: not exactly what is used, but close

USB (2) Process A protocol (what is it in your own words?) –Which ones do you know of? Handshaking –Series of known 0s and 1s Timing –Devices run at different speeds –Have to figure out their transmission speed –Handshake allows you to figure out the timing

USB (2) Packets Group of 0’s and 1’s put together Agreed upon method of communication Preamble (timing) = Ping = Response –ACK = –NAK… –Stall…

USB (2) How it works Once you identify yourself –Certain number of bits read in based on command Data transfer basics –Send data command from computer –Data sent from device –Ack from computer saying it got data –If Ack not there, data resent –Also have to verify data is ok and not corrupt

USB (2) Data safety How can you verify that a series of 0’s and 1’s are transferred correctly? Ideas?

USB (2) Software Read X bits into an array == Packet! Handling each bit… –Not very desirable Libraries to handle this for us –Next time!

USB (2) Summary USB Electrical and Next time –Code / libraries