Introduction to USB © 2010 Renesas Electronics America Inc. All rights reserved.

Slides:



Advertisements
Similar presentations
So, you think you need USB On-The-Go?. Agenda Introduction Embedded Host terminology OTG – Electrical – Protocol When to use OTG 2.
Advertisements

Protocol Layer Bottom-up view of the USB protocol Bottom-up view of the USB protocol –Byte/Bit Ordering –SYNC Field –Packet Field Formats PID Field PID.
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,
USB: Data Flow Sukesh Shenoy. USB implementation areas.
Serial Interfaces. 2 Legacy Serial ports Parallel ports Keyboard / Mouse connectors … keyboard mouseSP PP Monitor Ethernet Sound Card Modem.
1 USB 2.0 Specification  General Description  From where we could begin the work  What would be valid to do?  Main doubts  What is OTG (On the Go)
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?
IEEE 1394 / FireWire Nick Pennella 4/17/03. Introduction  -Originally Created by Apple and standardized as IEEE1394 in 1995  -Was intended to be used.
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.
IT Systems In and Out EN230-1 Justin Champion C208 –
Anush Rengarajan Feng Zheng Thomas Madaelil
Dr A Sahu Dept of Comp Sc & Engg. IIT Guwahati. USB Introduction USB Architecture USB Framming USB Drivers URB (USB request Block)
USB 2.0 INTRODUCTION NTUT CSIE 學 生:許家豪 指導教授:柯開維教授.
Introduction to USB. 2 Agenda Introduction to USB LPC23xx Block diagram MCB2300 demo.
Introduction to Computer Networking. Wireless Network.
EE 446 Embedded Architecture. Universal Serial Bus A representative peripheral interface Universal Serial Bus (USB) provides a serial bus standard for.
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.
Choosing (and Implementing) the Correct USB Connectivity for Your Embedded System Steve Wetterling, MSEE = Pat Barrett,
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.
- Madhav Singh-.  This presentation describe the basics of USB device and Host side i.e. descriptors, endpoints, device controller, root hub etc.  It.
Serial Interfaces. Bit serial bus New generation of busses Uses bit-serial, differential drive technology Uses on-line device drivers (Hot-plug technology)
USB Josh Rickmar John Marcoux. Topics Purpose and Goals History Bus Design Power Differential Signaling Connectors Changes in USB 3.0.
Peripheral Buses COMP Jamie Curtis. PC Buses ISA is the first generation bus 8 bit on IBM XT 16 bit on 286 or above (16MB/s) Extended through.
May 8, The EASY Way to Create I/O Devices John Hyde Intel Corporation intel.com.
What is USB? Prototyping Unit.
Spring 2014 SILICON VALLEY UNIVERSITY CONFIDENTIAL 1 Introduction to Embedded Systems Dr. Jerry Shiao, Silicon Valley University.
Embedded Systems Architecture Class Project USB 2.0 Function Controller December 12, 2008 Brandon Wolfe, Ben Marrou, Daniel Chan.
Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses 11/06/20141Input/Output.
Peripheral Busses COMP Jamie Curtis. PC Busses ISA is the first generation bus 8 bit on IBM XT 16 bit on 286 or above (16MB/s) Extended through.
October 10, USB OnTheGo Ed Beeman Hewlett Packard.
Introduction to USB Development. USB Development Introduction Technical Overview USB in Embedded Systems Recent Developments Extensions to USB USB as.
Embedding USB Lane Hauck Cypress Semiconductor. Embedded Systems Conference, March 2002 Embedding USB 1 Agenda  Why USB?  USB Advantages  USB Basics.
USB host for web camera connection
Using the PSoC USB March 17, 2012 Lloyd Moore, President/Owner.
1 Chapter Overview Understanding Expansion Buses Configuring Expansion Cards Cables and Connectors.
ECE 371 – UNIT 20 Universal Serial Bus (USB). References 1. Universal Serial Bus Specification, Revision 2.0. This specification is available on the World.
Universal Serial Bus - USB Historical Perspective The Universal Serial Bus was originally developed in 1995 by a group of industry.
ITEC 352 Lecture 32 USB. USB (1) Review Exam Intro/review of the bus system.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. LibUSB - Create a Solution Without the Class Struggle.
Microprocessor-based Systems
Hardware Definitions –Port: Point of connection –Bus: Interface Daisy Chain (A=>B=>…=>X) Shared Direct Device Access –Controller: Device Electronics –Registers:
Renesas Electronics America Inc. RX USB Peripheral The Renesas RX USB peripheral a.k.a. USBC_597IP_PP Ver
DIGITAL CONTROL INTERFACES MH0307 PLC & DATA ACQUISITION SYSTEMS DEPARTMENT OF MECHATRONICS ENGINEERING SRM UNIVERSITY.
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.
Computer Maintenance Copyright © Texas Education Agency, All rights reserved. 1 FireWire Ports.
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.
Team 4 Project 1 Presentation Mapping Parallel Ports to LPT’s & USB Host Controller Interfaces Tom, Jen, Curtis, Ashley, Scott.
1 Presented By: Eyal Enav and Tal Rath Eyal Enav and Tal Rath Supervisor: Mike Sumszyk Mike Sumszyk.
Intel Open Source Technology Center Lu Baolu 2015/09
Proposal for an Open Source Flash Failure Analysis Platform (FLAP) By Michael Tomer, Cory Shirts, SzeHsiang Harper, Jake Johns
Computer Maintenance UNT in partnership with TEA, Copyright ©. All rights reserved1 FireWire Ports.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. Overview of Ethernet Networking A Rev /31/2011.
What is USB? Circuit Design Unit. What is USB? USB stands for ‘Universal Serial Bus’ and is the next step in creating a computer interface that really.
Renesas Electronics America Inc. RX Ethernet Peripheral © 2011 Renesas Electronics America Inc. All rights reserved A Rev /16/2011.
IEEE 1394 The Cable Connection to Complete the Digital Revolution By: Jay Webb.
The World Leader in High Performance Signal Processing Solutions SD/SDIO Introduction Cliff Cai.
CHAPTER -II NETWORKING COMPONENTS CPIS 371 Computer Network 1 (Updated on 3/11/2013)
USB Universal Serial Bus. University of Tehran 2.
Visit for more Learning Resources
Computer Maintenance FireWire Ports
USB The topics covered, in order, are USB background
USB PHYISICAL LAYER PROTOCOL ENGINE LAYER APPLICATION LAYER
USB Universal Serial Bus
Universal Serial Bus Specification 1.0
USB- Universal Serial Bus
USB : Universal Serial Bus
Greg Bell Business Development Mgr Industrial & Security Markets
Universal Serial Bus (USB)
Presentation transcript:

