SERIAL BUS COMMUNICATION PROTOCOLS USB

Similar documents
Chapter 11: Input/Output Organisation. Lesson 17: Standard I/O buses USB (Universal Serial Bus) and IEEE1394 FireWire Buses

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

Microprocessors LCD Parallel Port USB Port

Universal Serial Bus Host Interface on an FPGA

4 Multiplexer. Y Fig Keyboard Scan Matrix

Controller IP for a Low Cost FPGA Based USB Device Core

Course 10: Interfaces Agenda

Universal Serial Bus - USB 2.0

Certified Wireless USB Wire Adapter Model

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems

Network Media and Layer 1 Functionality

More on IO: The Universal Serial Bus (USB)

PDF created with pdffactory Pro trial version How USB Ports Work by Marshall Brain. Introduction to How USB Ports Work

Introduction to LAN Topologies Cabling. 2000, Cisco Systems, Inc. 3-1

Computer Networks. Week 04 Media and Devices. College of Information Science and Engineering Ritsumeikan University

USB for Embedded Devices. Mohit Maheshwari Prashant Garg

MIKROPROCESORY PRO VÝKONOVÉ SYSTÉMY. Serial Data Transmission (Stručný přehled) České vysoké učení technické Fakulta elektrotechnická

Agenda. Introduction Market trend and application 1394 Market Analysis Data 1394 and industry Applications. Other Technologies USB DVI

Introduction to USB/LPC23xx

Data Communications & Computer Networks. Digital Data Communications Techniques

ECE 471 Embedded Systems Lecture 30

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Intel Thunderbolt. James Coddington Ed Mackowiak

Essential Components for Today s Industrial Connections


USB: Features and Circuits Manoj Purohit ( ) Supervisor: Prof P.C.Pandey

Links. Error Detection. Link Layer. Multiple access protocols. Nodes Links Frame. Shared channel Problem: collisions How nodes share a channel

Chapter 11: Input/Output Organisation. Lesson 15: Standard I/O bus PCI

Computer Organization

USB (Universal Serial Bus) Presentation to UCHUG - 2/06/08 G. Skalka

An Introduction to Universal Serial Bus

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture

Computer Peripherals

Computer Architecture CS 355 Busses & I/O System

Wireless USB Periodic Transfer Models. Dan Froelich Intel

Digital Logic Level. Buses PCI (..continued) PTE MIK MIT

Serial Communications

SWITCH RC-415/RC-416 USER S Manual

Raspberry Pi - I/O Interfaces

USB. The Universal Serial Bus. Most of the material is taken from Jan Axelsson: USB Complete, third edition Lakeview Research ISBN:

STUDY, DESIGN AND SIMULATION OF FPGA BASED USB 2.0 DEVICE CONTROLLER

BEC ES08 8 ports Green Ethernet Desktop Switch User Manual

Interrupt transfers & USB 2.0 & USB 3.0. Group Members Mehwish Awan Mehwish Kiran

Emerging Applications and Use Cases in the UWB Domain

Serial Communications

Bus Example: Pentium II

The RFS-105 / RFS-108 is a high-performance Fast Ethernet switch, with all ports capable of 10 or 100Mbps auto-negotiation operation.

EECS Introduction to Computer Networking. Local Area Networks / Ethernet. Hub

Design Of Linux USB Device Driver For LPC2148 Based Data Acquisition System Including GSM.

UFC3212V. Version 1.0

Computer Organization

Buses, Video, and Upgrades

Organisasi Sistem Komputer

Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses

Wireless (NFC, RFID, Bluetooth LE, ZigBee IP, RF) protocols for the Physical- Data Link layer communication technologies

Functional Verification of xhci (extensible host controller Interface) for USB 3.1 Using HDL

16 / 24 Ports Fast Ethernet Switches 19 Rackmount Quick Installation Guide

David Harrison, Design Engineer for Model Sounds Inc.

High-Speed WUSB Technology Based on WiMedia.

Chapter 12: Multiprocessor Architectures

Extending the IEEE 488 Bus

Module 6: INPUT - OUTPUT (I/O)

ARM Cortex core microcontrollers

Wireless USB Architecture Overview Brad Hosler. Intel Corporation

ET4254 Communications and Networking 1

USB and K-V-M switches. The Rise of USB in the Data Center - The Implementation can Make the Difference 2007 ATEN

AC Wireless Dual Band Gigabit Router. Highlights

2. LAN Topologies Gilbert Ndjatou Page 1

Input/Output Organization. Outline

Link Layer and Ethernet

PCI 32 bit P&P Agere IEEE Ports PCI Host

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Link Layer and Ethernet

Master thesis performed in Electronics Systems By

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

INPUT/OUTPUT DEVICES Dr. Bill Yi Santa Clara University

Medium Access Protocols

M Tech credit seminar report, Electronic Systems group, EE Dept, IIT Bombay, submitted Nov 2002 UNIVERSAL SERIAL BUS

Summary of MAC protocols

USB Wireless Network Adapter User s Manual

STANDARD I/O INTERFACES

Different network topologies

Local Area Network Overview

COMP asynchronous buses April 5, 2016

Design and Performance Evaluation of a New Spatial Reuse FireWire Protocol. Master s thesis defense by Vijay Chandramohan

COMP 273 Winter asynchronous I/O April 5, 2012

EE 122: Ethernet and

Chapter 15 Local Area Network Overview

Seminar: Mobile Systems. Krzysztof Dabkowski Supervisor: Fabio Hecht

Ch 7. Network Interface

Chapter 5: The Data Link Layer. Chapter 5 Link Layer and LANs. Ethernet. Link Layer. Star topology. Ethernet Frame Structure.

