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

Slides:



Advertisements
Similar presentations
An Example of a Portable Computing Device. A PDA as an Example of a Portable Computing Device Recharger and connection to computer for replication Recharger.
Advertisements

Categories of I/O Devices
Primary Author: Girish Verma Secondary Author(s): Navya Prabhakar Presenter: Navya Prabhakar Company/Organization: CircuitSutra USB Modeling Quick Start.
This presentation is intended to assist you in troubleshooting basic problems that can occur with hardware and software. NOTE: This presentation contains.
May 17, USB Power Management Brad Hosler USB Engineering Manager Intel Corporation.
USB Charging Controller for PC
USB Digital Audio Player Using ST92163 By Microcontroller DivisionVersion 1.2 / November 2000.
Travis Reed Todd Hummel Kwan-Truc. Concept USB 1.1 SPI b.
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 2.0 INTRODUCTION NTUT CSIE 學 生:許家豪 指導教授:柯開維教授.
Computer Architecture Ports.  There are lots of external devices that you can connect to your computer. All external devices connect to the computer’s.
EE 446 Embedded Architecture. Universal Serial Bus A representative peripheral interface Universal Serial Bus (USB) provides a serial bus standard for.
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.
USB Josh Rickmar John Marcoux. Topics Purpose and Goals History Bus Design Power Differential Signaling Connectors Changes in USB 3.0.
Mentor.com/embedded Colin Walls USB 3.0: An Introduction for Embedded Software Developers.
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.
TUSB3210 Product Overview.
Copyright 2003 Ryan Rangel. All rights reserved. Got USB? The questions to ask when adding USB Host to your Embedded System. By Ryan Rangel
Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses 11/06/20141Input/Output.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
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.
Back to USB Devices TUSB2136 TUSB2136 Product Overview.
Introduction to USB Development. USB Development Introduction Technical Overview USB in Embedded Systems Recent Developments Extensions to USB USB as.
Introduction to Computers Personal Computing 10. What is a computer? Electronic device Performs instructions in a program Performs four functions –Accepts.
Embedding USB Lane Hauck Cypress Semiconductor. Embedded Systems Conference, March 2002 Embedding USB 1 Agenda  Why USB?  USB Advantages  USB Basics.
Introduction to USB © 2010 Renesas Electronics America Inc. All rights reserved.
1 Chapter Overview Understanding Expansion Buses Configuring Expansion Cards Cables and Connectors.
May 9, USB On-The-Go Kosta Koeman Cypress Semiconductor Kosta Koeman Cypress Semiconductor.
Universal Serial Bus - USB Historical Perspective The Universal Serial Bus was originally developed in 1995 by a group of industry.
October 10, USB Power Management Brad Hosler USB Engineering Manager Intel Corporation.
PRESENTATION ON MOTHERBOARD. MOTHERBOARD The motherboard is the main circuit board inside your PC. A motherboard is the central printed circuit board.
Renesas Electronics America Inc. RX USB Peripheral The Renesas RX USB peripheral a.k.a. USBC_597IP_PP Ver
May 9, USB On-The-Go Implementation Trade-offs Zong Liang WU TransDimension Zong Liang WU TransDimension.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Virtual EEPROM and Flash API for.
May 16, USB 2.0 Technical Overview Brad Hosler USB Engineering Manager Intel Corporation.
Universal Serial Bus By Clint Johnston. 1. What is USB? USB or Universal Serial Bus is specification to establish communication between devices and a.
October 10, USB 2.0 Technical Overview Brad Hosler USB Engineering Manager Intel Corporation.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Implementing Bootloaders on Renesas MCUs.
Team 4 Project 1 Presentation Mapping Parallel Ports to LPT’s & USB Host Controller Interfaces Tom, Jen, Curtis, Ashley, Scott.
Suleiman Mohammed(mcpn, mncs)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Communicating over the Network Network Fundamentals – Chapter 2.
©F.M. Rietti Communication Lines Fundamentals. ©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 2 Communication Lines Generally used to connect.
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.
Week1: Introduction to Computer Networks. Copyright © 2012 Cengage Learning. All rights reserved.2 Objectives 2 Describe basic computer components and.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
PCs ENVIRONMENT and PERIPHERALS Lecture 1. Software The series of instructions that tells the hardware how to perform tasks Software The series of instructions.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 17 Supporting Modems.
COMPUTER COMPONENTS Ms Jennifer Computer Components.
The Components of the System Unit
Embedding USB technology Limitations, challenges and compliance
Visit for more Learning Resources
USB The topics covered, in order, are USB background
Computer Hardware By Millie Hay.
RL78 POC and LVD © 2010 Renesas Electronics Corporation. All rights reserved.
SUPPORTING DISPLAY DEVICES, I/O DEVICES, AND ACPI
USB Universal Serial Bus
Introduction to Computers
LCD Network Monitor.
AVR32 UC3 EVK1100 Control Panel Tutorial
Universal Serial Bus Specification 1.0
A Power Reset is one of the best methods to fix lots of problems associated with your HP laptop, like Windows not.
USB- Universal Serial Bus
USB : Universal Serial Bus
Chapter Overview Understanding Expansion Buses
Upgrading Your PC: Flash Memory and Gathering User Information
Greg Bell Business Development Mgr Industrial & Security Markets
Universal Serial Bus (USB)
Presentation transcript:

So, you think you need USB On-The-Go?