Introduction to USB © 2010 Renesas Electronics America Inc. All rights reserved.

USB = Universal Serial Bus HID Class Mass Storage Class Printer Class Serial bus standard for interfacing devices Advantages Hot Swapable Multiple Classes with unified drivers Large number of devices (128) High data transfer rates – 1.5Mbps (Low Speed) – 12 Mbps (Full Speed) – 480 Mbps (High Speed USB 2.0) – 3Gbps (Super Speed USB 3.0) Differential signaling Automatic Error Detection and Recovery Examples: © 2010 Renesas Electronics America Inc. All rights reserved.

Topology Three Device Types Host Only one per system Function Any device that connects to a host Hub Self Powered Bus Powered Peripheral Device Device HUB Peripheral Device Device Peripheral Device Device Peripheral Device Device HUB Peripheral Device Peripheral Device Device Peripheral Device Device USB Cable Port USB HUB USB © 2010 Renesas Electronics America Inc. All rights reserved.

On-The-Go USB Allows two USB devices to talk to each other without a PC acting as host. Allows two USB devices to talk to each other without a PC acting as host. DRD (Dual Role Device). DRD (Dual Role Device). Functions as both Device and Host Functions as both Device and Host Limited Host capabilities Limited Host capabilities Unique mini-AB receptacle. Unique mini-AB receptacle. Common applications Common applications Cell phones Cell phones MP3 players MP3 players PDA PDA OTG © 2010 Renesas Electronics America Inc. All rights reserved.

Four kinds Four kinds Control Control Interrupt Interrupt Bulk Bulk Isochronous Isochronous Direction is from the host perspective Direction is from the host perspective IN: Data sent to host IN: Data sent to host OUT: Data received from host OUT: Data received from host Endpoint FIFO size determines transfer rate Endpoint FIFO size determines transfer rate Endpoints USB a uniquely addressable portion of a USB device that is either a source or sink of info in a communications flow. Bidirectional Unidirectional Fixed at Zero (0 ) IN only Separate Send/Receive Endpoints Direction Endpoint Notes © 2010 Renesas Electronics America Inc. All rights reserved.