Bluetooth was originally started as a project by the Ericsson Company.

Content. Deterministic Access Polling(1) Master-Slave principles: Introduction Layer 2: Media Access Control

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

CHAPTER 15 LOCAL AREA NETWORKS ANSWERS TO QUESTIONS

More on LANs. Roadmap. CPSC Network Programming. ! Hardware Addressing. !LAN Wiring. ! Extending LANs. ! Local Loop Digital Technologies

Core Syllabus. Version 2.6 C OPERATE KNOWLEDGE AREA: OPERATION AND SUPPORT OF INFORMATION SYSTEMS. June 2006

USB Framework, IP Core and related software Tropea S.E., Melo R.A.

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded

FSW-1610TX FSW-2410TX

Transcription:

DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-20: SERIAL BUS COMMUNICATION PROTOCOLS USB 1

USB Host Applications Connecting flash memory cards, pen-like memory devices, digital camera, printer, mouse-device, PocketPC, video games, Scanner 2

Universal Serial Bus (USB) Serial transmission and reception between host and serial devices The data transfer is of four types: (a) Controlled data transfer, (b) Bulk data transfer, (c) Interrupt driven data transfer, (d) Iso-synchronous transfer A bus between the host system and interconnected number of peripheral devices 3

USB Protocol Features Maximum 127 devices can connect a host. Three standards: USB 1.1 (a low speed 1.5 Mbps 3 meter channel along with a high speed 12 Mbps 25 meter channel), USB 2.0 (high speed 480 Mbps 25 meter channel), and wireless USB (high speed 480 Mbps 3 m) 4

Host connection to the devices or nodes Using USB port driving software and host controller, Host computer or system has a hostcontroller, which connects to a root hub. A hub is one that connects to other nodes or hubs. A tree- like topology 5

Serial USB bus Root Hub USB host controller in a Computer or Microcontroller Node USB Device Interface Device B USB Device Interface Node Device C Serial USB bus USB Device Interface Device/ System D Dual role device Node/Hub Serial USB bus USB Host controller Processor of system E Hub 6

Computer system A Serial USB bus in a computer USB host Controller 1 Mbps multicast, multi-master, auto retransmission of erroneous data 120 Ohm line impedance Twisted pair CAN-H and CAN-L wires Serial IO bus Node/ Hub USB host Controller Camera Printer Node Pen like memory device Node Printer Node Hub USB host Controller Mobile phone 7

Dual Role Devices (DRDs). DRD device can be a USB device as well as limited capability host. For example, a wireless USB digital camera is USB host when connected to printer and is USB device when connected to personal computer. 8

The root hub connection to the hub (s) and node (s) The root hub connects to the hub (s) and node (s) at level 1. A hub at level 1 connects to the hub (s) and node (s) at level 2 and so on. Root hub and each hub at a level have a star topology with the next level. Only the nodes are present at the last level. 9

USB Device features Can be hot plugged (attached), configured and used, reset, reconfigured and used Bandwidth sharing with other devices: Host schedules the sharing of bandwidth among the attached devices at an instance. Can be detached (while others are in operation) and reattached. Attaching and detaching USB device or host without rebooting 10

USB device descriptor Has data structure hierarchy as follows: It has device descriptor at the root, which has number of configuration descriptors, which has number of interface descriptor and which has number of end point descriptor. 11

Powering USB device A device can be either bus-powered or self- powered. In addition, there is a power management by software at the host for USB ports 12

USB protocol USB bus cable has four wires, one for +5V, two for twisted pairs and one for ground. Termination impedances at each end as per the device-speed. Electromagnetic Interference (EMI)- shielded cable for the 15 Mbps USB devices. 13

USB protocol Serial signals NRZI (Non Return to Zero (NRZI) The synchronization clock encoded by inserting synchronous code (SYNC) field before each USB packet Receiver synchronizes its bits recovery clock continuously 14

USB Protocol A polled bus Host controller regularly polls the presence of a device as scheduled by the software. It sends a token packet. The token consists of fields for type, direction, USB device address and device end-point number. The device does the handshaking through a handshake packet, indicating successful or unsuccessful transmission. 15

USB Protocol: A CRC field in a data packet permits error detection 16

USB supported three types of pipes 'Stream' with no USB- defined protocol. It is used when the connection is already established and the data flow starts 'Default Control' for providing access. 'Message' for the control functions for of the device. Host configures each pipe with the data bandwidth to be used, transfer service type and buffer sizes. 17

Wireless USB Wireless extension of USB 2.0 and it operates at UWB (ultra wide band) 3.1 GHZ to 10.6 GHz frequencies. For short-range personal area network (high speed 480 Mbps 3 meter or 110 Mbps 10 meter channel) 18

Wireless USB Wireless USB FCC has recommended a host wire adapter (HWA) and a device wire adapter (DWA), which provides wireless USB solution. Wireless USB also supports the dual-role devices (DRDs). DRD device can be a USB device as well as limited capability host. For example, a wireless USB digital camera is USB host when connected to printer and is USB device when connected to personal computer. 19

Summary 20

We learnt USB a serial bus for interconnecting a system. Used in networking the IO devices like camera, printer, pen-like memory device, mobile phone, scanner in a computer system. 21

We learnt Three standards: USB 1.1 (a low speed 1.5 Mbps 3 meter channel along with a high speed 12 Mbps 25 meter channel), USB 2.0 (high speed 480 Mbps 25 meter channel), and wireless USB (high speed 480 Mbps 3 m) 22

We learnt USB root hub or hub or node It hot plugs, plugged (attached), configured and used, reset, reconfigured and used and detached a device from the network. USB devices can be organized like a tree structure. 23

End of Lesson 20 of Chapter 3 24