Hardware Configurations for the i.mx Family USB Modules



Similar documents
Windows 7: Using USB TAP on a Classic CodeWarrior Installation (MGT V9.2 DSC V8.3)

Connecting Low-Cost External Electrodes to MED-EKG

How To Build A Project On An Eclipse Powerbook For Anarc (Powerbook) On An Ipa (Powerpoint) On A Microcontroller (Powerboard) On Microcontrollers (Powerstation) On Your Microcontroller 2 (Powerclock

How To Control A Motor Control On An Hvac Platform

IRTC Compensation and 1 Hz Clock Generation

Installation of the MMA955xL CodeWarrior Service Pack Author: Fengyi Li Application Engineer

Programming Audio Applications in the i.mx21 MC9328MX21

Local Interconnect Network (LIN) Physical Interface

Software Real Time Clock Implementation on MC9S08LG32

Flexible Active Shutter Control Interface using the MC1323x

Using WinUSB in a Visual Studio Project with Freescale USB device controller

Connecting to an SMTP Server Using the Freescale NanoSSL Client

Blood Pressure Monitor Using Flexis QE128 Gabriel Sanchez RTAC Americas

Handling Freescale Pressure Sensors

etpu Host Interface by:

MC13783 Buck and Boost Inductor Sizing

Initializing the TSEC Controller

Cyclic Redundant Checker Calculation on Power Architecture Technology and Comparison of Big-Endian Versus Little-Endian

Generate Makefiles from Command Line Support in Eclipse-Based CodeWarrior Software

Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX4080D.

PowerQUICC II Pro (MPC83xx) PCI Agent Initialization

How to Convert 3-Axis Directions and Swap X-Y Axis of Accelerometer Data within Android Driver by: Gang Chen Field Applications Engineer

Understanding LCD Memory and Bus Bandwidth Requirements ColdFire, LCD, and Crossbar Switch

Improving Embedded Software Test Effectiveness in Automotive Applications

Freescale Embedded GUI Converter Utility 2.0 Quick User Guide

Developing an Application for the i.mx Devices on the Linux Platform

MCF54418 NAND Flash Controller

Adding SDIO Wi-Fi Solution to i.mx Windows CE 5.0/Windows CE 6.0

Performance Monitor on PowerQUICC II Pro Processors

Using the Performance Monitor Unit on the e200z760n3 Power Architecture Core

Data Movement Between Big-Endian and Little-Endian Devices

MLPPP in the Evolving Radio Access Network

Using eflexpwm Module for ADC Synchronization in MC56F82xx and MC56F84xx Family of Digital Signal Controllers

Point-of-Sale (POS) Users Guide Lech José Olmedo Guerrero Jaime Herrerro Gallardo RTAC Americas

MSC8156 and MSC8157 PCI Express Performance

VGA Output using TV-Out Extension Solution i.mx21

MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1

USB HID bootloader for the MC9S08JM60

Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX5500.

How To Measure Power Of A Permanent Magnet Synchronous Motor

User Interface Design using CGI Programming and Boa Web Server on M5249C3 Board

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

Processor Expert Software Microcontrollers Driver Suite Getting Started Guide

NOT RECOMMENDED FOR NEW DESIGN

i.mx28 Ethernet Performance on Linux

Detecting a CPM Overload on the PowerQUICC II

Ref Parameters Symbol Conditions Min Typ Max Units. Standby μa. 3 Range kpa. 4 Resolution 0.15 kpa. 5 Accuracy -20ºC to 85ºC ±1 kpa

Enhanced Serial Interface Mapping

How To Fit A 2Mm Exposed Pad To A Dfn Package

Configuring the FlexTimer for Position and Speed Measurement with an Encoder

NOT RECOMMENDED FOR NEW DESIGN

Software Marketing, Embedded Real-Time Solutions

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

Efficient Low-Level Software Development for the i.mx Platform

USB to SPI Device Driver Installation Instructions

Using the Kinetis Security and Flash Protection Features

Techniques and Tools for Software Analysis

White Paper. Freescale s Embedded Hypervisor for QorIQ P4 Series Communications Platform

Using the High Input Voltage Charger for Single Cell Li-Ion Batteries (KIT34671EPEVBE)

How To Improve Performance On A P4080 Processor

Genesi Pegasos II Setup

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers

RF Power Field Effect Transistors N- Channel Enhancement- Mode Lateral MOSFETs

Pressure Freescale Semiconductor

CodeWarrior Development Studio Floating Licensing Quick Start

Understanding Pressure and Pressure Measurement

PQ-MDS-T1 Module. HW Getting Started Guide. Contents. About This Document. Required Reading. Definitions, Acronyms, and Abbreviations

NOT RECOMMENDED FOR NEW DESIGN

Emulated EEPROM Implementation in Dual Flash Architecture on MC9S08LG32 With Demo Description

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

MPR121 Serial Communication

Real Time Development of MC Applications using the PC Master Software Visualization Tool. 1. Introduction. 2. Development of Motor Control.

Freescale Variable Key Security Protocol Transmitter User s Guide by: Ioseph Martínez and Christian Michel Applications Engineering - RTAC Americas

VLE 16-bit and 32-bit Instruction Length Decode Algorithm

KIT34845EPEVME Evaluation Board

MPXAZ6115A MPXHZ6115A SERIES. Freescale Semiconductor Technical Data. MPXAZ6115A Rev 4, 01/2007

Using the High-Input-Voltage Travel Charger for Single Cell Li-Ion Batteries (KIT34674EPEVBE)

Freescale Semiconductor. Integrated Silicon Pressure Sensor

ColdFire Security SEC and Hardware Encryption Acceleration Overview

LC03-6R2G. Low Capacitance Surface Mount TVS for High-Speed Data Interfaces. SO-8 LOW CAPACITANCE VOLTAGE SUPPRESSOR 2 kw PEAK POWER 6 VOLTS

ESD Line Ultra-Large Bandwidth ESD Protection

Using Program Memory As Data Memory. 1. Introduction Program Memory and Data. Contents. Memory. Freescale Semiconductor Application Note

Using XGATE to Implement LIN Communication on HCS12X Daniel Malik 8/16-Bit Products Division East Kilbride, Scotland

Wireless Base Station Evolution

3-Phase BLDC Motor Control with Hall Sensors Using the MC56F8013

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

AND8326/D. PCB Design Guidelines for Dual Power Supply Voltage Translators

AND9015. A Solution for Peak EMI Reduction with Spread Spectrum Clock Generators APPLICATION NOTE. Prepared by: Apps Team, BIDC ON Semiconductor

AND8365/D. 125 kbps with AMIS-4168x APPLICATION NOTE

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

LOW POWER SCHOTTKY. GUARANTEED OPERATING RANGES ORDERING INFORMATION

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

DRM for Driver Information System on S12G128. Reference Design

Implementing Positioning Algorithms Using Accelerometers

QorIQ espi Controller Register Setting Considerations and Programming Examples

NUP4106. Low Capacitance Surface Mount TVS for High-Speed Data Interfaces SO 8 LOW CAPACITANCE VOLTAGE SUPPRESSOR 500 WATTS PEAK POWER 3.

NTMS4920NR2G. Power MOSFET 30 V, 17 A, N Channel, SO 8 Features

User Guide. Introduction. HCS12PLLCALUG/D Rev. 0, 12/2002. HCS12 PLL Component Calculator

Comparison of DDRx and SDRAM

ULN2803A ULN2804A OCTAL PERIPHERAL DRIVER ARRAYS

Transcription:

Freescale Semiconductor Application Note Document Number: AN4136 Rev. 0, 06/2010 Hardware Configurations for the i.mx Family USB Modules by Multimedia Applications Division Freescale Semiconductor, Inc. Austin, TX 1 Introduction The i.mx family multimedia application processors, such as i.mx31 and i.mx27, contain three separate USB 2.0 compliant modules two dedicated USB host modules and one dual-role On-The-Go (OTG) module. The i.mx25 and i.mx35 processors contain one integrated host and one OTG port each. The dual-role OTG module can be used as a USB host, device, or an OTG port. The host and OTG modules can be interfaced with serial transceivers for Full-Speed (FS) connection, or optional UTMI+ Low Pin Interface (ULPI) transceivers to provide High-Speed (HS) connectivity. The flexibility provided by the modules imply that there are a number of possible hardware configurations that allow different functionalities. This application note shows block diagrams for possible configurations, and also discusses some hardware implementation issues. This application note does not discuss about the software development for USB. Contents 1. Introduction................................. 1 2. USB Host Hardware Configuration.............. 2 3. USB OTG Connections....................... 4 4. USB Layout Considerations.................... 5 5. Revision History............................. 7 2010 Freescale Semiconductor, Inc. All rights reserved.

USB Host Hardware Configuration 2 USB Host Hardware Configuration The i.mx27 and i.mx31 processors have two dedicated USB host modules one is Full-Speed (FS)/Low-Speed (LS) only, which is interfaced with an external serial transceiver, and the other is High-Speed (HS capable, also compatible with FS/LS), which is interfaced with an optional ULPI or serial transceiver. Figure 1 shows a hardware setup of the FS/LS USB host module. Figure 1. FS/LS USB Host Module 2 Freescale Semiconductor

USB Host Hardware Configuration Figure 2 shows the connections for HS Host/OTG with ULPI transceiver. 2.1 Resistors Figure 2. HS Host/OTG with ULPI Transceiver The 33 Ω series termination resistors are recommended for the FS/LS USB transceiver. These series termination resistors must be placed as close as possible to the transceiver to maximize the eye diagram for the data lines. For the HS ULPI USB transceiver (that is, ISP1504 from NXP and USB3317 from SMSC), the D+/Dlines of the transceiver must be connected to the USB receptacle directly, without any series termination resistors. Optional Electro Static Discharge (ESD) circuit is recommended on the D+/D- lines for both FS and HS transceivers to improve safety and reliability. The FS/LS USB host operation also requires 15 KΩ pull-down resistors on both the D+ and D- lines, but the HS USB host does not require external pull-down resistors on the D+/D- lines. Refer to USB 2.0 specifications and Section 4, USB Layout Considerations for more information. 2.2 USB Connectors A USB host uses a type-a connector. There are two different versions of A receptacle a typical standard-size A receptacle, and a mini-a (usually combined with mini-b and mini-ab receptacle) or a micro-a receptacle. The USB 2.0 standard supports only the standard A receptacle, while the OTG supplement adds support to the mini-a receptacle too. A mini-a to standard-a receptacle adapter is commonly available if mini-a receptacle is used. Freescale Semiconductor 3

USB OTG Connections The impact of cabling costs, board costs, and form factor must be considered when selecting which USB connector to use in a design. 2.3 VBUS The i.mx processor does not include a signal for supplying the 5 V VBUS power for USB. An external power management chip or discrete logic for enabling VBUS is required for the host operation. The power distribution circuit must have over-current detection capability to be compliant with the USB standard. For FS transceiver, using General Purpose Input/Output (GPIO) pads of the i.mx processor as OE (USBHOST_VBUS_EN) and OC (USBHOST_VBUS_OC) for the VBUS power distribution circuit is recommended (Figure 1). Most ULPI transceivers have a pair of VBUS_EN (Output) and FAULT (Input) pins (Figure 2). Some ULPI PHY even have a built-in charge pump to drive the VBUS. Refer to the specification of the particular ULPI transceiver for more information. A switch designed specifically for USB power, such as the Maxim MAX1931, or a general purpose power-distribution chip, such as Micrel s MIC2026, can be used. 3 USB OTG Connections The i.mx OTG controller can be used either as a USB host or as a USB device (also known as a USB peripheral or function). Figure 3 shows a typical hardware setup for the OTG controller that acts as a dual-role USB device with external ULPI transceiver. Figure 3. OTG with ULPI Transceiver 4 Freescale Semiconductor

USB Layout Considerations 3.1 Resistors The ULPI transceiver includes on-chip series termination resistors and programmable pull-up/pull-down resistors for the D+ and D- lines. This implies that the D+/D- lines from the ULPI transceiver must be connected to the receptacle directly, and optional ESD circuit is recommended for the ULPI transceiver. 3.2 VBUS Some ULPI PHY (that is, ISP1504 from NXP) can source a VBUS supply, when acting as a host. However, there are certain limitations when using the charge pump on the PHY (refer to the specification of the particular PHY for more information). For applications where large current is needed on the VBUS supply, an external VBUS power switch can be used. Some ULPI PHY (that is, USB3317 from SMSC) do not provide the charge pump for VBUS supply. An external power switch is necessary in this case if OTG controller acts as a host. Figure 2 shows a HS capable host implementation that uses a ULPI PHY, with an external 5 V VBUS source supply. 3.3 USB Connectors Because a ULPI PHY can support all the host, device, and OTG operations, it can be connected to any USB receptacle according to the usage, and the required functionality determines the choice of receptacle. If OTG or dual-role functionality is required, then a mini-ab or micro-ab connector must be used (as shown in Figure 4). For host only operations, a standard-a or mini-a or micro-a connector can be used (as shown in Figure 2). If only the device functionality is required, then a standard-b or mini-b or micro-b receptacle can be used in place of the mini-ab receptacle. 4 USB Layout Considerations This section describes the series termination resistor values and placement and provides the general USB layout suggestions. 4.1 Series Termination Resistor Values and Placement While using the FS/LS serial transceiver, the 33 Ω series termination resistors on the D+ and D- lines are recommended. To obtain the optimal eye diagram, these series resistors must be placed as close as possible to the transceiver. No termination resistors must be used for the HS ULPI transceiver on the D+ and D- lines. Optional ESD circuit with low parasitic capacitance is recommended to protect the serial and ULPI transceivers. 4.2 General USB Layout Suggestions The general USB layout suggestions are as follows: Route the USB D+ and D- signals as parallel 90 Ω differential pairs. Match the trace lengths as closely as possible. Matching within 150 mils is a good guideline. Try to maintain short trace lengths, not longer than 15 cm. Freescale Semiconductor 5

USB Layout Considerations Avoid placing USB differential pairs near signals, such as clocks, periodic signals, and I/O connectors, that might cause interference. Minimize vias and corners. Route differential pairs on a signal layer, next to the ground plane. Avoid signal stubs. Figure 4 shows the USB routing example. Figure 4. USB Routing Example NOTE USB connection is recommended for i.mx25 and i.mx35 processors. Figure 5 shows the recommended USB connections for both the i.mx25 and i.mx35 processors. Figure 5. USB Connections for i.mx25 and i.mx35 Processors 6 Freescale Semiconductor

Revision History 5 Revision History Table 1 provides the revision history for this application note. Table 1. Document Revision History Rev. Number Date Substantive Change(s) 0 06/2010 Initial release Freescale Semiconductor 7

How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center 1-800 441-2447 or +1-303-675-2140 Fax: +1-303-675-2150 LDCForFreescaleSemiconductor @hibbertgroup.com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters which may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including Typicals must be validated for each customer application by customer s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. Freescale, the Freescale logo, CodeWarrior, ColdFire, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc. Reg. U.S. Pat. & Tm. Off. CoreNet, QorIQ, QUICC Engine, and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. ARM is the registered trademark of ARM Limited. 2010 Freescale Semiconductor, Inc. Document Number: AN4136 Rev. 0 06/2010