Agenda Introduction Embedded Host terminology OTG – Electrical – Protocol When to use OTG 2

Typical USB Network Host, Function, Hub © 2010 Renesas Electronics America Inc. All rights reserved. 3

Embedded Host Terminology Embedded Host – Not full UHCI like PC, has limited hosting capabilities defined by its Targeted Peripheral List – TPL = List of devices supported Targeted Host – Embedded Host or an OTG with a TPL Dual Role Device – MCU acts as Host and Function On different ports - at the same time On same port - at different times 4

Dual Role Device 5 HostsPeripherals Dual Role Device UHCI/OHCI Host (PC), Embedded Host Mouse, Keyboard, Flash drive, Embedded Host with FW/HW to run as Function OTG Product

USB On-The-Go Retains the Host-Function USB model, BUT – Connects Two USB devices Appears to add peer-to-peer, but negotiation who will be Host – Micro-AB receptacle with ID pin OTG has a low power advantage: – Using standard USB spec could cripple battery life of a low- powered device Regular USB Host must supply 100 mA For OTG the requirement is 8 mA Function may ask for more from Host SRP… OTG not used much due to increased complexity And since it is usually not needed! 6

Connectors and Receptacles USB Specification – Type A and Type-B plugs and receptacles – Mini A and Mini-B plugs and receptacle OTG Additions – Micro A and Micro B plugs – Micro AB receptacle Pins: – VBUS – D+ – D- – GND – ID 7 Micro A/B for OTG Micro-B plug Micro-A plug VBUS D+ D- GND ID

Host Negotiation Protocol (HNP) Method for switching Host and Function roles without disconnecting the cable Cable orientation to determine initial Host Software controlled sequence 8 USB HostUSB Function HNP

Session Request Protocol - Saves Power “Regular” USB – Suspend State mandatory after 3 ms – Function can issue Remote Wakeup – Vbus still on In OTG with SRP: – VBus turned off by Host when no activity on bus – VBus turned on after Function ‘pulses’ D+ line Need battery! Non OTG products – Hosts, including a PC or laptop, is allowed to respond to SRP. – Peripheral-Only B-device, may initiate SRP 9

Standard USB Circuitry 10

Pin Mode Host/Function/OTG Example 11 What must happen to switch between Host/Function? 1. User must pull out and reattach a cable 2. User needs to notify firmware to reinit USB (e.g. push a switch) 3. THE OUTWARD CIRCUITRY MUST CHANGE For example the YRDK62N has dipswitches that need to be altered when changing Host/function

When is OTG needed? You visit a customer that says“Our product needs both Host and Function capabilities on the same port so it needs OTG”. – True or False? – False. As we have seen, this is not the case, though action must be taken to switch between the two. 12

External Circuitry for OTG with RX62N 15 k pulldown on D+ and D- for Host mode 2.5 k pullup on D+ for Function Normal Function operation does not require the external IC OTG – IC allows VBUS to source or sink current. – MAX3355 from Maxim 13

What is required to support an OTG product? Electrical circuitry – USB Charge pumps – Supply min. 8mA /5V to Vbus USB Stack – Function stack – Host stack – OTG Specific support Host Negotiation Protocol (HNP) Session Resume Protocol (SRP) – Host/Function stack switching capability Target Peripheral List class drivers – Depending on the TPL some features above may be ignored 14

RX62N USB Peripheral Host IP based on R8A66597 – Two USB ports (Host/Function, Function only) – USB 2.0 with Full speed transfer – 10 configurable pipes (1 Control, 5 Bulk, 4 Interrupt, 2 Isochronous) – Sits on internal peripheral bus – Suspend, Resume (Host), WakeUp (Function) supported – Wakeup from deep software standby (current consumption yet to be determined) via USB activity – No Certification yet 15

Scenarios Where OTG Could be Used 1. Host - OTG acting as Function – PDA - Mouse/Keyboard/Printer – PC or Embedded Host – OTG B-device – Example: Sync a PC with a PDA/Phone/MP3/Camera 2. Host - Peripheral-Only OTG – PDA to Mouse/Keyboard/Printer – Data to/from Camera/Mp3/Phone/PDA to Flash Drive 3. OTG - OTG – Data between Camera-Phone-PDA-Mp3 16

If ‘No’ to any of these, OTG not necessary Does the product need both Host and Function capabilities? – If ‘no’ OTG not needed Is it necessary to use only one port? (One for Host and the other for Function) – No – OTG not needed Is it unacceptable to unplug and re-plug the product when switching between Host and Function roles? – No, its actually acceptable – OTG not needed Is the product expected to be used with another OTG product? – If Yes – Is that product a ‘Peripheral-Only’ No - OTG not needed Yes to ALL: – Make an OTG stack… 17

Rule of Thumb OTG is a must only if that product is expected to be used with another OTG product (which is not ‘Peripheral-Only’). If the customer still says OTG is necessary, ask the questions in the previous slide. Usually, a Dual Role Device can do the job. Wait! I need the low power solution that OTG has (SRP)! – According to the OTG standard: For non OTG products, a host, including a PC or laptop, is allowed to respond to SRP. A peripheral-Only B-device, may initiate SRP. 18

Summary Introduction The Embedded Host OTG – Electrical Spec – Protocol Spec When to use OTG? OTG in a product with Host and Device support, is a must only if that product is expected to be used with another OTG Device. In all other cases an Embedded Host can do the job. 19