Control Transfers Control Transfers Intended to support configuration, command and status operations between the software on the host and the device Required for all USB function devices Bidirectional Interrupt Transfers Interrupt Transfers Intended for devices that send and receive small amounts of data infrequently or in an asynchronous time frame Full speed up to 64 bytes/packet Data is ACK’ed (error correcting) Transfer Types USB © 2010 Renesas Electronics America Inc. All rights reserved.

Transfer Types USB Bulk Transfers Bulk Transfers Transfer large amounts of non-time sensitive data, and that can use any available bandwidth Data is ACK’ed (error correcting) Not Guaranteed for latency Transfer time dependent on Bus activity Isochronous transfers Isochronous transfers Transfer data at guaranteed time intervals Example – Audio/video streaming Guaranteed bus bandwidth Data is not ACK’ed (not error correcting) © 2010 Renesas Electronics America Inc. All rights reserved.

Defined by USB Implementers Forum Defined by USB Implementers Forum Group of devices or interfaces with similar attributes or services Group of devices or interfaces with similar attributes or services Examples of commonly used classes Examples of commonly used classes MSC (Mass Storage Class) MSC (Mass Storage Class) HID (Human Interface Device) HID (Human Interface Device) Other important classes Other important classes Audio, Video Audio, Video Vendor Specific Vendor Specific Classes USB © 2010 Renesas Electronics America Inc. All rights reserved.

Enumeration USB Control Endpoint Endpoint 0 (EP0) Endpoint 3 (EP3) Interrupt IN Endpoint HID HIDDriver Request for Device Descriptor Request for Interface Descriptor Interface Descriptor Request for Configuration Descriptor Request for Report Descriptor Report Descriptor Reply with Configuration Descriptor Configuration Descriptor Reply with Interface Descriptor Interface Descriptor Reply with Endpoint Descriptor Reply with Report Descriptor Report Descriptor Reply with Device Descriptor Device Descriptor Request for Endpoint Descriptor Endpoint Descriptor © 2010 Renesas Electronics America Inc. All rights reserved. * 6 th Descriptor = String Descriptor

Start of Frame KeyboardMouse USB Speakers Bus Management Printer, Scanner and bulk transfers Control Interruptand/orcontrol Isochronous Control Bulk Frame USB 1 ms or ms © 2010 Renesas Electronics America Inc. All rights reserved.

USB Transfer on the protocol analyzer © 2010 Renesas Electronics America Inc. All rights reserved.

Type a H8S2215 Type b H8S2218 H8S2212 Type c H8S2472 Type d H8SX1653 H8SX1663 H8SX1658R H8SX1668R Controller types USB line-up © 2010 Renesas Electronics America Inc. All rights reserved.

The H8SX1664, H8S2218/2212 EndpointAbbrev. Transfer type Maximum packet size FIFO capacity (Bytes) DMA transfer Endpoint 0EP0Control88- Endpoint 1EP1Bulk-IN64128Possible Endpoint 2EP2Bulk-OUT64128Possible Endpoint 3EP3Interrupt88- EndpointAbbrev. Transfer type Maximum packet size FIFO capacity (Bytes) DMA transfer Endpoint 0EP0Control864- Endpoint 1EP1Bulk-OUT64128Possible Endpoint 2EP2Bulk-IN64128Possible Endpoint 3EP3Interrupt64 - H8SX1664 H8S2218/2212 © 2010 Renesas Electronics America Inc. All rights reserved.

The H8S/2215 Self/USB powered Can use either System clock or External Clock for USB Configurable endpoint addresses H8S/2215 Self/USB powered Can use either System clock or External Clock for USB Configurable endpoint addresses © 2010 Renesas Electronics America Inc. All rights reserved.

MSDHIDCDC Bulk-Only with GUI and source H8S/2215 RSK/Web Web H8S/2212/2218 Web H8SX1664 / 1668 RSK/Web Web H8S/2472 RSK/Web - Open source USB library LibUSB-Win32. Host stack available from Renesas and third party vendors like Micrium. USB software © 2010 Renesas Electronics America Inc. All rights reserved.

Renesas Electronics America Inc. Thank You