Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?

[Design View / Design Solution]

Take Advantage Of All That USB On-The-Go Has To Offer


A USB OTG controller can be easily integrated onto an ASIC that’s based on different processors and operating systems.

Alan Chang, Shaun Reemeyer, Zhong Wei Wang  |   ED Online ID #5331  |   July 21, 2003

Article Rating:

DESIGN VIEW is the summary of the complete DESIGN SOLUTION contributed article, which begins on Page 2.

Until very recently, no common interface existed between handheld devices and PC peripherals. Then, this past January, Sony released the CLIE personal digital assistant with Universal Serial Bus On-The-Go (USB OTG) functionality. Developed by the USB Implementers Forum (USB-IF), the USB OTG specification provides a common, interoperable solution.

In addition to full USB device functionality, USB OTG confers limited USB host functionality on all handheld devices and PC peripherals. The result is, for example, a PDA or camera that can connect directly to any printer, or a PDA that can download files directly to a portable USB hard-disk drive or CD-RW drive—with no PC to act as an intermediary.

USB has emerged as a popular and necessary interface on nearly every PC and peripheral device that communicates with a PC. With a bandwidth of up to 12 Mbits/s for full-speed and 480 Mbits/s for high-speed mode, USB has more than sufficient bandwidth for consumer applications.

USB OTG provides a cost-effective solution for PDAs, mobile phones, and other handheld devices to communicate among themselves, as well as with any USB peripheral anywhere, anytime. USB OTG products can have both USB-host and peripheral-controller functions on one chip. Thus, the chip can act as a USB host supporting high-, full-, and low-speed devices, or as a USB peripheral itself. Host and peripheral roles can be interchanged through the Host Negotiation Protocol (HNP). Because HNP allows the host function to be transferred between two devices, there's no need to switch cables. With this feature, manufacturers of dual-role devices can specify which peripherals their device will support.

The article digs into the design of a USB dual-role controller, particularly its three main modules: the USB host controller, USB device controller, and OTG module. Also discussed is SRP (Session Request Protocol) and HNP implementation. It stresses that implementing HNP in software is best, due to the inherent flexibility. However, hardware is recommended to deal with the interrupt-latency problem.

HIGHLIGHTS:
Dual Functionality USB-host and peripheral-controller functions can both be included on one chip in USB-OTG products. However, dual-role controller design can pose some challenges. The design consists of three major modules:
1. Host Controller An embedded host controller (HC) IC should perform on par with a PC host and may support up to five levels of Hub. In a flexible design, it will interface to any microprocessor peripheral bus.
2. Device Controller The device controller (DC) must support a high-performance USB interface device with an integrated Serial Interface Engine (SIE), buffer memory, and transceiver.
3. OTG Module The OTG Module supplies analog parts, timers, and a set of status and control registers to support software implementation of the SRP and HNP. It also provides a power-management circuit for power-down and to waken for specific events.
Implementing SRP/HNP OTG allows for various implementations of SRP/HNP. Possibilities include session-based, insertion-based, or hybrid-based. The OTG module provides status and control registers for software to do the implementation.

Full article begins on Page 2




<-- prev. page     [1] 2 3 4     next page -->

Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


  • In EDA, A Year Of Mergers, Failed And Otherwise
  • 2008 BEST Electronic Design Winners
  • Engineers Rely On Internet For Product Info
  • Rochester Electronics Establishes New Design and Technology Group
  • November 17, 2008
  • Custom Sources Light Way To 22-nm IC Lithography
  • Software Turns Scopes Into Vector RF Signal Analyzers
  • Couple’s $15 Million Gift Advances Rice Engineering Education
    1) Behind The Bright Lights, LED Drivers Evolve To Meet New Requirements
    (735 views today)
    2) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (269 views today)
    3) Wi-Fi Chips Stand Out In A Sea Of Wireless Products
    (210 views today)
    4) What's All This "Adjustable Slew Rate Stuff," Anyhow?
    (188 views today)
    5) Easily Convert Decimal Numbers To Their Binary And BCD Formats
    (187 views today)
    ALL TOP 20







    Reader Comments

    useful article... pdf format can be helpful further information about OTG you can find on: http://www.usb-software.org

    Anonymous -June 04, 2007

    I agree that it would be very useful to have these articles available in pdf format. Why can't ED provide a link to a downloadable pdf version in addition to the html version? It is very easy to create a pdf document these days.

    Anonymous -January 20, 2005   (Article Rating: )

    It would be MOST VALUABLE if you had a PDF version of your articles. The "Printer Friendly" version is NOT a good representation of the article.

    EDITOR RESPONSE: Sorry, it is no longer possible to obtain online articles as pdf files. Our new website takes advantage of the superior search capabilities of html files, making html the only available format.

    Michael Christian -August 02, 2003

    POST YOUR COMMENTS HERE

    Name:

    Email:
    Rate this article:

     less useful more useful 
    1
    2
    3
    4
    5
    Your Comments:

    Enter the text from the image below




    Please refresh the page if you have trouble reading this text.
     
     

    PartFinder

    Find real-time pricing, stock status, same-day/next-day shipping options and more. Brought to you by Digi-Key. Go to PartFinder.    
    GlobalSpec

    PART SEARCH :
    Powered by: GlobalSpec - The Engineering Search Engine
    Sponsored Links

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources