USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation PRODUCT FEATURES Datasheet USB-IF Battery Charging 1.2 Specification Compliant Link Power Management (LPM) Compliant Integrated ESD protection circuits Up to 25kV IEC Air Discharge without external devices Over-Voltage Protection circuit (OVP) protects the VBUS pin from continuous DC voltages up to 30V Integrated USB Switch (USB3331, USB3336, and USB3338) -- No degradation of Hi-Speed electrical characteristics -- Allows single USB port of connection by providing switching function for: - Battery charging - Stereo and mono/mic audio - USB Full-Speed/Low-Speed data SMSC RapidCharge AnywhereTM Provides: -- 3-times the charging current through a USB port over traditional solutions -- USB-IF Battery Charging 1.2 compliance to any portable device -- Charging current up to 1.5Amps via compatible USB host or dedicated charger -- Dedicated Charging Port (DCP), Charging (CDP) & Standard (SDP) Downstream Port support flexPWR(R) Technology -- Extremely low current design ideal for battery powered applications -- "Sleep" mode tri-states all ULPI pins and places the part in a low current state -- 1.8V to 3.3V IO Voltage (USB3333) Single Power Supply Operation -- Integrated 1.8V regulator -- Integrated battery to 3.3V regulator PHYBoost -- Programmable USB transceiver drive strength for recovering signal integrity VariSenseTM -- Programmable USB receiver sensitivity "Wrapper-less" design for optimal timing performance and design ease -- Low Latency Hi-Speed Receiver (43 Hi-Speed clocks Max) allows use of legacy UTMI Links with a ULPI bridge SMSC USB333x - 100mV dropout voltage External Reference Clock operation available -- ULPI Clock In Mode (60MHz sourced by Link) -- 0 to 3.6V input drive tolerant -- Able to accept "noisy" clock sources as reference to internal, low-jitter PLL -- USB3330 and USB3333 support multiple frequencies Smart detection circuits allow identification of USB charger, headset, or data cable insertion Includes full support for the optional On-The-Go (OTG) protocol detailed in the On-The-Go Supplement Revision 2.0 specification Supports the OTG Host Negotiation Protocol (HNP) and Session Request Protocol (SRP) UART mode for non-USB serial data transfers Internal 5V cable short-circuit protection of ID, DP and DM lines to VBUS or ground Industrial Operating Temperature -40C to +85C 25 ball, WLCSP lead-free RoHS Compliant package (1.97 x 1.97 x 0.53 mm height) Applications The USB333x is the solution of choice for any application where a Hi-Speed USB connection is desired and when board space, power, and interface pins must be minimized. Cell Phones PDAs MP3 Players GPS Personal Navigation Scanners External Hard Drives Digital Still and Video Cameras Portable Media Players Entertainment Devices Printers Set Top Boxes Video Record/Playback Systems IP and Video Phones Gaming Consoles DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Order Numbers: ORDER NUMBER REFCLK FREQUENCY (Note 0.1) USB3330E-GL-TR Selectable See Table 5.2 USB3331E-GL-TR 26MHz USB3333E-GL-TR Selectable See Table 5.3 USB3336E-GL-TR 19.2MHz USB3338E-GL-TR 38.4MHz Note 0.1 PACKAGE TYPE REEL SIZE 25 Ball, WLCSP Lead-Free RoHS Compliant Package (tape and reel) 3,000 pieces All versions support ULPI Clock Input Mode (60MHz input at REFCLK) This product meets the halogen maximum concentration values per IEC61249-2-21 For RoHS compliance and environmental information, please visit www.smsc.com/rohs Please contact your SMSC sales representative for additional documentation related to this product such as application notes, anomaly sheets, and design guidelines. Copyright (c) 2012 SMSC or its subsidiaries. All rights reserved. Circuit diagrams and other information relating to SMSC products are included as a means of illustrating typical applications. Consequently, complete information sufficient for construction purposes is not necessarily given. Although the information has been checked and is believed to be accurate, no responsibility is assumed for inaccuracies. SMSC reserves the right to make changes to specifications and product descriptions at any time without notice. Contact your local SMSC sales office to obtain the latest specifications before placing your product order. The provision of this information does not convey to the purchaser of the described semiconductor devices any licenses under any patent rights or other intellectual property rights of SMSC or others. All sales are expressly conditional on your agreement to the terms and conditions of the most recently dated version of SMSC's standard Terms of Sale Agreement dated before the date of your order (the "Terms of Sale Agreement"). The product may contain design defects or errors known as anomalies which may cause the product's functions to deviate from published specifications. Anomaly sheets are available upon request. SMSC products are not designed, intended, authorized or warranted for use in any life support or other application where product failure could cause or contribute to personal injury or severe property damage. Any and all such uses without prior written approval of an Officer of SMSC and further testing and/or modification will be fully at the risk of the customer. Copies of this document or other SMSC literature, as well as the Terms of Sale Agreement, may be obtained by visiting SMSC's website at http://www.smsc.com. SMSC is a registered trademark of Standard Microsystems Corporation ("SMSC"). Product names and company names are the trademarks of their respective holders. The Microchip name and logo, and the Microchip logo are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SMSC DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES, INCLUDING WITHOUT LIMITATION ANY AND ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND AGAINST INFRINGEMENT AND THE LIKE, AND ANY AND ALL WARRANTIES ARISING FROM ANY COURSE OF DEALING OR USAGE OF TRADE. IN NO EVENT SHALL SMSC BE LIABLE FOR ANY DIRECT, INCIDENTAL, INDIRECT, SPECIAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES; OR FOR LOST DATA, PROFITS, SAVINGS OR REVENUES OF ANY KIND; REGARDLESS OF THE FORM OF ACTION, WHETHER BASED ON CONTRACT; TORT; NEGLIGENCE OF SMSC OR OTHERS; STRICT LIABILITY; BREACH OF WARRANTY; OR OTHERWISE; WHETHER OR NOT ANY REMEDY OF BUYER IS HELD TO HAVE FAILED OF ITS ESSENTIAL PURPOSE, AND WHETHER OR NOT SMSC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Revision 1.3 (11-20-12) 2 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 0.1 Reference Documents UTMI+ Low Pin Interface (ULPI) Specification, Revision 1.1 Universal Serial Bus Specification, Revision 2.0 On-The-Go Supplement to the USB2.0 Specification, Revision 1.3 On-The-Go Supplement to the USB2.0 Specification, Revision 2.0 USB Battery Charging Specification, Revision 1.2 SMSC USB333x 3 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table of Contents 0.1 Reference Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Chapter 1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Chapter 2 USB333x Pin Locations and Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1 USB333x Ball Locations and Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1.1 Package Diagram with Ball Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1.2 Ball Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Chapter 3 Limiting Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.1 3.2 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Recommended Operating Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Chapter 4 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 4.11 4.12 Operating Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clock Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ULPI Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Digital IO Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DC Characteristics: Analog I/O Pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dynamic Characteristics: Analog I/O Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VBUS Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ID Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB Audio Switch Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB Charger Detection Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Regulator Output Voltages and Capacitor Requirement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ESD and Latch-Up Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 23 23 24 25 27 27 28 28 28 29 29 Chapter 5 Architecture Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 ULPI Digital Operation and Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB 2.0 High Speed Transceiver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.1 USB Transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.2 Termination Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bias Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Integrated Low Jitter PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.1 REFCLK Frequency Selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.2 REFCLK Amplitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.3 REFCLK Jitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.4 REFCLK Enable/Disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Internal Regulators and POR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5.1 Integrated Low Dropout Regulators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5.2 Power On Reset (POR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5.3 Recommended Power Supply Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5.4 Start-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB On-The-Go (OTG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.1 ID Resistor Detection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.2 VBUS Monitoring and VBUS Pulsing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.3 Driving External VBUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB UART Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB Charger Detection Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.8.1 Active Analog Charger Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.8.2 Resistive Charger Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Revision 1.3 (11-20-12) 4 DATASHEET 33 33 33 34 36 36 36 38 39 39 39 39 40 40 41 42 42 45 48 48 48 49 50 SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 5.9 USB Audio Support (USB3331, USB3336, and USB3338) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Chapter 6 ULPI Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 ULPI Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.1 ULPI Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.2 ULPI Interface Timing in Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ULPI Register Access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.1 Transmit Command Byte (TX CMD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.2 ULPI Register Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.3 ULPI Register Read. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB333x Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.1 ULPI Receive Command (RX CMD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.2 USB Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB333x Transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4.1 USB333x Host Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4.2 Typical USB Transmit with ULPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Low Power Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.1 Entering Low Power/Suspend Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.2 Exiting Low Power Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.3 Link Power Management (LPM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.4 Interface Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.5 Minimizing Current in Low Power Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Full Speed/Low Speed Serial Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6.1 3-Pin FS/LS Serial Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6.2 6-Pin FS/LS Serial Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Carkit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.7.1 Entering USB UART Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.7.2 USB Audio Mode (USB3331, USB3336, and USB3338). . . . . . . . . . . . . . . . . . . . . . . . . RID Converter Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Headset Audio Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 53 54 54 55 55 57 58 58 62 63 63 64 65 66 67 67 68 69 69 69 70 70 71 72 72 72 Chapter 7 ULPI Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 7.1 ULPI Register Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.1 ULPI Register Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.2 Carkit Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.3 Vendor Register Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 75 81 84 Chapter 8 Application Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 8.1 8.2 8.3 8.4 Application Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB Charger Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reference Designs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ESD Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.1 Human Body Model (HBM) Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.2 EN/IEC 61000-4-2 Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 91 91 91 92 92 Chapter 9 Package Outlines, Tape & Reel Drawings, Package Marking . . . . . . . . . . . . . 93 Chapter 10 Datasheet Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 SMSC USB333x 5 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet List of Figures Figure 1.1 Figure 1.2 Figure 1.3 Figure 2.1 Figure 2.2 Figure 2.3 Figure 5.1 Figure 5.2 Figure 5.3 Figure 5.6 Figure 5.7 Figure 5.8 Figure 5.9 Figure 5.11 Figure 5.12 Figure 5.13 Figure 5.15 Figure 6.1 Figure 6.2 Figure 6.3 Figure 6.4 Figure 6.5 Figure 6.6 Figure 6.7 Figure 6.8 Figure 6.9 Figure 6.10 Figure 6.11 Figure 6.13 Figure 8.1 Figure 8.2 Figure 8.3 Figure 9.1 Figure 9.2 Figure 9.3 Figure 9.4 Figure 9.5 Figure 9.6 Block Diagram (USB3331, USB3336, and USB3338) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Block Diagram (USB3330) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Block Diagram (USB3333) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 USB3331, USB3336, and USB3338 Ball Locations - Top View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 USB3330 Ball Locations - Top View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 USB3333 Ball Locations - Top View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 USB333x System Diagram (USB3331, USB3336, and USB3338). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 USB333x System Diagram (USB3330) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 USB333x System Diagram (USB3333) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Configuring the USB333x for ULPI Clock Output Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Configuring the USB333x for ULPI Clock Input Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Example of circuit used to shift a reference clock common-mode voltage level. . . . . . . . . . . . . . . . . . . 38 Powering the USB333x from VBUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 ULPI Start-up Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 USB333x ID Resistor Detection Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 USB333x OTG VBUS Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 USB Charger Detection Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 ULPI Digital Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 ULPI Single Data Rate Timing Diagram in Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 ULPI Register Write in Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 ULPI Extended Register Write in Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 ULPI Register Read in Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 ULPI Extended Register Read in Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 ULPI RXCMD Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 ULPI Receive in Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 ULPI Transmit in Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 LPM Token Transmit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Entering Low Power Mode from Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Exiting Low Power Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 USB333x Device Application Diagram (Configured for ULPI Clock Output Mode). . . . . . . . . . . . . . . . . 89 USB3330 OTG Application Diagram (Configured for ULPI Clock Input Mode). . . . . . . . . . . . . . . . . . . . 90 USB3333 Host Application Diagram (Configured for ULPI Clock Output Mode) . . . . . . . . . . . . . . . . . . 91 25WLCSP, 1.97x1.97mm Body, 0.4mm Pitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 25WLCSP, 1.97x1.97 Tape and Reel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 25WLCSP, 1.97x1.97 Reel Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 25WLCSP, 1.97x1.97 Tape Sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Reflow Profile and Critical Parameters for Lead-free (SnAgCu) Solder . . . . . . . . . . . . . . . . . . . . . . . . . 96 Package Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Revision 1.3 (11-20-12) 6 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet List of Tables Table 2.1 Table 2.2 Table 2.3 Table 3.1 Table 3.2 Table 4.1 Table 4.2 Table 4.3 Table 4.4 Table 4.5 Table 4.6 Table 4.7 Table 4.8 Table 4.9 Table 4.10 Table 4.11 Table 4.12 Table 4.13 Table 5.1 Table 5.2 Table 5.3 Table 5.4 Table 5.5 Table 5.6 Table 5.7 Table 5.8 Table 5.9 Table 5.10 Table 6.1 Table 6.2 Table 6.3 Table 6.4 Table 6.5 Table 6.6 Table 6.7 Table 6.8 Table 6.9 Table 6.10 Table 6.11 Table 6.12 Table 6.13 Table 7.1 Table 8.1 Table 8.2 Table 10.1 USB3331, USB3336, and USB3338 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 USB3330 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 USB3333 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Recommended Operating Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Operating Current (USB3330, USB3331, USB3336, and USB3338) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Operating Current (USB3333) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Clock Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 ULPI Interface Timing (USB333x) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Digital IO Characteristics: RESETB, STP, DIR, NXT, DATA[7:0], and REFCLK Pins . . . . . . . . . . . . . . . 24 DC Characteristics: Analog I/O Pins (DP/DM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Dynamic Characteristics: Analog I/O Pins (DP/DM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 VBUS Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ID Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 USB Audio Switch Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 USB Charger Detection Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Regulator Output Voltages and Capacitor Requirement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ESD and Latch-Up Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 DP/DM Termination vs. Signaling Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 REF[1:0] vs. required frequency at REFCLK (USB3330) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 REF[0] vs. required frequency at REFCLK (USB3333) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Operating Mode vs. Power Supply Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Valid Values of ID Resistance to Ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 IdGnd and IdFloat vs. ID Resistance to Ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 External VBUS Indicator Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Required RVBUS Resistor Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 USB Charger Setting vs. Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 USB Weak Pull-up Enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 ULPI Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 ULPI TX CMD Byte Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 ULPI RX CMD Encoding. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 USB Linestate Decoding in FS and LS Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 USB Linestate Decoding in HS Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 USB Linestate Decoding in HS Chirp Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Interface Signal Mapping During Low Power Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Pin Definitions in 3 pin Serial Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Pin Definitions in 6 pin Serial Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Pin Definitions in Carkit Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 ULPI Register Programming Example to Enter UART Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 ULPI Register Programming Example to Enter Audio Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Pin Definitions in Headset Audio Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 ULPI Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Component Values in Application Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Capacitance Values at VBUS of USB Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Customer Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 SMSC USB333x 7 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Chapter 1 General Description SMSC's USB333x is a family of High Speed USB 2.0 Transceivers that provides a physical layer (PHY) solution well-suited for portable electronic devices. Both commercial and industrial temperature applications are supported. Each model in the USB333x family may use a 60MHz reference clock or the model-number specific reference clock shown in Order Numbers: on page 2. The USB3330 and USB3333 can support several different frequencies driven on the REFCLK pin. The configuration of the frequency selection pins set the desired reference frequency. Several advanced features make the USB333x the transceiver of choice by reducing both eBOM part count and printed circuit board (PCB) area. Outstanding ESD robustness eliminates the need for external ESD protection devices in typical applications. The internal Over-Voltage Protection circuit (OVP) protects the USB333x from voltages up to 30V on the VBUS pin. By using a reference clock from the Link, the USB333x removes the cost of a dedicated crystal reference from the design. The USB333x includes integrated 3.3V and 1.8V regulators, making it possible to operate the device from a single power supply. The USB333x is optimized for use in portable applications where a low operating current and standby current is essential. The USB333x also supports the Link Power Management protocol (LPM) to further reduce USB operating currents. The USB333x also includes integrated battery charger detection circuitry. These circuits are used to detect the attachment of a USB Charger as described in Section 5.8. By sensing the attachment to a USB Charger, a product using the USB333x can draw more than 500mA from the USB connector. The USB333x meets all of the electrical requirements for a High Speed USB Host, Device, or an Onthe-Go (OTG) transceiver. In addition to the supporting USB signaling, the USB333x also provides USB UART mode and, in versions with the integrated USB switch, USB Audio mode. USB333x uses the industry standard UTMI+ Low Pin Interface (ULPI) to connect the USB PHY to the Link. ULPI uses a method of in-band signaling and status byte transfers between the Link and PHY to facilitate a USB session with only twelve pins. The USB333x uses SMSC's "wrapper-less" technology to implement the ULPI interface. This "wrapperless" technology allows the PHY to achieve a low latency transmit and receive time. SMSC's low latency transceiver allows an existing UTMI Link to be reused by adding a UTMI to ULPI bridge. By adding a bridge to the ASIC the existing and proven UTMI Link IP can be reused. Versions of the USB333x with the integrated USB switch enable a single USB port of connection. Revision 1.3 (11-20-12) 8 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet REFCLK OVP ID DP ESD Protection VBUS DM Low Jitter Integrated PLL OTG Hi-Speed USB Transceiver ULPI Registers and State Machine SPK_R SPK_L USB DP/DM Switch BIAS RBIAS Integrated Power Management RESETB VBAT VDD33 VDD18 ULPI Interface STP NXT DIR CLKOUT DATA[7:0] Figure 1.1 Block Diagram (USB3331, USB3336, and USB3338) In USB Audio mode, a switch connects the DP pin to the SPK_R pin, and another switch connects he DM pin to the SPK_L pin. These switches are shown in the lower left-hand corner of Figure 5.1.The USB333x can be configured to enter USB Audio mode as described in Section 6.7.2. In addition, these switches are on when the RESETB pin of the USB333x is asserted. The USB Audio mode enables audio signaling from a single USB port of connection, and the switches may also be used to connect Full Speed USB from another transceiver to the USB connector. SMSC USB333x 9 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation OVP ID DP Low Jitter Integrated PLL OTG ESD Protection VBUS Hi-Speed USB Transceiver DM REF[1:0] REFCLK Datasheet ULPI Registers and State Machine BIAS RBIAS Integrated Power Management RESETB VBAT VDD33 VDD18 ULPI Interface STP NXT DIR CLKOUT DATA[7:0] OVP ID DP ESD Protection VBUS DM REF[0] REFCLK Figure 1.2 Block Diagram (USB3330) Low Jitter Integrated PLL OTG Hi-Speed USB Transceiver ULPI Registers and State Machine BIAS Integrated Power Management RBIAS RESETB VBAT VDD33 VDD18 VDDIO ULPI Interface STP NXT DIR CLKOUT DATA[7:0] Figure 1.3 Block Diagram (USB3333) Revision 1.3 (11-20-12) 10 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet The USB333x includes an integrated 3.3V LDO regulator that is used to generate 3.3V from power applied to the VBAT pin. The voltage on the VBAT pin can range from 3.0 to 5.5V. The regulator dropout voltage is less than 100mV which allows the PHY to continue USB signaling when the voltage on VBAT drops to 3.0V. The USB transceiver will continue to operate at lower voltages, although some parameters may be outside the limits of the USB-IF specification for Full Speed USB operation. The VBAT and VDD33 pins should never be connected together. In USB UART mode, the USB333x DP and DM pins are redefined to enable pass-through of asynchronous serial data. The USB333x will enter UART mode when programmed, as described in Section 6.7.1. SMSC USB333x 11 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Chapter 2 USB333x Pin Locations and Definitions 2.1 USB333x Ball Locations and Descriptions 2.1.1 Package Diagram with Ball Locations The illustration below is viewed from the top of the package. 1 2 3 4 5 A RBIAS REFCLK STP DIR CLKOUT B ID RESETB VDD18 DATA[0] NXT C VBAT VBUS GND DATA[2] DATA[1] D DM VDD33 DATA[7] DATA[4] DATA[3] E DP SPK_R SPK_L DATA[6] DATA[5] TOP VIEW Figure 2.1 USB3331, USB3336, and USB3338 Ball Locations - Top View Revision 1.3 (11-20-12) 12 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 1 2 3 4 5 A RBIAS REFCLK STP DIR CLKOUT B ID RESETB VDD18 DATA[0] NXT C VBAT VBUS GND DATA[2] DATA[1] D DM VDD33 DATA[7] DATA[4] DATA[3] E DP REF[0] REF[1] DATA[6] DATA[5] TOP VIEW Figure 2.2 USB3330 Ball Locations - Top View 1 2 3 4 5 A RBIAS REFCLK STP DIR CLKOUT B ID VDD18 VDDIO DATA[0] NXT C VBAT RESETB GND DATA[2] DATA[1] D DM VBUS VDD33 DATA[4] DATA[3] E DP REF[0] DATA[7] DATA[6] DATA[5] TOP VIEW Figure 2.3 USB3333 Ball Locations - Top View SMSC USB333x 13 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 2.1.2 Ball Definitions The following table details the ball definitions for the figure above. Table 2.1 USB3331, USB3336, and USB3338 Pin Description DIRECTION/ TYPE ACTIVE LEVEL ID Input, Analog N/A For device applications the ID pin is connected to VDD33. For Host applications ID is grounded. For OTG applications the ID pin is connected to the USB connector. C2 VBUS I/O, Analog N/A This pin is used for the VBUS comparator inputs and for VBUS pulsing during session request protocol. An external resistor, RVBUS, is required between this pin and the USB connector. C1 VBAT Power N/A Regulator input. The regulator supply can be from 5.5V to 3.0V. D2 VDD33 Power N/A 3.3V Regulator Output. A 1.0uF (<1 ohm ESR) bypass capacitor to ground is required for regulator stability. The bypass capacitor should be placed as close as possible to the USB333x. D1 DM I/O, Analog N/A D- pin of the USB cable. E1 DP I/O, Analog N/A D+ pin of the USB cable. E2 SPK_R I/O, Analog N/A USB switch in/out for DP signals. E3 SPK_L I/O, Analog N/A USB switch in/out for DM signals. D3 DATA[7] I/O, CMOS N/A ULPI bi-directional data bus. DATA[7] is the MSB. E4 DATA[6] I/O, CMOS N/A ULPI bi-directional data bus. E5 DATA[5] I/O, CMOS N/A ULPI bi-directional data bus. D4 DATA[4] I/O, CMOS N/A ULPI bi-directional data bus. A5 CLKOUT Output, CMOS N/A ULPI Clock Out Mode: 60MHz ULPI clock output. All ULPI signals are driven synchronous to the rising edge of this clock. ULPI Clock In Mode: Connect this pin to VDD18 to configure 60MHz ULPI Clock IN mode as described in Section 5.4.1. D5 DATA[3] I/O, CMOS N/A ULPI bi-directional data bus. C4 DATA[2] I/O, CMOS N/A ULPI bi-directional data bus. C5 DATA[1] I/O, CMOS N/A ULPI bi-directional data bus. BALL NAME B1 Revision 1.3 (11-20-12) 14 DESCRIPTION DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 2.1 USB3331, USB3336, and USB3338 Pin Description (continued) DIRECTION/ TYPE ACTIVE LEVEL DATA[0] I/O, CMOS N/A ULPI bi-directional data bus. DATA[0] is the LSB. B5 NXT Output, CMOS High The PHY asserts NXT to throttle the data. When the Link is sending data to the PHY, NXT indicates when the current byte has been accepted by the PHY. A4 DIR Output, CMOS N/A Controls the direction of the data bus. When the PHY has data to transfer to the Link, it drives DIR high to take ownership of the bus. When the PHY has no data to transfer it drives DIR low and monitors the bus for commands from the Link. A3 STP Input, CMOS High The Link asserts STP for one clock cycle to stop the data stream currently on the bus. If the Link is sending data to the PHY, STP indicates the last byte of data was on the bus in the previous cycle. B3 VDD18 Power N/A 1.8V Regulator Output. A 1.0uF (<1 ohm ESR) bypass capacitor to ground is required for regulator stability. The bypass capacitor should be placed as close as possible to the USB333x. B2 RESETB Input, CMOS, Low When low, the part is suspended and the 3.3V and 1.8V regulators are disabled. When high, the USB333x will operate as a normal ULPI device, as described in Section 5.5.1. The state of this pin may be changed asynchronously to the clock signals. When asserted for a minimum of 1 microsecond and then de-asserted, the ULPI registers are reset to their default state and all internal state machines are reset. A2 REFCLK Input, CMOS N/A ULPI Clock Out Mode: Model-specific reference clock. See Order Numbers: on page 2. ULPI Clock In Mode: 60MHz ULPI clock input. A1 RBIAS Analog, CMOS N/A Bias Resistor pin. This pin requires an 8.06k (1%) resistor to ground, placed as close as possible to the USB333x. Nominal voltage during ULPI operation is 0.8V. C3 GND Ground N/A Ground. BALL NAME B4 DESCRIPTION Table 2.2 USB3330 Pin Description DIRECTION/ TYPE ACTIVE LEVEL ID Input, Analog N/A For device applications the ID pin is connected to VDD33. For Host applications ID is grounded. For OTG applications the ID pin is connected to the USB connector. VBUS I/O, Analog N/A This pin is used for the VBUS comparator inputs and for VBUS pulsing during session request protocol. An external resistor, RVBUS, is required between this pin and the USB connector. BALL NAME B1 C2 SMSC USB333x 15 DESCRIPTION DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 2.2 USB3330 Pin Description (continued) BALL NAME DIRECTION/ TYPE ACTIVE LEVEL C1 VBAT Power N/A Regulator input. The regulator supply can be from 5.5V to 3.0V. D2 VDD33 Power N/A 3.3V Regulator Output. A 1.0uF (<1 ohm ESR) bypass capacitor to ground is required for regulator stability. The bypass capacitor should be placed as close as possible to the USB333x. D1 DM I/O, Analog N/A D- pin of the USB cable. E1 DP I/O, Analog N/A D+ pin of the USB cable. E2 REF[0] I/O, Digital 3.3V N/A Used to select REFCLK frequency. Connect to ground or VDD33. Refer to Table 5.1 for frequency selection options. E3 REF[1] I/O, Digital 3.3V N/A Used to select REFCLK frequency. Connect to ground or VDD33. Refer to Table 5.1 for frequency selection options. D3 DATA[7] I/O, CMOS N/A ULPI bi-directional data bus. DATA[7] is the MSB. E4 DATA[6] I/O, CMOS N/A ULPI bi-directional data bus. E5 DATA[5] I/O, CMOS N/A ULPI bi-directional data bus. D4 DATA[4] I/O, CMOS N/A ULPI bi-directional data bus. A5 CLKOUT Output, CMOS N/A ULPI Clock Out Mode: 60MHz ULPI clock output. All ULPI signals are driven synchronous to the rising edge of this clock. ULPI Clock In Mode: Connect this pin to VDD18 to configure 60MHz ULPI Clock IN mode as described in Section 5.4.1. D5 DATA[3] I/O, CMOS N/A ULPI bi-directional data bus. C4 DATA[2] I/O, CMOS N/A ULPI bi-directional data bus. C5 DATA[1] I/O, CMOS N/A ULPI bi-directional data bus. B4 DATA[0] I/O, CMOS N/A ULPI bi-directional data bus. DATA[0] is the LSB. B5 NXT Output, CMOS High The PHY asserts NXT to throttle the data. When the Link is sending data to the PHY, NXT indicates when the current byte has been accepted by the PHY. A4 DIR Output, CMOS N/A Controls the direction of the data bus. When the PHY has data to transfer to the Link, it drives DIR high to take ownership of the bus. When the PHY has no data to transfer it drives DIR low and monitors the bus for commands from the Link. Revision 1.3 (11-20-12) 16 DESCRIPTION DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 2.2 USB3330 Pin Description (continued) DIRECTION/ TYPE ACTIVE LEVEL STP Input, CMOS High The Link asserts STP for one clock cycle to stop the data stream currently on the bus. If the Link is sending data to the PHY, STP indicates the last byte of data was on the bus in the previous cycle. B3 VDD18 Power N/A 1.8V Regulator Output. A 1.0uF (<1 ohm ESR) bypass capacitor to ground is required for regulator stability. The bypass capacitor should be placed as close as possible to the USB333x. B2 RESETB Input, CMOS, Low When low, the part is suspended and the 3.3V and 1.8V regulators are disabled. When high, the USB333x will operate as a normal ULPI device, as described in Section 5.5.1. The state of this pin may be changed asynchronously to the clock signals. When asserted for a minimum of 1 microsecond and then de-asserted, the ULPI registers are reset to their default state and all internal state machines are reset. A2 REFCLK Input, CMOS N/A ULPI Clock Out Mode: Frequency set by REF[1:0] pins. ULPI Clock In Mode: 60MHz ULPI clock input. A1 RBIAS Analog, CMOS N/A Bias Resistor pin. This pin requires an 8.06k (1%) resistor to ground, placed as close as possible to the USB333x. Nominal voltage during ULPI operation is 0.8V. C3 GND Ground N/A Ground. BALL NAME A3 DESCRIPTION Table 2.3 USB3333 Pin Description DIRECTION/ TYPE ACTIVE LEVEL ID Input, Analog N/A For device applications the ID pin is connected to VDD33. For Host applications ID is grounded. For OTG applications the ID pin is connected to the USB connector. D2 VBUS I/O, Analog N/A This pin is used for the VBUS comparator inputs and for VBUS pulsing during session request protocol. An external resistor, RVBUS, is required between this pin and the USB connector. C1 VBAT Power N/A Regulator input. The regulator supply can be from 5.5V to 3.0V. D3 VDD33 Power N/A 3.3V Regulator Output. A 1.0uF (<1 ohm ESR) bypass capacitor to ground is required for regulator stability. The bypass capacitor should be placed as close as possible to the USB333x. D1 DM I/O, Analog N/A D- pin of the USB cable. E1 DP I/O, Analog N/A D+ pin of the USB cable. BALL NAME B1 SMSC USB333x 17 DESCRIPTION DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 2.3 USB3333 Pin Description (continued) DIRECTION/ TYPE ACTIVE LEVEL REF[0] I/O, Digital 3.3V N/A Used to select REFCLK frequency. Connect to ground or VDD33. Refer to Table 5.2 for frequency selection options. B3 VDDIO Power N/A ULPI interface supply voltage. When RESETB is low and VDDIO is powered on, ULPI pins will tri-state. E3 DATA[7] I/O, CMOS N/A ULPI bi-directional data bus. DATA[7] is the MSB. E4 DATA[6] I/O, CMOS N/A ULPI bi-directional data bus. E5 DATA[5] I/O, CMOS N/A ULPI bi-directional data bus. D4 DATA[4] I/O, CMOS N/A ULPI bi-directional data bus. A5 CLKOUT Output, CMOS N/A ULPI Clock Out Mode: 60MHz ULPI clock output. All ULPI signals are driven synchronous to the rising edge of this clock. ULPI Clock In Mode: Connect this pin to VDDIO to configure 60MHz ULPI Clock IN mode as described in Section 5.4.1. D5 DATA[3] I/O, CMOS N/A ULPI bi-directional data bus. C4 DATA[2] I/O, CMOS N/A ULPI bi-directional data bus. C5 DATA[1] I/O, CMOS N/A ULPI bi-directional data bus. B4 DATA[0] I/O, CMOS N/A ULPI bi-directional data bus. DATA[0] is the LSB. B5 NXT Output, CMOS High The PHY asserts NXT to throttle the data. When the Link is sending data to the PHY, NXT indicates when the current byte has been accepted by the PHY. A4 DIR Output, CMOS N/A Controls the direction of the data bus. When the PHY has data to transfer to the Link, it drives DIR high to take ownership of the bus. When the PHY has no data to transfer it drives DIR low and monitors the bus for commands from the Link. A3 STP Input, CMOS High The Link asserts STP for one clock cycle to stop the data stream currently on the bus. If the Link is sending data to the PHY, STP indicates the last byte of data was on the bus in the previous cycle. B2 VDD18 Power N/A 1.8V Regulator Output. A 1.0uF (<1 ohm ESR) bypass capacitor to ground is required for regulator stability. The bypass capacitor should be placed as close as possible to the USB333x. BALL NAME E2 Revision 1.3 (11-20-12) 18 DESCRIPTION DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 2.3 USB3333 Pin Description (continued) DIRECTION/ TYPE ACTIVE LEVEL RESETB Input, CMOS, Low When low, the part is suspended and the 3.3V and 1.8V regulators are disabled. When high, the USB333x will operate as a normal ULPI device, as described in Section 5.5.1. The state of this pin may be changed asynchronously to the clock signals. When asserted for a minimum of 1 microsecond and then de-asserted, the ULPI registers are reset to their default state and all internal state machines are reset. A2 REFCLK Input, CMOS N/A ULPI Clock Out Mode: Frequency set by REF[0] pin. ULPI Clock In Mode: 60MHz ULPI clock input. A1 RBIAS Analog, CMOS N/A Bias Resistor pin. This pin requires an 8.06k (1%) resistor to ground, placed as close as possible to the USB333x. Nominal voltage during ULPI operation is 0.8V. C3 GND Ground N/A Ground. BALL NAME C2 SMSC USB333x 19 DESCRIPTION DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Chapter 3 Limiting Values 3.1 Absolute Maximum Ratings Table 3.1 Absolute Maximum Ratings PARAMETER SYMBOL VBUS, VBAT, ID, DP, DM, SPK_L, and SPK_R voltage to GND VMAX_5V Maximum VDD18 voltage to Ground CONDITIONS MIN Voltage measured at pin. VBUS tolerant to 30V with external RVBUS. TYP MAX UNITS -0.5 +6.0 V VMAX_18V -0.5 2.5 V Maximum VDD33 voltage to Ground VMAX_33V -0.5 4.0 V Maximum VDDIO voltage to Ground (USB3333) VMAX_IOV -0.5 4.0 Maximum I/O voltage to Ground (USB3330, USB3331, USB3336, and USB3338) VMAX_IN -0.5 2.5 Maximum I/O voltage to Ground (USB3333) VMAX_IN -0.5 VDDIO + 0.7 Operating Temperature TMAX_OP -40 85 C Storage Temperature TMAX_STG -55 150 C V Note: Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 3.2 Recommended Operating Conditions Table 3.2 Recommended Operating Conditions PARAMETER SYMBOL CONDITIONS MIN VBAT to GND VBAT 3.0 VDD33 to GND VDD33 3.0 VDD18 to GND VDD18 VDDIO to GND Input Voltage on Digital Pins (RESETB, STP, DIR, NXT, DATA[7:0]) (USB3330, USB3331, USB3336, and USB3338) Revision 1.3 (11-20-12) TYP MAX UNITS 5.5 V 3.3 3.6 V 1.6 1.8 2.0 V VDDIO 1.6 1.8-3.3 3.6 V VI 0.0 VDD18 V 20 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 3.2 Recommended Operating Conditions (continued) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS Input Voltage on Digital Pins (RESETB, STP, DIR, NXT, DATA[7:0]) (USB3333) VI 0.0 VDDIO V Voltage on Analog I/O Pins (DP, DM, ID, SPK_L, SPK_R) VI(I/O) 0.0 VDD33 V VBUS to GND VVMAX 0.0 5.5 Ambient Temperature TA -40 85 SMSC USB333x 21 DATASHEET C Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Chapter 4 Electrical Characteristics The following conditions are assumed unless otherwise specified: VBAT = 3.0 to 5.5V; VDDIO = 1.6 to 3.6V; VSS = 0V; TA = -40C to +85C 4.1 Operating Current Table 4.1 Operating Current (USB3330, USB3331, USB3336, and USB3338) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS Synchronous Mode Current (Default Configuration) IVBAT(SYNC) USB Idle 21 22 26 mA Synchronous Mode Current (HS USB operation) IVBAT(HS) Active USB Transfer 33 36 40 mA Synchronous Mode Current (FS/LS USB operation) IVBAT(FS) Active USB Transfer 27 28 32 mA Serial Mode Current (FS/LS USB) Note 4.1 IVBAT(FS_S) 5 7 8 mA USB UART Current Note 4.1 IVBAT(UART) 6 7 8 mA USB Audio Mode Note 4.2 IVBAT(AUDIO) VVBAT = 4.2V 58 68 114 uA Low Power Mode Note 4.2 IVBAT(SUSPEND) VVBAT = 4.2V 27 31 71 uA RESET Mode IVBAT(RSTB) RESETB = 0 VVBAT = 4.2V 0.1 1.5 10 uA Note 4.1 ClockSuspendM bit = 0. Note 4.2 SessEnd, VbusVld, and IdFloat comparators disabled. STP Interface protection disabled. Table 4.2 Operating Current (USB3333) PARAMETER Synchronous Mode Current (Default Configuration) Synchronous Mode Current (HS USB operation) Synchronous Mode Current (FS/LS USB operation) Serial Mode Current (FS/LS USB) Note 4.1 Revision 1.3 (11-20-12) SYMBOL MIN TYP MAX 20 22 24 mA 2 3 8.5 mA 29 31 35 mA 5 8 17 mA 22 23 30 mA IVIO(FS) 5 9 16 mA IVBAT(FS_S) 6 7 8 mA IVIO(FS_S) 0 0.1 0.5 mA IVBAT(SYNC) CONDITIONS USB Idle IVIO(SYNC) IVBAT(HS) Active USB Transfer IVIO(HS) IVBAT(FS) Active USB Transfer 22 DATASHEET UNITS SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 4.2 Operating Current (USB3333) (continued) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS USB UART Current Note 4.1 IVBAT(UART) 6 7 8 mA IVIO(UART) 0 0.1 0.5 mA Low Power Mode Note 4.2 Note 4.3 IVBAT(SUSPEND) VVBAT = 4.2V VVDDIO = 1.8V 28 32 60 uA 0 0 2 uA RESET Mode Note 4.3 IVBAT(RSTB) RESETB = 0 VVBAT = 4.2V VVDDIO = 1.8V 0.1 1.6 7 uA 0 0.1 3 uA IVIO(RSTB) Note 4.3 4.2 IVIO(SUSPEND) REFCLK is OFF. Clock Specifications The model number for each frequency of REFCLK is provided in Order Numbers: on page 2. Table 4.3 Clock Specifications PARAMETER Suspend Recovery Time SYMBOL CONDITIONS MIN TYP MAX UNITS 1.1 1.2 ms 150 uS 1.2 ms TSTART LPM Enable = 0 1.0 TSTART_LPM LPM Enable = 1 125 PHY Preparation Time 60MHz REFCLK TPREP LPM Enable = 0 1.0 TPREP_LPM LPM Enable = 1 125 150 uS CLKOUT Duty Cycle DCCLKOUT 45 55 % REFCLK Duty Cycle DCREFCLK 20 80 % REFCLK Frequency Accuracy FREFCLK -500 +500 1.1 PPM Note: TSTART and TPREP are measured from the time when REFCLK and RESETB are both valid to when the USB333x de-asserts DIR. Note: The USB333x uses the AutoResume feature, Section 6.4.1.4, to allow a host start-up time of less than 1ms 4.3 ULPI Interface Timing Table 4.4 ULPI Interface Timing (USB333x) PARAMETER SYMBOL CONDITIONS MIN MAX UNITS Setup time (STP, data in) TSC, TSD Model-specific REFCLK 5.0 ns Hold time (STP, data in) THC, THD Model-specific REFCLK 0.0 ns Output delay (control out, 8-bit data out) TDC, TDD Model-specific REFCLK 60MHz ULPI Output Clock Note 4.4 SMSC USB333x 23 DATASHEET 6.0 ns Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 4.4 ULPI Interface Timing (USB333x) (continued) PARAMETER SYMBOL CONDITIONS MIN MAX UNITS 60MHz ULPI Input Clock Setup time (STP, data in) TSC, TSD 60MHz REFCLK 3.0 ns Hold time (STP, data in) THC, THD 60MHz REFCLK 0.0 ns Output delay (control out, 8-bit data out) TDC, TDD 60Mhz REFCLK 6.0 ns Note: CLoad = 10pF. Note 4.4 4.4 REFCLK does not need to be aligned in any way to the ULPI signals. Digital IO Pins Table 4.5 Digital IO Characteristics: RESETB, STP, DIR, NXT, DATA[7:0], and REFCLK Pins PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS VSS 0.4 * VDD18 V VSS 0.4 * VDDIO V Low-Level Input Voltage (USB3330, USB3331, USB3336, and USB3338) VIL Low-Level Input Voltage (USB3333) VIL High-Level Input Voltage (USB3330, USB3331, USB3336, and USB3338) VIH 0.68 * VDD18 VDD18 V High-Level Input Voltage (USB3333) VIH 0.68 * VDDIO VDDIO V High-Level Input Voltage REFCLK and RESETB (USB3330, USB3331, USB3336, and USB3338) VIH_REF 0.68 * VDD18 VDD33 V High-Level Input Voltage REFCLK and RESETB (USB3333) VIH_REF 0.68 * VDDIO VDD33 V Low-Level Output Voltage VOL IOL = 8mA 0.4 V High-Level Output Voltage (USB3330, USB3331, USB3336, and USB3338) VOH IOH = -8mA VDD18 - 0.4 V High-Level Output Voltage (USB3333) VOH IOH = -8mA VDDIO 0.4 V Output rise time TIORISE CLOAD = 10pF 1.19 nS Output fall time TIOFALL CLOAD = 10pF 1.56 nS Input Leakage Current ILI Pin Capacitance Cpin STP pull-up resistance RSTP Revision 1.3 (11-20-12) Note 4.5 InterfaceProtectDisable = 0 24 DATASHEET 55 67 10 uA 2 pF 77 k SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 4.5 Digital IO Characteristics: RESETB, STP, DIR, NXT, DATA[7:0], and REFCLK Pins (continued) PARAMETER SYMBOL CONDITIONS MIN TYP MAX DATA[7:0] pull-down resistance RDATA_PD ULPI Synchronous Mode 55 67 80 k CLKOUT External Drive (USB3330, USB3331, USB3336, and USB3338) VIH_ED At start-up or following reset 0.4 * VDD18 V CLKOUT External Drive (USB3333) VIH_ED At start-up or following reset 0.4 * VDDIO V MAX UNITS Note 4.5 4.5 UNITS MAX VIL for USB3333 not to exceed 0.8V. DC Characteristics: Analog I/O Pins Table 4.6 DC Characteristics: Analog I/O Pins (DP/DM) PARAMETER SYMBOL CONDITIONS MIN TYP LS/FS FUNCTIONALITY Input levels Differential Receiver Input Sensitivity VDIFS Differential Receiver Common-Mode Voltage VCMFS Single-Ended Receiver Low Level Input Voltage VILSE Note 4.7 Single-Ended Receiver High Level Input Voltage VIHSE Note 4.7 Single-Ended Receiver Hysteresis VHYSSE | V(DP) - V(DM) | 0.2 V 0.8 2.5 V 0.8 V 2.0 V 0.050 0.150 V 0.3 V 3.6 V 49.5 Output Levels Low Level Output Voltage VFSOL Pull-up resistor on DP; RL = 1.5k to VDD33 High Level Output Voltage VFSOH Pull-down resistor on DP, DM; Note 4.7 RL = 15k to GND 2.8 Driver Output Impedance for HS ZHSDRV Steady state drive 40.5 Input Impedance ZINP RX, RPU, RPD disabled 1.0 Pull-up Resistor Impedance RPU Bus Idle, Note 4.6 0.900 1.24 1.575 k Pull-up Resistor Impedance RPU Device Receiving, Note 4.6 1.425 2.26 3.09 k Pull-dn Resistor Impedance RPD Note 4.6 14.25 16.9 20 k Termination SMSC USB333x 25 DATASHEET 45 M Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 4.6 DC Characteristics: Analog I/O Pins (DP/DM) (continued) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS HS FUNCTIONALITY Input levels HS Differential Input Sensitivity VDIHS HS Data Signaling Common Mode Voltage Range VCMHS HS Squelch Detection Threshold (Differential) VHSSQ HS Disconnect Threshold VHSDSC | V(DP) - V(DM) | VariSense[1:0] = 00b Note 4.8 100 mV -50 500 mV 100 150 mV 525 625 mV Output Levels High Speed Low Level Output Voltage (DP/DM referenced to GND) VHSOL 45 load -10 10 mV High Speed High Level Output Voltage (DP/DM referenced to GND) VHSOH 45 load 360 440 mV High Speed IDLE Level Output Voltage (DP/DM referenced to GND) VOLHS 45 load -10 10 mV Chirp-J Output Voltage (Differential) VCHIRPJ HS termination resistor disabled, pull-up resistor connected. 45 load. 700 1100 mV Chirp-K Output Voltage (Differential) VCHIRPK HS termination resistor disabled, pull-up resistor connected. 45 load. -900 -500 mV 10 uA 10 pF Leakage Current OFF-State Leakage Current ILZ Port Capacitance Transceiver Input Capacitance CIN Pin to GND 5 Note 4.6 The resistor value follows the 27% Resistor ECN published by the USB-IF. Note 4.7 The values shown are valid when the USB RegOutput bits in the USB IO & Power Management register are set to the default value. Note 4.8 An automatic waiver up to 200mV is granted to accommodate system-level elements such as measurement/test fixtures, captive cables, EMI components, and ESD suppression. This parameter can be tuned using VariSense technology, as defined in the HS Compensation Register section of Chapter 7. Revision 1.3 (11-20-12) 26 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 4.6 Dynamic Characteristics: Analog I/O Pins Table 4.7 Dynamic Characteristics: Analog I/O Pins (DP/DM) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS FS Output Driver Timing FS Rise Time TFR CL = 50pF; 10 to 90% of |VOH - VOL| 4 20 ns FS Fall Time TFF CL = 50pF; 10 to 90% of |VOH - VOL| 4 20 ns Output Signal Crossover Voltage VCRS Excluding the first transition from IDLE state 1.3 2.0 V Differential Rise/Fall Time Matching TFRFM Excluding the first transition from IDLE state 90 111.1 % LS Rise Time TLR CL = 50-600pF; 10 to 90% of |VOH - VOL| 75 300 ns LS Fall Time TLF CL = 50-600pF; 10 to 90% of |VOH - VOL| 75 300 ns Differential Rise/Fall Time Matching TLRFM Excluding the first transition from IDLE state 80 125 % LS Output Driver Timing HS Output Driver Timing Differential Rise Time THSR 500 ps Differential Fall Time THSF 500 ps Driver Waveform Requirements Eye pattern of Template 1 in USB 2.0 specification High Speed Mode Timing Receiver Waveform Requirements Eye pattern of Template 4 in USB 2.0 specification Data Source Jitter and Receiver Jitter Tolerance Eye pattern of Template 4 in USB 2.0 specification 4.7 VBUS Electrical Characteristics Table 4.8 VBUS Electrical Characteristics PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS SessEnd trip point VSessEnd 0.2 0.5 0.8 V SessVld trip point VSessVld 0.8 1.4 2.0 V VbusVld trip point VVbusVld 4.4 4.58 4.75 V SMSC USB333x 27 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 4.8 VBUS Electrical Characteristics (continued) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS VBUS Pull-Up RVPU VBUS to VDD33 Note 4.9 (ChargeVbus = 1) 1.29 1.34 1.45 k VBUS Pull-down RVPD VBUS to GND Note 4.9 (DisChargeVbus = 1) 1.55 1.7 1.85 k VBUS Impedance RVB VBUS to GND 40 75 100 k A-Device Impedance to ground RIdGnd Maximum Impedance to ground on ID pin 100 k Note 4.9 4.8 The RVPD and RVPU values include the required 1k external RVBUS resistor. ID Electrical Characteristics Table 4.9 ID Electrical Characteristics PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS ID Ground Trip Point VIdGnd 0.4 0.7 0.8 V ID Float Trip Point VIdFloat 1.6 2.2 2.5 V ID pull-up resistance RID IdPullup = 1 80 100 120 k ID weak pull-up resistance RIDW IdPullup = 0 1 ID pull-dn resistance RIDPD IdGndDrv = 1 4.9 M 1000 UNITS USB Audio Switch Characteristics Table 4.10 USB Audio Switch Characteristics PARAMETER SYMBOL CONDITIONS MIN TYP MAX Minimum "ON" Resistance RON_Min 0 < Vswitch < VDD33 2.7 5 5.8 Maximum "ON" Resistance RON_Max 0 < Vswitch < VDD33 4.5 7 13 Minimum "OFF" Resistance ROFF_Min 0 < Vswitch < VDD33 1 4.10 M USB Charger Detection Characteristics Table 4.11 USB Charger Detection Characteristics PARAMETER SYMBOL Data Source Voltage VDAT_SRC Data Detect Voltage Data Source Current Revision 1.3 (11-20-12) CONDITIONS IDAT_SRC < 250uA MIN TYP MAX UNITS 0.5 0.7 V VDAT_REF 0.25 0.4 V IDAT_SRC 250 28 DATASHEET uA SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 4.11 USB Charger Detection Characteristics (continued) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS Data Sink Current IDAT_SINK 50 150 uA Data Connect Current IDP_SRC 7 13 uA Weak Pull-up Resistor Impedance RCD 4.11 Configured by bits 4 and 5 in USB IO & Power Management register. 128 170 212 k Regulator Output Voltages and Capacitor Requirement Table 4.12 Regulator Output Voltages and Capacitor Requirement PARAMETER SYMBOL Regulator Output Voltage VDD33 Regulator Bypass Capacitor COUT33 Bypass Capacitor ESR CESR33 Regulator Output Voltage VDD18 Regulator Bypass Capacitor COUT18 Bypass Capacitor ESR CESR18 4.12 CONDITIONS MIN TYP MAX 5.5V > VBAT > 3.0V 2.8 3.3 3.6 V USB UART Mode & UART RegOutput[1:0] = 01 5.5V > VBAT > 3.0V 2.7 3.0 3.3 V USB UART Mode & UART RegOutput[1:0] = 10 5.5V > VBAT > 3.0V 2.47 2.75 3.03 V USB UART Mode & UART RegOutput[1:0] = 11 5.5V > VBAT > 3.0V 2.25 2.5 2.75 V 1.0 3.6V > VDD33 > 2.8V UNITS uF 1.6 1.8 1 2.0 V 1.0 uF 1 ESD and Latch-Up Performance Table 4.13 ESD and Latch-Up Performance PARAMETER CONDITIONS MIN TYP MAX UNITS COMMENTS ESD PERFORMANCE Note 4.10, Note 4.11 Human Body Model 8 kV Device System EN/IEC 61000-4-2 Contact Discharge 25 kV 3rd party system test System EN/IEC 61000-4-2 Air-gap Discharge 25 kV 3rd party system test SMSC USB333x 29 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 4.13 ESD and Latch-Up Performance (continued) PARAMETER CONDITIONS MIN TYP MAX UNITS COMMENTS LATCH-UP PERFORMANCE All Pins EIA/JESD 78, Class II 150 mA Note 4.10 USB3331, USB3336, and USB3338: REFCLK, RESETB, VBUS, SPK_L and SPK_R pins: 5kV Human Body Model Note 4.11 USB3330 and USB3333: REFCLK, RESETB, VBUS, REF[1] and REF[0] pins: 5kV Human Body Model Revision 1.3 (11-20-12) 30 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Chapter 5 Architecture Overview The USB333x consists of the blocks shown in the diagram below. VDD18 Digital IO VDD33 DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 STP NXT DIR CLKOUT RESETB HS/FS/LS TX Encoding Integrated Low Jitter PLL REFCLK HS/FS/LS RX Decoding BIAS RID IdFloat Rid Value VDD33 SessValid RVPD LDO ULPI Digitial VbusValid Charger Detection RPU VDD33 RPU RCD VDD33 RCD VDD18 ESD Protection LDO RVB VBAT VDD33 SessEnd RX Data RVPU OVP VBUS TX Data ID OTG Module RIDW IdGnd TX DP RPD SPK_L RPD DM RX RBIAS SPK_R Figure 5.1 USB333x System Diagram (USB3331, USB3336, and USB3338) SMSC USB333x 31 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet VDD18 VDD33 RID Rid Value VDD33 SessValid RVPD LDO ULPI Digitial VbusValid Charger Detection REF[1] REF[0] RPU RPU VDD33 RCD VDD33 RCD VDD18 ESD Protection LDO RVB VBAT VDD33 SessEnd TX DP DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 STP NXT DIR CLKOUT RESETB RX Data RVPU OVP TX Data VBUS Digital IO IdFloat ID OTG Module RIDW IdGnd HS/FS/LS TX Encoding Integrated Low Jitter PLL HS/FS/LS RX Decoding BIAS REFCLK RPD RPD DM RX RBIAS Figure 5.2 USB333x System Diagram (USB3330) Revision 1.3 (11-20-12) 32 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet VDD33 RID Rid Value VDD33 SessEnd SessValid RVPD LDO VbusValid Charger Detection VDD33 REF[0] RPU RPU VDD33 RCD VDD18 RCD ESD Protection LDO VDD33 RVB VBAT ULPI Digitial VDDIO DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 STP NXT DIR CLKOUT RESETB RX Data RVPU OVP TX Data VBUS Digital IO IdFloat ID OTG Module RIDW IdGnd TX DP HS/FS/LS TX Encoding Integrated Low Jitter PLL HS/FS/LS RX Decoding BIAS REFCLK RPD RPD DM RX RBIAS Figure 5.3 USB333x System Diagram (USB3333) 5.1 ULPI Digital Operation and Interface This section of the USB333x is covered in detail in Chapter 6, ULPI Operation. 5.2 USB 2.0 High Speed Transceiver The blocks in the lower left-hand corner of Figure 5.1 interface to the DP/DM pins. 5.2.1 USB Transceiver The USB333x transceiver includes a Universal Serial Bus Specification Rev 2.0 compliant receiver and transmitter. The DP/DM signals in the USB cable connect directly to the receivers and transmitters. The receiver consists of receivers for HS and FS/LS mode. Depending on the mode, the selected receiver provides the serial data stream through the multiplexer to the RX Logic block. For HS mode support, the HS RX block contains a squelch circuit to insure that noise is not interpreted as data. The RX block also includes a single-ended receiver on each of the data lines to determine the correct FS linestate. Data from the Link is encoded, bit stuffed, serialized and transmitted onto the USB cable by the transmitter. Separate differential FS/LS and HS transmitters are included to support all modes. The USB333x TX block meets the HS signalling level requirements in the USB 2.0 Specification when the PCB traces from the DP and DM pins to the USB connector are correctly designed. In some SMSC USB333x 33 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet systems the proper 90 ohm differential impedance can not be maintained and it may be desirable to compensate for loss by adjusting the HS transmitter amplitude and this HS squelch threshold. The PHYBoost bits in the HS Compensation Register may be configured to adjust the HS transmitter amplitude at the DP and DM pins. The VariSense bits in the HS Compensation Register can also be used to lower the squelch threshold to compensate for losses on the PCB. To ensure proper operation of the USB transceiver the settings of Table 5.1 must be followed. 5.2.2 Termination Resistors The USB333x transceiver fully integrates all of the USB termination resistors on both DP and DM. This includes 1.5k pull-up resistors, 15k pull-down resistors and the 45 High Speed termination resistors. These resistors require no tuning or trimming by the Link. The state of the resistors is determined by the operating mode of the transceiver when operating in synchronous mode. The XcvrSelect[1:0], TermSelect and OpMode[1:0] bits in the Function Control register, and the DpPulldown and DmPulldown bits in the OTG Control register control the configuration of the termination resistors. All possible valid resistor combinations are shown in Table 5.1, and operation is guaranteed in only the configurations shown. If a ULPI Register Setting is configured that does not match a setting in the table, the transceiver operation is not guaranteed and the settings in the last row of Table 5.1 will be used. RPU_DP_EN activates the 1.5k DP pull-up resistor RPU_DM_EN activates the 1.5k DM pull-up resistor RPD_DP_EN activates the 15k DP pull-down resistor RPD_DM_EN activates the 15k DM pull-down resistor HSTERM_EN activates the 45 DP and DM High Speed termination resistors Table 5.1 DP/DM Termination vs. Signaling Mode RPD_DP_EN RPD_DM_EN HSTERM_EN Xb 01b Xb Xb 0b 0b 0b 0b 0b Power-up or VBUS < VSESSEND 01b 0b 00b 1b 1b 0b 0b 1b 1b 0b Host Chirp 00b 0b 10b 1b 1b 0b 0b 1b 1b 1b Host High Speed 00b 0b 00b 1b 1b 0b 0b 1b 1b 1b Host Full Speed X1b 1b 00b 1b 1b 0b 0b 1b 1b 0b Host HS/FS Suspend 01b 1b 00b 1b 1b 0b 0b 1b 1b 0b Host HS/FS Resume 01b 1b 10b 1b 1b 0b 0b 1b 1b 0b Host Low Speed 10b 1b 00b 1b 1b 0b 0b 1b 1b 0b TermSelect DmPulldown XXb DpPulldown Tri-State Drivers, Note 5.4 SIGNALING MODE OpMode[1:0] RPU_DM_EN USB333X TERMINATION RESISTOR SETTINGS RPU_DP_EN XcvrSelect[1:0] ULPI REGISTER SETTINGS General Settings Host Settings Revision 1.3 (11-20-12) 34 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 5.1 DP/DM Termination vs. Signaling Mode (continued) RPD_DP_EN RPD_DM_EN HSTERM_EN 1b 00b 1b 1b 0b 0b 1b 1b 0b Host LS Resume 10b 1b 10b 1b 1b 0b 0b 1b 1b 0b Host Test J/Test_K 00b 0b 10b 1b 1b 0b 0b 1b 1b 1b Peripheral Chirp 00b 1b 10b 0b 0b 1b 0b 0b 0b 0b Peripheral HS 00b 0b 00b 0b 0b 0b 0b 0b 0b 1b Peripheral FS 01b 1b 00b 0b 0b 1b 0b 0b 0b 0b Peripheral HS/FS Suspend 01b 1b 00b 0b 0b 1b 0b 0b 0b 0b Peripheral HS/FS Resume 01b 1b 10b 0b 0b 1b 0b 0b 0b 0b Peripheral LS 10b 1b 00b 0b 0b 0b 1b 0b 0b 0b Peripheral LS Suspend 10b 1b 00b 0b 0b 0b 1b 0b 0b 0b Peripheral LS Resume 10b 1b 10b 0b 0b 0b 1b 0b 0b 0b Peripheral Test J/Test K 00b 0b 10b 0b 0b 0b 0b 0b 0b 1b OTG device, Peripheral Chirp 00b 1b 10b 0b 1b 1b 0b 0b 1b 0b OTG device, Peripheral HS 00b 0b 00b 0b 1b 0b 0b 0b 1b 1b OTG device, Peripheral FS 01b 1b 00b 0b 1b 1b 0b 0b 1b 0b OTG device, Peripheral HS/FS Suspend 01b 1b 00b 0b 1b 1b 0b 0b 1b 0b OTG device, Peripheral HS/FS Resume 01b 1b 10b 0b 1b 1b 0b 0b 1b 0b OTG device, Peripheral Test J/Test K 00b 0b 10b 0b 1b 0b 0b 0b 1b 1b 01b 0b 00b 0b 1b 0b 0b 0b 1b 0b 0b 0b 1b 1b 0b TermSelect DmPulldown 10b DpPulldown Host LS Suspend SIGNALING MODE OpMode[1:0] RPU_DM_EN USB333X TERMINATION RESISTOR SETTINGS RPU_DP_EN XcvrSelect[1:0] ULPI REGISTER SETTINGS Peripheral Settings Charger Detection Connect Detect Any combination not defined above, Note 5.5 Note: This is equivalent to Table 40, Section 4.4 of the ULPI 1.1 specification. Note: USB333x does not support operation as an upstream hub port. See Chapter 6.4.1.3. Note 5.4 When RESETB = 0 The HS termination will tri-state the USB drivers. Note 5.5 The transceiver operation is not guaranteed in a combination that is not defined. SMSC USB333x 35 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet The USB333x uses the 27% resistor ECN resistor tolerances. The resistor values are shown in Table 4.6. 5.3 Bias Generator This block consists of an internal bandgap reference circuit used for generating the driver current and the biasing of the analog circuits. This block requires an external 8.06K, 1% tolerance, reference resistor connected from RBIAS to ground. This resistor should be placed as close as possible to the USB333x to minimize the trace length. The nominal voltage at RBIAS is 0.8V +/- 10% and therefore the resistor will dissipate approximately 80W of power. 5.4 Integrated Low Jitter PLL The USB333x uses an integrated low jitter phase locked loop (PLL) to provide a clean 480MHz clock required for HS USB signal quality. This clock is used by the PHY during both transmit and receive. The USB333x PLL requires an accurate frequency reference to be driven on the REFCLK pin. 5.4.1 REFCLK Frequency Selection The USB333x PLL is designed to operate in one of two reference clock modes. In the first mode, the 60MHz ULPI clock is driven on the REFCLK pin. In the second mode a reference clock is driven on the REFCLK pin. The Link is driving the ULPI clock, in the first mode, and this is referred to as ULPI Clock In Mode. In the second mode, the USB333x generates the ULPI clock, and this is referred to as ULPI Clock Out Mode. During start-up, the USB333x monitors the CLKOUT pin. If a connection to VDD18 (USB3330, USB3331, USB3336, and USB3338) or VDDIO (USB3333) is detected, the USB333x is configured for a 60MHz ULPI reference clock driven on the REFCLK pin. Section 5.4.1.2 and Section 5.4.1.1 describe how to configure the USB333x for either ULPI Clock In Mode or ULPI Clock Out Mode. For the USB3331, USB3336, and USB3338, the reference clock frequency required is shown in Order Numbers: on page 2. For the USB3330 and USB3333, the reference clock frequency required is determined by the settings of the REF pins(s). The pins should either be connected to VDD33 or GND. The reference frequency selection options are shown in Table 5.2 and Table 5.3. Table 5.2 REF[1:0] vs. required frequency at REFCLK (USB3330) Revision 1.3 (11-20-12) REF[1:0] REFCLK FREQUENCY 00 19.2 MHz 01 26 MHz 10 13 MHz 11 24 MHz 36 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 5.3 REF[0] vs. required frequency at REFCLK (USB3333) 5.4.1.1 REF[0] REFCLK FREQUENCY 0 19.2 MHz 1 26 MHz ULPI Clock Output Mode When using ULPI Clock Output Mode, the USB333x generates the 60MHz ULPI clock used by the Link. In this mode, the REFCLK pin must be driven with the model-specific frequency, and the CLKOUT pin sources the 60MHz ULPI clock to the Link. When using ULPI Clock Output Mode, the system must not drive the CLKOUT pin following POR or hardware reset with a voltage that exceeds the value of VIH_ED provided in Table 4.4. An example of ULPI Clock Out Mode is shown in Figure 8.1 After the PLL has locked to the correct frequency, the USB333x generates the 60MHz ULPI clock on the CLKOUT pin, and de-asserts DIR to indicate that the PLL is locked. The USB333x is guaranteed to start the clock within the time specified in Table 4.3, and it will be accurate to within 500ppm. For Host applications the ULPI AutoResume bit should be enabled. This is described in Section 6.4.1.4. When using ULPI Clock Output Mode, the edges of the reference clock do not need to be aligned in any way to the ULPI interface signals. There is no need to align the phase of the REFCLK and the CLKOUT. ~~ ULPI Clk In CLKOUT From PLL Link Clock Source REFCLK To PLL SMSC PHY ~~ Figure 5.6 Configuring the USB333x for ULPI Clock Output Mode 5.4.1.2 ULPI Clock Input Mode (60MHz REFCLK Mode) When using ULPI Clock Input Mode, the Link must supply the 60MHz ULPI clock to the USB333x. In this mode the 60MHz ULPI Clock is connected to the REFCLK pin, and the CLKOUT pin is tied high to VDD18 (USB3330, USB3331, USB3336, and USB3338) or VDDIO (USB3333). An example of ULPI Clock In Mode is shown in Figure 8.2. After the PLL has locked to the correct frequency, the USB333x will de-assert DIR and the Link can begin using the ULPI interface. The USB333x is guaranteed to start the clock within the time specified in Table 4.3. For Host applications, the ULPI AutoResume bit should be enabled. This is described in Section 6.4.1.4. SMSC USB333x 37 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet For the USB3330 and USB3333, the REF pin(s) should be tied to ground. VDD18/ VDDIO ~~ CLKOUT REFCLK ULPI Clk Out To PLL Link Reference Clk In ~~ Clock Source SMSC PHY Figure 5.7 Configuring the USB333x for ULPI Clock Input Mode 5.4.2 REFCLK Amplitude The reference clock should be connected to the REFCLK pin as shown in the application diagrams, Figure 8.1 and Figure 8.2. The REFCLK pin is designed to be driven with a square wave from 0V to VDD18, but can be driven with a square wave from 0V to as high as 3.6V. The USB333x uses only the positive edge of the REFCLK. If a digital reference is not available, the REFCLK pin can be driven by an analog sine wave that is AC coupled into the REFCLK pin. If using an analog clock the DC bias should be set at the mid-point of the VDDIO supply or the VDD18 regulator output. Use a bias circuit as shown in Figure 5.8. The amplitude must be greater than 300mV peak to peak. The component values provided in Figure 5.8 are for example only. The actual values should be selected to satisfy system requirements. The REFCLK amplitude must comply with the signal amplitudes shown in Table 4.5 and the duty cycle in Table 4.3. 47k VDDIO Supply or VDD18 To REFCLK pin 0.1uF 47k Clock Figure 5.8 Example of circuit used to shift a reference clock common-mode voltage level. Revision 1.3 (11-20-12) 38 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 5.4.3 REFCLK Jitter The USB333x is tolerant to jitter on the reference clock. The REFCLK jitter should be limited to a peak to peak jitter of less than 1nS over a 10uS time interval. If this level of jitter is exceeded when configured for either ULPI Clock Input Mode or ULPI Clock Output Mode, the USB333x High Speed eye diagram may be degraded. The frequency accuracy of the REFCLK must meet the +/- 500ppm requirement as shown in Table 4.3. 5.4.4 REFCLK Enable/Disable The REFCLK should be enabled when the RESETB pin is brought high. The ULPI interface will start running after the time specified in Table 4.3. If the reference clock enable is delayed relative to the RESETB pin, the ULPI interface will start operation delayed by the same amount. The reference clock can be run at anytime the RESETB pin is low without causing the USB333x to start-up or draw current. When the USB333x is placed in Low Power Mode or Carkit Mode, the reference clock can be stopped after the final ULPI register write is complete. The STP pin is asserted to bring the USB333x out of Low Power Mode. The reference clock should be started at the same time STP is asserted to minimize the USB333x start-up time. If the reference clock is stopped while in ULPI Synchronous mode the PLL will come out of lock and the frequency of oscillation will decrease to the minimum allowed by the PLL design. If the reference clock is stopped during a USB session, the session may drop. 5.5 Internal Regulators and POR The USB333x includes integrated power management functions, including a Low-Dropout regulator that can be used to generate the 3.3V USB supply, an integrated 1.8V regulator, and a POR generator described in Section 5.5.2. 5.5.1 Integrated Low Dropout Regulators The USB333x includes two integrated linear regulators. Power sourced at the VBAT pin is regulated to 3.3V and 1.8V output on the VDD33 and VDD18 pins. To ensure stability, both regulators require an external bypass capacitor as specified in Table 4.12 placed as close to the pins as possible. VBAT and VDD33 should never be shorted together. The USB333x regulators are designed to generate the 3.3 Volt and 1.8 Volt supplies for the USB333x only. Using the regulators to provide current for other circuits is not recommended and SMSC does not guarantee USB performance or regulator stability. During USB UART mode the 3.3V regulator output voltage can be changed to allow the USB333x to work with UARTs operating at different operating voltages. The 3.3V regulator output is configured to the voltages shown in Table 4.12 with the UART RegOutput[1:0] bits in the USB IO & Power Management register. The regulators are enabled by the RESETB pin. When RESETB pin is low both regulators are disabled and the regulator outputs are pulled low by weak pull-down. The RESETB pin must be brought high to enable the regulators. For peripheral-only or host-only bus-powered applications, the VBAT supply shown below in Figure 5.9 may be connected to the VBUS pin of the USB connector for bus powered applications. In this configuration, external overvoltage protection is required to protect the VBAT supply from any transient voltage present at the VBUS pin of the USB connector. Additionally, the VBAT input must never be exposed to a voltage that exceeds VVBAT. (See Table 3.2.) SMSC USB333x 39 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Also in this configuration, the VBUS line must never be connected to a system utilizing a +30V VBUS level (i.e. Some USB battery chargers). SMSC does not recommend connecting the VBAT pin directly to the VBUS terminal of the USB connector. ~~ VBUS RVBUS VBUS To USB Con. To OTG VBAT OVP VDD33 COUT LDO GND SMSC PHY ~~ Figure 5.9 Powering the USB333x from VBUS 5.5.2 Power On Reset (POR) The USB333x provides a POR circuit that generates an internal reset pulse after the VDD18 supply is stable. After the internal POR goes high the USB333x will release from reset and begin normal ULPI operation as described in Section 5.10. The ULPI registers will power up in their default state summarized in Table 7.1 when the 1.8V supply comes up. Cycling the RESETB pin can also be used to reset the ULPI registers to their default state (and reset all internal state machines) by bringing the pin low for a minimum of 1 microsecond and then high. It is not necessary to wait for the VDD33 and VDD18 pins to discharge to 0 volts to reset the part. The RESETB pin must be pulled high to enable the 3.3V and 1.8V regulators. A pull-down resistor is not present on the RESETB pin and therefore the system should drive the RESETB pin to the desired state at all times. If the system does not need to place the USB333x into reset mode the RESETB pin should be connected to VDD18 (USB3330, USB3331, USB3336, and USB3338) or VDDIO (USB3333). 5.5.3 Recommended Power Supply Sequence For USB operation, the USB333x requires a valid voltage on the VBAT and VDDIO pins. The VDD33 and VDD18 regulators are automatically enabled when the RESETB pin is brought high. For the USB3333, Table 5.4 presents the power supply configurations in more detail. Revision 1.3 (11-20-12) 40 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet The RESETB pin can be held low until the VBAT supply is stable. If the Link is not ready to interface the USB333x, the Link may choose to hold the RESETB pin low until it is ready to control the ULPI interface. Table 5.4 Operating Mode vs. Power Supply Configuration VBAT VDDIO RESETB OPERATING MODES AVAILABLE 0 0 0 Powered Off 1 X 0 RESET Mode. (Note 5.10) 1 1 1 Full USB operation as described in Chapter 6. Note 5.10 VDDIO must be present for ULPI pins to tri-state. 5.5.4 Start-Up The power on default state of the USB333x is ULPI Synchronous mode. The USB333x requires the following conditions to begin operation: the power supplies must be stable, the REFCLK must be present and the RESETB pin must be high. After these conditions are met, the USB333x will begin ULPI operation that is described in Chapter 6. Figure 5.11 below shows a timing diagram to illustrate the start-up of the USB333x. At T0, the supplies are stable and the USB333x is held in reset mode. At T1, the Link drives RESETB high after the REFCLK has started. The RESETB pin may be brought high asynchronously to REFCLK. Once, the 3.3V and 1.8V internal supplies become stable the USB333x will apply the 15Kohm pull downs to the data bus and assert DIR until the internal PLL has locked. After the PLL has locked, the USB333x will check that the Link has de-asserted STP and at T2 it will de-assert DIR and begin ULPI operation. The ULPI bus will be available as shown in Figure 5.11 in the time defined as TSTART given in Table 4.3. If the REFCLK signal starts after the RESETB pin is brought high, then time T0 will begin when REFCLK starts. TSTART also assumes that the Link has de-asserted STP. If the Link has held STP high the USB333x will hold DIR high until STP is de-asserted. When the LINK de-asserts STP, it must be ready drive the ULPI data bus to idle (00h) for a minimum of one clock cycle after DIR deasserts. SMSC USB333x 41 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet T0 SUPPLIES STABLE T1 T2 REFCLK REFCLK valid RESETB DATA[7:0] PHY Tri-States PHY Drives Idle DIR PHY Tri-States PHY Drives High STP IDLE RXCMD IDLE LINK Drives Low TSTART Figure 5.11 ULPI Start-up Timing 5.6 USB On-The-Go (OTG) The USB333x provides support for the USB OTG protocol. OTG allows the USB333x to be dynamically configured as a host or peripheral depending on the type of cable inserted into the Micro-AB receptacle. When the Micro-A plug of a cable is inserted into the Micro-AB receptacle, the USB device becomes the A-device. When a Micro-B plug is inserted, the device becomes the B-device. The OTG A-device behaves similar to a Host while the B-device behaves similar to a peripheral. The differences are covered in the "On-The-Go Supplement to the USB 2.0 Specification". In applications where only USB Host or USB Peripheral is required, the OTG Module is unused. 5.6.1 ID Resistor Detection The ID pin of the USB connector is monitored by the ID pin of the USB333x to detect the attachment of different types of USB devices and cables. For device only applications that do not use the ID signal the ID pin should be connected to VDD33. The block diagram of the ID detection circuitry is shown in Figure 5.12 and the related parameters are given in Table 4.9. Revision 1.3 (11-20-12) 42 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet ~~ VDD33 ID To USB Con. RID=100K RIDW>1M IdPullup IdGnd Vref IdGnd en IdGndDrv IdGnd Rise or IdGnd Fall IdFloat Vref IdFloat en Rid ADC IdFloatRise or IdFloatFall RidValue OTG Module ~~ Figure 5.12 USB333x ID Resistor Detection Circuitry 5.6.1.1 USB OTG Operation The USB333x can detect ID grounded and ID floating to determine if an A or B cable has been inserted. The A plug will ground the ID pin while the B plug will float the ID pin. These are the only two valid states allowed in the OTG Protocol. To monitor the status of the ID pin, the Link activates the IdPullup bit in the OTG Control register, waits 50mS and then reads the status of the IdGnd bit in the USB Interrupt Status register. If an A cable has been inserted the IdGnd bit will read 0. If a B cable is inserted, the ID pin is floating and the IdGnd bit will read 1. The USB333x provides an integrated weak pull-up resistor on the ID pin, RIDW. This resistor is present to keep the ID pin in a known state when the IdPullup bit is disabled and the ID pin is floated. In addition to keeping the ID pin in a known state, it enables the USB333x to generate an interrupt to inform the link when a cable with a resistor to ground has been attached to the ID pin. The weak pullup is small enough that the largest valid RID resistor pulls the ID pin low and causes the IdGnd comparator to go low. After the link has detected an ID pin state change, the RID converter can be used to determine the resistor value as described in Section 5.6.1.2. 5.6.1.2 Measuring ID Resistance to Ground The Link can use the integrated resistance measurement capabilities of the USB333x to determine the value of an ID resistance to ground. Table 5.5 details the values of resistance to ground that the USB333x can detect. SMSC USB333x 43 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 5.5 Valid Values of ID Resistance to Ground ID RESISTANCE TO GROUND RID VALUE Ground 000 75 +/-1% 001 102k +/-1% 010 200k+/-1% 011 Floating 101 Note: IdPullUp = 0 The ID resistance to ground can be read while the USB333x is in Synchronous Mode. When a resistor to ground is attached to the ID pin, the state of the IdGnd comparator will change. After the Link has detected ID transition to ground, it can use the methods described in Section 6.8 to operate the Rid converter. 5.6.1.3 Using IdFloat Comparator (not recommended) Note: The ULPI specification details a method to detect a 102k resistance to ground using the IdFloat comparator. This method can only detect 0ohms, 102k, and floating terminations of the ID pin. Due to this limitation it is recommended to use the RID Converter as described in Section 5.6.1.2. The ID pin can be either grounded, floated, or connected to ground with a 102k external resistor. To detect the 102K resistor, set the idPullup bit in the OTG Control register, causing the USB333x to apply the 100K internal pull-up connected between the ID pin and VDD33. Set the idFloatRise and idFloatFall bits in the Carkit Interrupt Enable register to enable the IdFloat comparator to generate an RXCMD to the Link when the state of the IdFloat changes. As described in Figure 6.3, the alt_int bit of the RXCMD will be set. The values of IdGnd and IdFloat are shown for the three types cables that can attach to the USB Connector in Table 5.6. Table 5.6 IdGnd and IdFloat vs. ID Resistance to Ground ID RESISTANCE IDGND IDFLOAT Float 1 1 102K 1 0 GND 0 0 Note: The ULPI register bits IdPullUp, IdFloatRise, and IdFloatFall should be enabled. To save current when an A Plug is inserted, the internal 102k pull-up resistor can be disabled by clearing the IdPullUp bit in the OTG Control register and the IdFloatRise and IdFloatFall bits in both the USB Interrupt Enable Rising and USB Interrupt Enable Falling registers. If the cable is removed the weak RIDW will pull the ID pin high. The IdGnd value can be read using the ULPI USB Interrupt Status register, bit 4. In host mode, it can be set to generate an interrupt when IdGnd changes by setting the appropriate bits in the USB Interrupt Enable Rising and USB Interrupt Enable Falling registers. The IdFloat value can be read by reading the ULPI Carkit Interrupt Status register bit 0. Revision 1.3 (11-20-12) 44 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Note: The IdGnd switch has been provided to ground the ID pin for future applications. 5.6.2 VBUS Monitoring and VBUS Pulsing The USB333x includes all of the VBUS comparators required for OTG. The VbusValid, SessVld, and SessEnd comparators shown in Figure 5.13 are fully integrated into the USB333x. These comparators are used to monitor changes in the VBUS voltage, and the state of each comparator can be read from the USB Interrupt Status register. The VbusValid comparator is used by the Link, when configured as an A device, to ensure that the VBUS voltage on the cable is valid. The SessVld comparator is used by the Link when configured as both an A or B device to indicate a session is requested or valid. Finally the SessEnd comparator is used by the B-device to indicate a USB session has ended. Also included in the VBUS Monitor and Pulsing block are the resistors used for VBUS pulsing in SRP. The resistors used for VBUS pulsing include a pull-down to ground and a pull-up to VDD33. In some applications, voltages much greater than 5.5V may be present at the VBUS pin of the USB connector. The USB333x includes an over voltage protection circuit that protects the VBUS pin of the USB333x from excessive voltages as shown in Figure 5.13. ~~ VDD33 ChrgVbus 0.5V SessEnd RVPU en RVPD RVBUS 1.4V RVB To USB Con. SessValid VBUS Overvoltage Protection VBUS SessEnd Rise or SessEnd Fall VbusValid 4.575V DischrgVbus en VbusValid Rise or VbusValid Fall [0, X] [1, 0] EXTVBUS (logic 1) IndicatorComplement RXCMD VbusValid [1, 1] [UseExternalVbusindicator, IndicatorPassThru] SMSC PHY ~~ Figure 5.13 USB333x OTG VBUS Block 5.6.2.1 SessEnd Comparator The SessEnd comparator is used during the Session Request Protocol (SRP). The comparator is used by the B-device to detect when a USB session has ended and it is safe to start Vbus Pulsing to request a USB session from the A-device. When VBUS goes below the threshold in Table 4.8, the USB session is considered to be ended, and SessEnd will transition from 0 to 1. The SessEnd comparator can be SMSC USB333x 45 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet disabled by clearing this bit in both the USB Interrupt Enable Rising and USB Interrupt Enable Falling registers. When disabled, the SessEnd bit in the USB Interrupt Status register will read 0. The SessEnd Comparator is only used when configured as an OTG device. If the USB333x is used as a Host or Device only the SessEnd Comparator should be disabled, using the method described above. 5.6.2.2 SessVld Comparator The SessVld comparator is used when the PHY is configured as both an A and B device. When configured as an A device, the SessVld is used to detect Session Request protocol (SRP). When configured as a B device, SessVld is used to detect the presence of VBUS. The SessVld comparator output can also be read from the USB Interrupt Status register. The SessVld comparator will also generate an RX CMD, as detailed in Section 6.3.1, anytime the comparator changes state. The SessVld interrupts can be disabled by clearing this bit in both the USB Interrupt Enable Rising and USB Interrupt Enable Falling registers. When the interrupts are disabled, the SessVld comparator is still operational and will generate RX CMD's. The SessVld comparator trip point is detailed in Table 4.9. Note: The OTG Supplement specifies a voltage range for A-Device Session Valid and B-Device Session Valid comparator. The USB333x PHY combines the two comparators into one and uses the narrower threshold range. 5.6.2.3 VbusValid Comparator The VbusValid comparator is only used when the USB333x is configured as a host that can supply less than 100mA VBUS current. In the USB protocol, the A-device supplies the VBUS voltage and is responsible to ensure it remains within a specified voltage range. The VbusValid comparator can be disabled by clearing this bit in both the USB Interrupt Enable Rising and USB Interrupt Enable Falling registers. When disabled, bit 1 of the USB Interrupt Status register will return a 0. The VbusValid comparator threshold values are detailed in Table 4.9. If the USB333x is used as a Device only the VbusValid Comparator should be disabled, using the method described above. The USB333x includes the external VbusValid indicator logic as detailed in the ULPI Specification. The external VbusValid indicator is tied to a logic one. The decoding of this logic is shown in Table 5.7 below. By default this logic is disabled. Table 5.7 External VBUS Indicator Logic TYPICAL APPLICATION USE EXTERNAL VBUS INDICATOR INDICATOR PASS THRU INDICATOR COMPLEMENT OTG Device 0 X X Internal VbusValid comparator (Default) 1 1 0 Fixed 1 1 1 1 Fixed 0 1 0 0 Internal VbusValid comparator. 1 0 1 Fixed 0 Revision 1.3 (11-20-12) 46 DATASHEET RXCMD VBUSVALID ENCODING SOURCE SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 5.7 External VBUS Indicator Logic (continued) TYPICAL APPLICATION USE EXTERNAL VBUS INDICATOR INDICATOR PASS THRU INDICATOR COMPLEMENT Standard Host 1 1 0 Fixed 1 1 1 1 Fixed 0 0 X X Internal VbusValid comparator. This information should not be used by the Link. (Note 5.14) Standard Peripheral RXCMD VBUSVALID ENCODING SOURCE Note 5.14 A peripheral should not use VbusValid to detect a USB connection and begin operation. The peripheral should use SessValid to detect the presence of VBUS on the USB connector. VbusValid should only be used for USB Host and OTG A-device applications. 5.6.2.4 VBUS Pulsing with Pull-up and Pull-down Resistors In addition to the internal VBUS comparators, the USB333x also includes the integrated VBUS pull-up and pull-down resistors used for VBUS Pulsing during OTG Session Request Protocol. To discharge the VBUS voltage so that a Session Request can begin, the USB333x provides a pull-down resistor from VBUS to GND. This resistor is controlled by the DischargeVbus bit 3 of the OTG Control register. The pull-up resistor is connected between VBUS and VDD33. This resistor is used to pull VBUS above 2.1 volts so that the A-Device knows that a USB session has been requested. The state of the pullup resistor is controlled by the bit 4 ChargeVbus of the OTG Control register. The Pull-Up and PullDown resistor values are detailed in Table 4.9. The internal VBUS Pull-up and Pull-down resistors are designed to include the RVBUS external resistor in series. This external resistor is used by the VBUS Over voltage protection described below. 5.6.2.5 VBUS Input Impedance The OTG Supplement requires an A-Device that supports Session Request Protocol to have a VBUS input impedance less than 100k and greater the 40k to ground. The USB333x provides a 75k resistance to ground, RVB. The RVB resistor tolerance is detailed in Table 4.9. 5.6.2.6 VBUS Over Voltage Protection (OVP) The USB333x provides an integrated over voltage protection circuit to protect the VBUS pin from excessive voltages that may be present at the USB connector. The over voltage protection circuit works with an external resistor (RVBUS) by drawing current across the resistor to reduce the voltage at the VBUS pin. When voltage at the VBUS pin exceeds 5.5V, the Over voltage Protection block will sink current to ground until VBUS is below 5.5V. The current drops the excess voltage across RVBUS and protects the USB333x VBUS pin. The required RVBUS value is dependent on the operating mode of the USB333x as shown in Table 5.8. SMSC USB333x 47 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 5.8 Required RVBUS Resistor Value OPERATING MODE RVBUS Device only 20k 5% OTG Host Capable of less than 100mA of current on VBUS 1k 5% Host or OTG Host capable of >100mA UseExternalVbusIndicator = 1 1k 5% The Over voltage Protection circuit is designed to protect the USB333x from continuous voltages up to 30V on the RVBUS resistor. The RVBUS resistor must be sized to handle the power dissipated across the resistor. The resistor power can be found using the equation below: 2 ( Vprotect - 5.0 ) P RVBUS = -------------------------------------------R VBUS Where: Vprotect is the VBUS protection required. RVBUS is the resistor value, 1k or 20k. PRVBUS is the required power rating of RVBUS. For example, protecting a peripheral or device only application to 15V would require a 20k RVBUS resistor with a power rating of 0.01W. To protect an OTG product to 15V would require a 1k RVBUS resistor with a power rating of 0.1W. 5.6.3 Driving External VBUS The USB333x monitors VBUS as described in VBUS Monitoring and VBUS Pulsing. The USB333x does not provide an external output for the DrvVbusExternal ULPI register. For OTG and Host applications, the external VBUS supply or power switch must be controlled by the Link as shown in Figure 8.2. 5.7 USB UART Support The USB333x provides support for the USB UART interface as detailed in the ULPI specification and the former CEA-936A specification. The USB333x can be placed in UART Mode using the method described in Section 6.7, and the regulator output will automatically switch to the value configured by the UART RegOutput bits in the USB IO & Power Management register. While in UART mode, the Linestate signals cannot be monitored on the DATA[0] and DATA[1] pins. 5.8 USB Charger Detection Support The following blocks allow the USB333x to detect when a Battery Charger, Charging Host Port, or a USB Host is attached to the USB connector. The USB333x can also be configured to appear as a Charging Host Port. The charger detection circuitry should be disabled during USB operation. Revision 1.3 (11-20-12) 48 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet ~~ V D D 33 C hargerP ullupE nD P C ontactD etectE n en RCD RCD C hargerP ullupE nD M ID P _ S R C DP V DAT_SR C T o U S B C on . V D atS rcE n H ostC hrgE n DM V datD et V D AT_R EF en ID atS inkE n en RPD RPD T o U S B C on . I D A T _ S IN K D pP ulldow n D m P ulldow n SMSC PHY ~~ Figure 5.15 USB Charger Detection Block Diagram Note: The italic names in the Figure 5.15 correspond to bits in the ULPI register set. The charger detection circuitry runs from the VDD33 supply and requires that the VDD33 supply to be present to run the charger detection circuitry. The VDD33 supply is present anytime the RESETB pin is pulled high and VBAT is present. The charger detection circuits are fully functional while in Low Power Mode (Suspendm = 0). The status of the VdatDet can be relayed back to the Link through the ULPI interrupts in both Synchronous mode and Low Power Mode. 5.8.1 Active Analog Charger Detection The USB333x includes the active analog charger detection specified in the USB-IF Battery Charging Specification. The additional analog circuitry will allow the USB333x to: 1. Detect a USB Charger that has shorted DP and DM together 2. Detect a USB Host/Charger 3. Behave as a USB Host/Charger The charger detection circuitry is shown in Figure 5.15. SMSC USB333x 49 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet The VdatDet output is qualified with the Linestate[1:0] value. If the Linestate is not equal to 00 the VdatDet signal will not assert. DmPulldown DpPulldown HostChrgEn IDatSinkEn VDatSrcEn CHARGER DETECTION MODES ContactDetEn Table 5.9 USB Charger Setting vs. Modes Device Connect Detect (The Connect Detect setting in Table 5.1 must be followed) 0 0 1 0 0 1 Device Charger Detection 1 1 0 0 0 0 Device USB Operation 0 0 0 0 0 0 Charging Host Port, no charging device attached and SE0 (VdatDet = 0) 0 1 0 1 1 1 Charging Host Port, charging device attached (VdatDet = 1) 1 1 0 1 1 1 Charging Host Port USB Operation 0 0 0 1 1 1 5.8.2 Resistive Charger Detection Note: The Resistive Charger Detection has been superseded by the Active Analog Charger Detection detailed above. It is recommended that new designs use the Active Analog Charger Detection. To support the detection and identification of different types of USB chargers the USB333x provides integrated pull-up resistors, RCD, on both DP and DM. These pull-up resistors along with the single ended receivers can be used to determine the type of USB charger attached. Reference information on implementing charger detection is provided in Section 8.2, "USB Charger Detection". Table 5.10 USB Weak Pull-up Enable RESETB DP PULLUP ENABLE DM PULLUP ENABLE 0 0 0 1 ChargerPullupEnableDP ChargerPullupEnableDM Note: ChargerPullupEnableDP and ChargerPullupEnableDM are enabled in the USB IO & Power Management register. 5.9 USB Audio Support (USB3331, USB3336, and USB3338) Note: The USB333x supports "USB Digital Audio" through the USB protocol in ULPI and USB Serial modes described in Section 6. The USB333x provides two low resistance analog switches that allow analog audio to be multiplexed over the DP and DM terminals of the USB connector. The audio switches are shown in Figure 5.1. The electrical characteristics of the USB Audio Switches are provided in Table 4.11. Revision 1.3 (11-20-12) 50 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet During normal USB operation the switches are off. When USB Audio is desired the switches can be turned "on" by enabling the SpkLeftEn, SpkRightEn, or MicEn bits in the Carkit Control register as described in Section 6.7.2. These bits are disabled by default. The RESETB pin must be high when using the analog switches so that the VDD33 supply is present. If the VDD33 supply is applied externally and RESETB is held low the switches will be off. In addition to USB Audio support the switches could also be used to multiplex a second Full Speed USB PHY to the USB connector. The signal quality will be degraded slightly due to the "on" resistance of the switches. The USB333x single-ended receivers described in Section 5.2.1 are enabled while in synchronous mode and are disabled when Carkit Mode is entered. The USB333x does not provide the DC bias for the audio signals. The SPK_R and SPK_L pins should be biased to 1.65V when audio signals are routed through the USB333x. This DC bias is necessary to prevent the audio signal from swinging below ground and being clipped by ESD Diodes. When the system is not using the USB Audio switches, the SPK_R and SPK_L switches should be disabled. SMSC USB333x 51 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Chapter 6 ULPI Operation 6.1 ULPI Introduction The USB333x uses the industry standard ULPI digital interface for communication between the transceiver and Link (device controller). The ULPI interface is designed to reduce the number of pins required to connect a discrete USB transceiver to an ASIC or digital controller. For example, a full UTMI+ Level 3 OTG interface requires 54 signals while a ULPI interface requires only 12 signals. The ULPI interface is documented completely in the "UTMI+ Low Pin Interface (ULPI) Specification Revision 1.1". The following sections describe the operating modes of the USB333x digital interface. Figure 6.1 illustrates the block diagram of the ULPI digital functions. It should be noted that this USB333x does not use a "ULPI wrapper" around a UTMI+ PHY core as the ULPI specification implies. USB Transmit and Receive Logic Tx Data High Speed TX Full Speed TX Low Speed TX Data[7:0] NOTE: The ULPI interface is a wrapperless design. ULPI Protocol Block High Speed Data Recovery Full / Low Speed Data Recovery HS RX Data To OTG Analog To USB Audio Analog Interface Protect Disable UseExternal Vbus Indicator Indicator Complement Indicator Pass Thru DischrgVbus ChrgVbus IdGndDrv IdPullUp SpkLeftEn SpkRightEn/MicEn ChargerPullupEnDP ChargerPullupEnDM RidCon...Done VbusValid SessionValid SessionEnd IdGnd IdFloat Rid State Machine Linestates[1:0] HostDisconnect ULPI Interupt XcvrSelect[1:0] TermSelect OpMode[1:0] Reset DpPulldown DmPulldown SwapDP/DM RegOutput[1:0] TxdEn RxdEn To RX Analog FS/LS Data RidValue[2:0] RidCon...Start Rx Data ULPI Register Access STP To TX Analog FS/LS Tx Data Transceiver Control NXT SuspendM 6pinSerial Mode 3pinSerial Mode ClockSuspendM AutoResume CarkitMode DIR HS Tx Data Interrupt Control RESETB POR ULPI Register Array Figure 6.1 ULPI Digital Block Diagram Revision 1.3 (11-20-12) 52 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet The advantage of a "wrapper-less" architecture is that the USB333x has a lower USB latency than a design which must first register signals into the PHY's wrapper before the transfer to the transceiver core. A low latency PHY allows a wrapper around a UTMI Link to be used and still make the required USB turn-around timing required by the USB 2.0 specification. RxEndDelay maximum allowed by the UTMI+/ULPI for 8-bit data is 63 High Speed clocks. USB333x uses a low latency High Speed receiver path to lower the RxEndDelay to 43 High Speed clocks. This low latency design gives the Link more cycles to make decisions and reduces the Link complexity. This is the result of the "wrapper less" architecture of the USB333x. This low RxEndDelay should allow legacy UTMI Links to use a "wrapper" to convert the UTMI+ interface to a ULPI interface. In Figure 6.1, a single ULPI Protocol Block decodes the ULPI 8-bit bi-directional bus when the Link addresses the PHY. The Link must use the DIR output to determine direction of the ULPI data bus. The USB333x is the "bus arbitrator". The ULPI Protocol Block will route data/commands to the transmitter or the ULPI register array. 6.1.1 ULPI Interface Signals The UTMI+ Low Pin Interface (ULPI) uses a 12-pin interface to connect a USB Transceiver to an external Link. The reduction of external pins, relative to UTMI+, is accomplished implementing the relatively static configuration pins (i.e. xcvrselect[1:0], termselect, opmode[1:0], and DpPullDown DmPulldown) as an internal register array. An 8-bit bi-directional data bus clocked at 60MHz allows the Link to access this internal register array and transfer USB packets to and from the PHY. The remaining 3 pins function to control the data flow and arbitrate the data bus. Direction of the 8-bit data bus is controlled by the DIR output from the PHY. Another output, NXT, is used to control data flow into and out of the device. Finally, STP, which is in input to the PHY, terminates transfers and is used to start up and resume from Low Power Mode. The ULPI Interface signals are described below in Table 6.1. Table 6.1 ULPI Interface Signals SIGNAL DIRECTION DESCRIPTION CLK I/O 60MHz ULPI clock. All ULPI signals are driven synchronous to the rising edge of this clock. This clock can be either driven by the PHY or the Link as described in Section 5.4.1 DATA[7:0] I/O 8-bit bi-directional data bus. Bus ownership is determined by DIR. The Link and PHY initiate data transfers by driving a non-zero pattern onto the data bus. ULPI defines interface timing for a single-edge data transfers with respect to rising edge of the ULPI clock. DIR OUT Controls the direction of the data bus. When the PHY has data to transfer to the Link, it drives DIR high to take ownership of the bus. When the PHY has no data to transfer it drives DIR low and monitors the bus for commands from the Link. The PHY will pull DIR high whenever the interface cannot accept data from the Link, such as during PLL start-up. STP IN The Link asserts STP for one clock cycle to stop the data stream currently on the bus. If the Link is sending data to the PHY, STP indicates the last byte of data was on the bus in the previous cycle. NXT OUT The PHY asserts NXT to throttle the data. When the Link is sending data to the PHY, NXT indicates when the current byte has been accepted by the PHY. The Link places the next byte on the data bus in the following clock cycle. USB333x implements a Single Data Rate (SDR) ULPI interface with all data transfers happening on the rising edge of the 60MHz ULPI Clock while operating in Synchronous Mode. The direction of the SMSC USB333x 53 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet data bus is determined by the state of DIR. When DIR is high, the PHY is driving DATA[7:0]. When DIR is low, the Link is driving DATA[7:0]. Each time DIR changes, a "turn-around" cycle occurs where neither the Link nor PHY drive the data bus for one clock cycle. During the "turn-around"cycle, the state of DATA[7:0] is unknown and the PHY will not read the data bus. Because USB uses a bit-stuffing encoding, some means of allowing the PHY to throttle the USB transmit data is needed. The ULPI signal NXT is used to request the next byte to be placed on the data bus by the Link. The ULPI interface supports the two basic modes of operation: Synchronous Mode and Asynchronous Mode. Asynchronous Mode includes Low Power Mode, the Serial Modes, and Carkit Mode. In Synchronous Mode, all signals change synchronously with the 60MHz ULPI clock. In asynchronous modes the clock is off and the ULPI bus is redefined to bring out the signals required for that particular mode of operations. The description of synchronous Mode is described in the following sections while the descriptions of the asynchronous modes are described in Section 6.5, Section 6.6, and Section 6.7. 6.1.2 ULPI Interface Timing in Synchronous Mode The control and data timing relationships are given in Figure 6.2 and Table 4.4. All timing is relative to the rising clock edge of the 60MHz ULPI Clock. 60MHz ULPI CLK TSC THC Control In STP TSD THD Data In DATA[7:0] TDC TDC Control Out DIR, NXT TDD Data Out DATA[7:0] Figure 6.2 ULPI Single Data Rate Timing Diagram in Synchronous Mode 6.2 ULPI Register Access The following section details the steps required to access registers through the ULPI interface. At any time DIR is low the Link may access the ULPI registers set using the Transmit Command byte. The ULPI registers retain their contents when the PHY is in Low Power Mode, Full Speed/Low Speed Serial Mode, or Carkit Mode. Revision 1.3 (11-20-12) 54 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 6.2.1 Transmit Command Byte (TX CMD) A command from the Link begins a ULPI transfer from the Link to the USB333x. Before reading a ULPI register, the Link must wait until DIR is low, and then send a Transmit Command Byte (TX CMD) byte. The TX CMD byte informs the USB333x of the type of data being sent. The TX CMD is followed by a data transfer to or from the USB333x. Table 6.2 gives the TX command byte (TX CMD) encoding for the USB333x. The upper two bits of the TX CMD instruct the PHY as to what type of packet the Link is transmitting. Table 6.2 ULPI TX CMD Byte Encoding COMMAND NAME CMD BITS[7:6] CMD BITS[5:0] Idle 00b 000000b ULPI Idle Transmit 01b 000000b USB Transmit Packet with No Packet Identifier (NOPID) 00XXXXb USB Transmit Packet Identifier (PID) where DATA[3:0] is equal to the 4-bit PID. P3P2P1P0 where P3 is the MSB. XXXXXXb Immediate Register Write Command where: DATA[5:0] = 6-bit register address Register Write 10b 101111b Register Read 11b Extended Register Write Command where the 8-bit register address is available on the next cycle. XXXXXXb Immediate Register Read Command where: DATA[5:0] = 6-bit register address 101111b 6.2.2 COMMAND DESCRIPTION Extended Register Read Command where the 8-bit register address is available on the next cycle. ULPI Register Write A ULPI register write operation is given in Figure 6.3. The TX command with a register write DATA[7:6] = 10b is driven by the Link at T0. The register address is encoded into DATA[5:0] of the TX CMD byte. SMSC USB333x 55 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet T0 T1 T2 T3 T4 T5 T6 CLK DATA[7:0] Idle TXD CMD (reg write) Reg Data[n] Idle DIR STP NXT ULPI Register Reg Data [n-1] Reg Data [n] Figure 6.3 ULPI Register Write in Synchronous Mode To write a register, the Link will wait until DIR is low, and at T0, drive the TX CMD on the data bus. At T2 the PHY will drive NXT high. On the next rising clock edge, T3, the Link will write the register data. At T4, the PHY will accept the register data and drive NXT low. The Link will drive an Idle on the bus and drive STP high to signal the end of the data packet. Finally, at T5, the PHY will latch the data into the register and the Link will pull STP low. NXT is used to throttle when the Link drives the register data on the bus. DIR is low throughout this transaction since the PHY is receiving data from the Link. STP is used to end the transaction and data is registered after the de-assertion of STP. After the write operation completes, the Link must drive a ULPI Idle (00h) on the data bus. If the databus is not driven to idle the USB333x may decode the nonzero bus value as an RX Command. A ULPI extended register write operation is shown in Figure 6.4. To write an extended register, the Link will wait until DIR is low, and at T0, drive the TX CMD on the data bus. At T2 the PHY will drive NXT high. On the next clock T3 the Link will drive the extended address. On the next rising clock edge, T4, the Link will write the register data. At T5, the PHY will accept the register data and drive NXT low. The Link will drive an Idle on the bus and drive STP high to signal the end of the data packet. At T5, the PHY will latch the data into the register. Finally, at T6, the Link will drive STP low. Revision 1.3 (11-20-12) 56 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet T0 T1 T2 T3 T4 T5 T6 T7 CLK DATA[7:0] TXD CMD (extended reg write) Idle Extended address Reg Data[n] Idle DIR STP NXT ULPI Register Reg Data [n-1] Reg Data [n] Figure 6.4 ULPI Extended Register Write in Synchronous Mode 6.2.3 ULPI Register Read A ULPI register read operation is given in Figure 6.5. The Link drives a TX CMD byte with DATA[7:6] = 11h for a register read. DATA[5:0] of the ULPI TX command bye contain the register address. T0 T1 T2 T3 T4 T5 T6 CLK DATA[7:0] Idle TXD CMD reg read Turn around Reg Data Turn around Idle DIR STP NXT Figure 6.5 ULPI Register Read in Synchronous Mode SMSC USB333x 57 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet At T0, the Link will place the TX CMD on the data bus. At T2, the PHY will bring NXT high, signaling the Link it is ready to accept the data transfer. At T3, the PHY reads the TX CMD, determines it is a register read, and asserts DIR to gain control of the bus. The PHY will also de-assert NXT. At T4, the bus ownership has transferred back to the PHY and the PHY drives the requested register onto the data bus. At T5, the Link will read the data bus and the PHY will drop DIR low returning control of the bus back to the Link. After the turn around cycle, the Link must drive a ULPI Idle command at T6. A ULPI extended register read operation is shown in Figure 6.6.To read an extended register, the Link writes the TX CMD with the address set to 2Fh. At T2, the PHY will assert NXT, signaling the Link it is ready to accept the extended address. At T3, the Link places the extended register address on the bus. At T4, the PHY reads the extended address, and asserts DIR to gain control of the bus. The PHY will also de-assert NXT. At T5, the bus ownership has transferred back to the PHY and the PHY drives the requested register onto the data bus. At T6, the Link will read the data bus and the PHY will deassert DIR returning control of the bus back to the Link. After the turn around cycle, the Link must drive a ULPI Idle command at T6. T0 T1 T2 T3 T4 T5 T6 T7 CLK DATA[7:0] Idle TXD CMD extended reg read Extended address Turn around Reg Data Turn around Idle DIR STP NXT Figure 6.6 ULPI Extended Register Read in Synchronous Mode 6.3 USB333x Receiver The following section describes how the USB333x uses the ULPI interface to receive USB signaling and transfer status information to the Link. This information is communicated to the Link using RX Commands to relay bus status and received USB packets. 6.3.1 ULPI Receive Command (RX CMD) The ULPI Link needs information which was provided by the following pins in a UTMI implementation: linestate[1:0], rxactive, rxvalid, rxerror, and VbusValid. When implementing the OTG functions, the VBUS and ID pin states must also be transferred to the Link. ULPI defines a Receive Command Byte (RXCMD) that contains this information. An RXCMD can be sent a any time the bus is idle. The RXCMD is initiated when the USB333x asserts DIR to take control of the bus. The timing of RXCMD is shown in the figure below. The USB333x can Revision 1.3 (11-20-12) 58 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet send single or back to back RXCMD's as required. The Encoding of the RXCMD byte is given in the Table 6.3. T0 T1 T2 T3 T4 T5 T6 T7 T8 CLK DATA[7:0] Idle Turn around RXCMD Turn around Idle Turn around RXCMD RXCMD Turn around Idle DIR STP NXT Figure 6.7 ULPI RXCMD Timing Transfer of the RXCMD byte occurs in Synchronous Mode when the PHY has control of the bus. The ULPI Protocol Block shown in Figure 6.1 determines when to send an RXCMD. A RXCMD will occur: When a linestate change occurs. When VBUS or ID comparators change state. During a USB receive when NXT is low. After the USB333x deasserts DIR and STP is low during start-up. After the USB333x exits Low Power Mode, Serial Modes, or Carkit Mode after detecting that the Link has de-asserted STP, and DIR is low. When a USB Receive is occurring, RXCMD's are sent whenever NXT = 0 and DIR = 1. During a USB Transmit, the RXCMD's are returned to the Link after STP is asserted. If an RXCMD event occurs during a High Speed USB transmit, the RXCMD is blocked until STP deasserts at the end of the transmit. The RXCMD contains the status that is current at the time the RXCMD is sent. SMSC USB333x 59 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 6.3 ULPI RX CMD Encoding DATA[7:0] NAME DESCRIPTION AND VALUE [1:0] Linestate UTMI Linestate Signals. See Section 6.3.1.1 [3:2] Encoded VBUS State ENCODED VBUS VOLTAGE STATES [5:4] Rx Event Encoding [6] State of ID pin [7] alt_int VALUE VBUS VOLTAGE SESSEND SESSVLD VBUSVLD2 00 VVBUS < VSESS_END 1 0 0 01 VSESS_END < VVBUS < VSESS_VLD 0 0 0 10 VSESS_VLD < VVBUS < VVBUS_VLD X 1 0 11 VVBUS_VLD < VVBUS X X 1 ENCODED UTMI EVENT SIGNALS VALUE RXACTIVE RXERROR HOSTDISCONNECT 00 0 0 0 01 1 0 0 11 1 1 0 10 X X 1 Set to the logic state of the ID pin. A logic low indicates an A device. A logic high indicates a B device. Asserted when a non-USB interrupt occurs. This bit is set when an unmasked event occurs on any bit in the Carkit Interrupt Latch register. The Link must read the Carkit Interrupt Latch register to determine the source of the interrupt. Section 5.6.1 describes how a change on the ID pin can generate an interrupt. Section 6.8 describes how an interrupt can be generated when the RidConversionDone bit is set. Notes: 1. An `X' is a do not care and can be either a logic 0 or 1. 2. The value of VbusValid is defined in Table 5.7. 6.3.1.1 Definition of Linestate The Linestate information is used to relay information back to the Link on the current status of the USB data lines, DP and DM. The definition of Linestate changes as the USB333x transitions between LS/FS mode, HS mode, and HS Chirp. 6.3.1.1.1 LS/FS LINESTATE DEFINITIONS In LS and FS operating modes the Linestate is defined by the outputs of the LS/FS Single Ended Receivers (SE RX). The logic thresholds for single ended receivers, VILSE and VILSE are shown in Table 4.6. Revision 1.3 (11-20-12) 60 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 6.4 USB Linestate Decoding in FS and LS Mode LINESTATE[1:0] DP SE RX DM SE RX STATE 00 SE0 0 0 USB Reset 01 J (FS idle) 1 0 J State 10 K (LS Idle) 0 1 K State 11 SE1 1 1 SE1 Low Speed uses the same Linestate decoding threshold as Full Speed. Low Speed re-defines the Idle state as an inversion of the Full Speed idle to account for the inversion which occurs in the hub repeater path. Linestates are decoded exactly as in Table 6.4 with the idle as a K state. 6.3.1.1.2 HS LINESTATE DEFINITION In HS mode the data transmission is too fast for Linestate to be transmitted with each transition in the data packet. In HS operation the Linestate is redefined to indicate activity on the USB interface. The Linestate will signal the assertion and de-assertion of squelch in HS mode. Table 6.5 USB Linestate Decoding in HS Mode LINESTATE[1:0] DP SE RX DM SE RX STATE 00 SE0 0 0 HS Squelch asserted 01 J 1 0 HS Squelch de-asserted 10 K 0 1 Invalid State 11 SE1 1 1 Invalid State 6.3.1.1.3 HS CHIRP LINESTATE DEFINITION There is also a third use of Linestate in HS Chirp where when the Host and Peripheral negotiate the from FS mode to HS mode. While the transitions from K to J or SE0 are communicated to the Link through the Linestate information. Table 6.6 USB Linestate Decoding in HS Chirp Mode LINESTATE[1:0] DP SE RX DM SE RX STATE 00 SE0 0 0 HS Squelch asserted 01 J 1 0 HS Squelch de-asserted & HS differential Receiver = 1 10 K 0 1 HS Squelch de-asserted & HS differential Receiver = 0 11 SE1 1 1 Invalid State SMSC USB333x 61 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 6.3.2 USB Receiver The USB333x ULPI receiver fully supports HS, FS, and LS transmit operations. In all three modes the receiver detects the start of packet and synchronizes to the incoming data packet. In the ULPI protocol, a received packet has the priority and will immediately follow register reads and RXCMD transfers. Figure 6.8 shows a basic USB packet received by the USB333x over the ULPI interface. CLK DATA[7:0] Idle Turn around Rxd Cmd PID D1 Rxd Cmd D2 Turn around DIR STP NXT Figure 6.8 ULPI Receive in Synchronous Mode In Figure 6.8 the PHY asserts DIR to take control of the data bus from the Link. The assertion of DIR and NXT in the same cycle contains additional information that Rxactive has been asserted. When NXT is de-asserted and DIR is asserted, the RXCMD data is transferred to the Link. After the last byte of the USB receive packet is transferred to the PHY, the linestate will return to idle. The ULPI Full Speed receiver operates according to the UTMI / ULPI specification. In the Full Speed case, the NXT signal will assert only when the Data bus has a valid received data byte. When NXT is low with DIR high, the RXCMD is driven on the data bus. In Full Speed, the USB333x will not issue a Rxactive de-assertion in the RXCMD until the DP/DM linestate transitions to idle. This prevents the Link from violating the two Full Speed bit times minimum turn around time. 6.3.2.1 Disconnect Detection A High Speed host must detect a disconnect by sampling the transmitter outputs during the long EOP transmitted during a SOF packet. The USB333x only looks for a High Speed disconnect during the long EOP where the period is long enough for the disconnect reflection to return to the host PHY. When a High Speed disconnect occurs, the USB333x will return a RXCMD and set the host disconnect bit in the USB Interrupt Status register. When in FS or LS modes, the Link is expected to handle all disconnect detection. 6.3.2.2 Link Power Management (LPM) Token Receive The USB333x is fully capable of receiving the Extended PID in the LPM token. When the LPM 0000b PID is received, this information is passed to the Link as a normal receive packet. If the Link chooses to enter LPM suspend, the procedure detailed in 6.5.3 can be followed. Revision 1.3 (11-20-12) 62 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 6.4 USB333x Transmitter The USB333x ULPI transmitter fully supports HS, FS, and LS transmit operations. Figure 6.1 shows the High Speed, Full Speed, and Low Speed transmitter block controlled by ULPI Protocol Block. Encoding of the USB packet follows the bit-stuffing and NRZI outlined in the USB 2.0 specification. Many of these functions are reused between the HS and FS/LS transmitters. When using the USB333x, Table 5.1 should always be used as a guideline on how to configure for various modes of operation. The transmitter decodes the inputs of XcvrSelect[1:0], TermSelect, OpMode[1:0], DpPulldown, and DmPulldown to determine what operation is expected. Users must strictly adhere to the modes of operation given in Table 5.1. Several important functions for a device and host are designed into the transmitter blocks. The USB333x transmitter will transmit a 32-bit long High Speed sync before every High Speed packet. In Full and Low Speed modes a 8-bit sync is transmitted. When the device or host needs to chirp for High Speed port negotiation, the OpMode = 10 setting will turn off the bit-stuffing and NRZI encoding in the transmitter. At the end of a chirp, the USB333x OpMode register bits should be changed only after the RXCMD linestate encoding indicates that the transmitter has completed transmitting. Should the opmode be switched to normal bit-stuffing and NRZI encoding before the transmit pipeline is empty, the remaining data in the pipeline may be transmitted in an bit-stuff encoding format. Please refer to the ULPI specification for a detailed discussion of USB reset and HS chirp. 6.4.1 USB333x Host Features The USB333x can also support USB Host operation and includes the following features that are required for Host operation. 6.4.1.1 High Speed Long EOP When operating as a High Speed host, the USB333x will automatically generate a 40 bit long End of Packet (EOP) after a SOF PID (A5h). The USB333x determines when to send the 40-bit long EOP by decoding the ULPI TX CMD bits [3:0] for the SOF. The 40-bit long EOP is only transmitted when the DpPulldown and DmPulldown bits in the OTG Control register are asserted. The High Speed 40-bit long EOP is used to detect a disconnect in mode. In device mode, the USB333x will not send a long EOP after a SOF PID. 6.4.1.2 Low Speed Keep-Alive Low Speed keep alive is supported by the USB333x. When in Low Speed mode, the USB333x will send out two Low Speed bit times of SE0 when a SOF PID is received. 6.4.1.3 UTMI+ Level 3 Pre-amble is supported for UTMI+ Level 3 compatibility. When XcvrSelect is set to (11b) in host mode, (DpPulldown and DmPulldown both asserted) the USB333x will pre-pend a Full Speed pre-amble before the Low Speed packet. Full Speed rise and fall times are used in this mode. The pre-amble consists of the following: Full Speed sync, the encoded pre-PID (C3h) and then Full Speed idle (DP=1 and DM = 0). A Low Speed packet follows with a sync, data and a LS EOP. The USB333x will only support UTMI+ Level 3 as a host. The USB333x does not support UTMI+ Level 3 as a peripheral. A UTMI+ Level 3 peripheral is an upstream hub port. The USB333x will not decode a pre-amble packet intended for a LS device when the USB333x is configured as the upstream port of a FS hub, XcvrSelect = 11b, DpPulldown = 0b, DmPulldown =0b. SMSC USB333x 63 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 6.4.1.4 Host Resume K Resume K generation is supported by the USB333x. At the end of a USB Suspend the PHY will drive a K back to the downstream device. When the USB333x exits from Low Power Mode, when operating as a host, it will automatically transmit a Resume K on DP/DM. The transmitters will end the K with SE0 for two Low Speed bit times. If the USB333x was operating in High Speed mode before the suspend, the host must change to High Speed mode before the SE0 ends. SE0 is two Low Speed bit times which is about 1.2 us. For more details please see sections 7.1.77 and 7.9 of the USB Specification. In device mode, the resume K will not append an SE0, but release the bus to the correct idle state, depending upon the operational mode as shown in Table 5.1. The ULPI specification includes a detailed discussion of the resume sequence and the order of operations required. To support Host start-up of less than 1mS the USB333x implements the ULPI AutoResume bit in the Interface Control register. The default AutoResume state is 0 and this bit should be enabled for Host applications. 6.4.1.5 No SYNC and EOP Generation (OpMode = 11) UTMI+ defines OpMode = 11 where no sync and EOP generation occurs in High Speed operation. This is an option to the ULPI specification and not implemented in the USB333x. 6.4.2 Typical USB Transmit with ULPI Figure 6.9 shows a typical USB transmit sequence. A transmit sequence starts by the Link sending a TX CMD where DATA[7:6] = 01b, DATA[5:4] = 00b, and Data[3:0] = PID. The TX CMD with the PID is followed by transmit data. CLK DATA[7:0] TXD CMD (USB tx) Idle D0 D1 D2 D3 IDLE Turn Around RXD CMD Turn Around DIR NXT STP DP/DM SE0 !SQUELCH SE0 Figure 6.9 ULPI Transmit in Synchronous Mode During transmit the PHY will use NXT to control the rate of data flow into the PHY. If the USB333x pipeline is full or bit-stuffing causes the data pipeline to overfill NXT is de-asserted and the Link will hold the value on Data until NXT is asserted. The USB Transmit ends when the Link asserts STP while NXT is asserted. Note: The Link cannot assert STP with NXT de-asserted since the USB333x is expecting to fetch another byte from the Link. After the USB333x completes transmitting, the DP and DM lines return to idle and a RXCMD is returned to the Link so the inter-packet timers may be updated by linestate. Revision 1.3 (11-20-12) 64 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet While operating in Full Speed or Low Speed, an End-of-Packet (EOP) is defined as SE0 for approximately two bit times, followed by J for one bit time. The transceiver drives a J state for one bit time following the SE0 to complete the EOP. The Link must wait for one bit time following line state indication of the SE0 to J transition to allow the transceiver to complete the one bit time J state. All bit times are relative to the speed of transmission. In the case of Full Speed or Low Speed, after STP is asserted each FS/LS bit transition will generate a RXCMD since the bit times are relatively slow. 6.4.2.1 Link Power Management Token Transmit A Host Link can send a LPM command using the USB333x. When sending the LPM token the normal transmit method is not used. Sending a LPM token requires the USB333x to send a 0000b or `F0' PID. When the ULPI specification was defined the `F0' PID was not defined. The ULPI specification used the "Reserved" `F0' PID to signal chirp and resume signaling while using OpMode 10b. While in OpMode 00b the USB333x is able to generate the `F0' PID as shown below. CLK DATA[7:0] Idle TXD CMD (40h TX NOPID ) PID (F0h) D0 D1 Turn Around IDLE Turn Around RXD CMD IDLE DIR NXT STP DP/DM SE0 !SQUELCH SE0 Figure 6.10 LPM Token Transmit To send the `F0' PID, the link will be required to use the TX CMD with NOPID to initiate the transmit and then follow up the TX CMD with the `F0' PID. The data bytes follow as in a normal transmit, in OpMode 00b. The key difference is in that the link will have to send the PID the same as it would send a data packet. The USB333x is able to recognize the LPM transmit and correctly send the PID information. 6.5 Low Power Mode Low Power Mode is a power down state to save current when the USB session is suspended. The Link controls when the PHY is placed into or out of Low Power Mode. In Low Power Mode all of the circuits are powered down except the interface pins, Full Speed receiver, VBUS comparators, and IdGnd comparator. The VBUS and ID comparators can optionally be powered down to save current as shown in Section 6.5.5. Before entering Low Power Mode, the USB333x must be configured to set the desired state of the USB transceiver. The XcvrSelect[1:0], TermSelect and OpMode[1:0] bits in the Function Control register, and the DpPulldown and DmPulldown bits in the OTG Control register control the configuration as shown in Table 5.1. The DP and DM pins are configured to a high impedance state by configuring OpMode[1:0] = 01 as shown in the programming example in Table 6.8. Pull-down resistors with a value of approximately 2M are present on the DP and DM pins to avoid false linestate indications that could result if the pins were allowed to float. SMSC USB333x 65 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 6.5.1 Entering Low Power/Suspend Mode To enter Low Power Mode, the Link will write a 0 or clear the SuspendM bit in the Function Control register. After this write is complete, the PHY will assert DIR high and after a minimum of five rising edges of CLKOUT, drive the clock low. After the clock is stopped, the PHY will enter a low power state to conserve current. Placing the PHY in Suspend Mode is not related to USB Suspend. To clarify this point, USB Suspend is initiated when a USB host stops data transmissions and enters Full-Speed mode with 15K pull-down resistors on DP and DM. The suspended device goes to Full-Speed mode with a pull-up on DP. Both the host and device remain in this state until one of them drives DM high (this is called a resume). T0 T1 T2 T3 T4 T5 T6 CLK DATA[7:0] TXD CMD (reg write) Idle Reg Data[n] Idle Turn Around ... T10 Low Power Mode DIR STP NXT SUSPENDM (ULPI Register Bit) Figure 6.11 Entering Low Power Mode from Synchronous Mode While in Low Power Mode, the Data interface is redefined so that the Link can monitor Linestate and the VBUS voltage. In Low Power Mode DATA[3:0] are redefined as shown in Table 6.7. Linestate[1:0] is the combinational output of the Single-Ended Receivers. The "int" or interrupt signal indicates an unmasked interrupt has occurred. When an unmasked interrupt or linestate change has occurred, the Link is notified and can determine if it should wake-up the PHY. Table 6.7 Interface Signal Mapping During Low Power Mode SIGNAL MAPS TO DIRECTION DESCRIPTION linestate[0] DATA[0] OUT Combinatorial LineState[0] driven directly by the Full-Speed single ended receiver. Note 6.12 linestate[1] DATA[1] OUT Combinatorial LineState[1] driven directly by the Full-Speed single ended receiver. Note 6.12 reserved DATA[2] OUT Driven Low int DATA[3] OUT Active high interrupt indication. Must be asserted whenever any unmasked interrupt occurs. reserved DATA[7:4] OUT Driven Low Revision 1.3 (11-20-12) 66 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Note 6.12 LineState: These signals reflect the current state of the Full-Speed single ended receivers. LineState[0] directly reflects the current state of DP. LineState[1] directly reflects the current state of DM. When DP=DM=0 this is called "Single Ended Zero" (SE0). When DP=DM=1, this is called "Single Ended One" (SE1). An unmasked interrupt can be caused by the following comparators changing state: VbusVld, SessVld, SessEnd, and IdGnd. If any of these signals change state during Low Power Mode and the bits are enabled in either the USB Interrupt Enable Rising or USB Interrupt Enable Falling registers, DATA[3] will assert. During Low Power Mode, the VbusVld and SessEnd comparators can have their interrupts masked to lower the suspend current as described in Section 6.5.5. While in Low Power Mode, the Data bus is driven asynchronously because all of the PHY clocks are stopped during Low Power Mode. 6.5.2 Exiting Low Power Mode To exit Low Power Mode, the Link will assert STP. Upon the assertion of STP, the USB333x will begin its start-up procedure. After the PHY start-up is complete, the PHY will start the clock on CLKOUT and de-assert DIR. After DIR has been de-asserted, the Link can de-assert STP when ready and start operating in Synchronous Mode. The PHY will automatically set the SuspendM bit to a 1 in the Function Control register. T0 ... CLK LOW POWER MODE DATA[7:0] T1 T2 TURN AROUND T3 DATA BUS IGNORED (SLOW LINK) IDLE (FAST LINK) Fast Link Drives Bus Idle and STP low DIR T4 T5 IDLE Slow Link Drives Bus Idle and STP low STP Note: Not to Scale TSTART Figure 6.13 Exiting Low Power Mode The value for TSTART is given in Table 4.3. Should the Link de-assert STP before DIR is de-asserted, the USB333x will detect this as a false resume request and return to Low Power Mode. This is detailed in Section 3.9.4 of the UTMI+ Low Pin Interface (ULPI) Specification Revision 1.1. 6.5.3 Link Power Management (LPM) When the USB333x is operating with a Link capable of Link Power Management, the Link will place the USB333x in and out of suspend rapidly to conserve power. The USB333x provides a fast suspend recovery that allows the USB333x to meet the suspend recovery time detailed in the Link Power Management ECN to the USB 2.0 specification. SMSC USB333x 67 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet When the Link places the USB333x into suspend during Link Power Management, the LPM Enable bit of the HS Compensation Register must be set to 1. This allows the USB333x to start-up in the time specified in Table 4.3. 6.5.4 Interface Protection ULPI protocol assumes that both the Link and PHY will keep the ULPI data bus driven by either the Link when DIR is low or the PHY when DIR is high. The only exception is when DIR has changed state and a turn around cycle occurs for 1 clock period. In the design of a USB system, there can be cases where the Link may not be driving the ULPI bus to a known state while DIR is low. Two examples where this can happen is because of a slow Link start-up or a hardware reset. 6.5.4.1 Start up Protection Upon start-up, when the PHY de-asserts DIR, the Link must be ready to receive commands and drive Idle on the data bus. If the Link is not ready to receive commands or drive Idle, it must assert STP before DIR is de-asserted. The Link can then de-assert STP when it has completed its start-up. If the Link doesn't assert STP before it can receive commands, the PHY may interpret the data bus state as a TX CMD and transmit invalid data onto the USB bus, or make invalid register writes. When the USB333x sends a RXCMD the Link is required to drive the data bus back to idle at the end of the turn around cycle. If the Link does not drive the databus to idle the USB333x may take the information on the data bus as a TXCMD and transmit data on DP and DM until the Link asserts stop. If the ID pin is floated the last RXCMD from the USB333x will remain on the bus after DIR is deasserted and the USB333x will take this in as a TXCMD. A Link should be designed to have the default POR state of the STP output high and the data bus tristated. The USB333x has weak pull-downs on the data bus to prevent these inputs from floating when not driven. These resistors are only used to prevent the ULPI interface from floating during events when the link ULPI pins may be tri-stated. The strength of the pull down resistors can be found in Table 4.5. The pull downs are not strong enough to pull the data bus low after a ULPI RXCMD, the Link must drive the data bus to idle after DIR is de-asserted. In some cases, a Link may be software configured and not have control of its STP pin until after the PHY has started. In this case, the USB333x has in internal pull-up on the STP input pad which will pull STP high while the Link's STP output is tri-stated. The STP pull-up resistor is enabled on POR and can be disabled by setting the InterfaceProtectDisable bit 7 of the Interface Control register. The STP pull-up resistor will pull-up the Link's STP input high until the Link configures and drives STP high. After the Link completes its start-up, STP can be synchronously driven low. A Link design which drives STP high during POR can disable the pull-up resistor on STP by setting InterfaceProtectDisable bit to 1. A motivation for this is to reduce the suspend current. In Low Power Mode, STP is held low, which would draw current through the pull-up resistor on STP. 6.5.4.2 Warm Reset Designers should also consider the case of a warm restart of a Link with a PHY in Low Power Mode. After the PHY enters Low Power Mode, DIR is asserted and the clock is stopped. The USB333x looks for STP to be asserted to re-start the clock and then resume normal synchronous operation. Should the USB333x be suspended in Low Power Mode, and the Link receives a hardware reset, the PHY must be able to recover from Low Power Mode and start its clock. If the Link asserts STP on reset, the PHY will exit Low Power Mode and start its clock. If the Link does not assert STP on reset, the interface protection pull-up can be used. When the Link is reset, its STP output will tri-state and the pull-up resistor will pull STP high, signaling the PHY to restart its clock. Revision 1.3 (11-20-12) 68 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 6.5.5 Minimizing Current in Low Power Mode In order to minimize the suspend current in Low Power Mode, the VBUS and ID comparators can be disabled to reduce suspend current. In Low Power Mode, the VbusVld and SessEnd comparators are not needed and can be disabled by clearing the associated bits in both the USB Interrupt Enable Rising and USB Interrupt Enable Falling registers. By disabling the interrupt in BOTH the rise and fall registers, the SessEnd and VbusVld comparators are turned off. The IdFloatRise and IdFloatFall bits in Carkit Interrupt Enable register should also be disabled if they were set. When exiting Low Power Mode, the Link should immediately re-enable the VbusVld and SessEnd comparators if host or OTG functionality is required. In addition to disabling the OTG comparators in Low Power Mode, the Link may choose to disable the Interface Protect Circuit. By setting the InterfaceProtectDisable bit high in the Interface Control register, the Link can disable the pull-up resistor on STP. When RESETB is low the Interface Protect Circuit will be disabled. 6.6 Full Speed/Low Speed Serial Modes The USB333x includes two serial modes to support legacy Links which use either the 3pin or 6pin serial format. To enter either serial mode, the Link will need to write a 1 to the 6-pin FsLsSerialMode or the 3-pin FsLsSerialMode bits in the Interface control register. Serial Mode may be used to conserve power when attached to a device that is not capable of operating in High Speed. The serial modes are entered in the same manner as the entry into Low Power Mode. The Link writes the Interface Control register bit for the specific serial mode. The USB333x will assert DIR and shut off the clock after at least five clock cycles. Then the data bus goes to the format of the serial mode selected. Before entering Serial Mode the Link must set the ULPI transceiver to the appropriate mode as defined in Table 5.1. In ULPI Clock Out Mode, the PHY will shut off the 60MHz clock to conserve power. Should the Link need the 60MHz clock to continue during the serial mode of operation, the ClockSuspendM bit[3] of the Interface Control Register should be set before entering a serial mode. If set, the 60 MHz clock will be present during serial modes. In serial mode, interrupts are possible from unmasked sources. The state of each interrupt source is sampled prior to the assertion of DIR and this is compared against the asynchronous level from interrupt source. Exiting the serial modes is the same as exiting Low Power Mode. The Link must assert STP to signal the PHY to exit serial mode. When the PHY can accept a command, DIR is de-asserted and the PHY will wait until the Link de-asserts STP to resume synchronous ULPI operation. The RESETB pin can also be pulsed low to reset the USB333x and return it to Synchronous Mode. 6.6.1 3-Pin FS/LS Serial Mode Three pin serial mode utilizes the data bus pins for the serial functions shown in Table 6.8. Table 6.8 Pin Definitions in 3 pin Serial Mode SIGNAL CONNECTED TO DIRECTION tx_enable DATA[0] IN Active High transmit enable. data DATA[1] I/O TX differential data on DP/DM when tx_enable is high. RX differential data from DP/DM when tx_enable is low. SMSC USB333x DESCRIPTION 69 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 6.8 Pin Definitions in 3 pin Serial Mode (continued) SIGNAL CONNECTED TO DIRECTION SE0 DATA[2] I/O interrupt DATA[3] OUT Asserted when any unmasked interrupt occurs. Active high. Reserved DATA[7:4] OUT Driven Low. 6.6.2 DESCRIPTION TX SE0 on DP/DM when tx_enable is high. RX SE0_b from DP/DM when tx_enable is low. 6-Pin FS/LS Serial Mode Six pin serial mode utilizes the data bus pins for the serial functions shown in Table 6.9. Table 6.9 Pin Definitions in 6 pin Serial Mode SIGNAL CONNECTED TO DIRECTION tx_enable DATA[0] IN Active High transmit enable. tx_data DATA[1] IN Tx differential data on DP/DM when tx_enable is high. tx_se0 DATA[2] IN Tx SE0 on DP/DM when tx_enable is high. interrupt DATA[3] OUT Asserted when any unmasked interrupt occurs. Active high. rx_dp DATA[4] OUT Single ended receive data on DP. rx_dm DATA[5] OUT Single ended receive data on DM. rx_rcv DATA[6] OUT Differential receive data from DP and DM. Reserved DATA[7] OUT Driven Low. 6.7 DESCRIPTION Carkit Mode The USB333x includes Carkit Mode to support a USB UART and USB Audio Mode. By entering Carkit Mode, the USB333x current drain is minimized. The internal PLL is disabled and the 60MHz ULPI CLKOUT will be stopped to conserve power by default. The Link may configure the 60MHz clock to continue by setting the ClockSuspendM bit of the Interface Control register before entering Carkit Mode. If set, the 60 MHz clock will continue during the Carkit Mode of operation. In Carkit Mode, interrupts are possible if they have been enabled in the Carkit Interrupt Enable register. The state of each interrupt source is sampled prior to the assertion of DIR and this is compared against the asynchronous level from interrupt source. In Carkit Mode, the Linestate signals are not available per the ULPI specification. The ULPI interface is redefined to the following when Carkit Mode is entered. Revision 1.3 (11-20-12) 70 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 6.10 Pin Definitions in Carkit Mode CONNECTED TO SIGNAL DIRECTION DESCRIPTION txd DATA[0] IN UART TXD signal that is routed to the DM pin if the TxdEn is set in the Carkit Control register. rxd DATA[1] OUT UART RXD signal that is routed to the DP pin if the RxdEn bit is set in the Carkit Control register. reserved DATA[2] OUT Driven Low (CarkitDataMC = 0, default) IN Tri-state (CarkitDataMC = 1) int DATA[3] OUT Asserted when any unmasked interrupt occurs. Active high. reserved DATA[4:7] OUT Driven Low. Exiting Carkit Mode is the same as exiting Low Power Mode as described in Section 6.5.2. The Link must assert STP to signal the PHY to exit serial mode. When the PHY can accept a command, DIR is de-asserted and the PHY will wait until the Link de-asserts STP to resume synchronous ULPI operation. The RESETB pin can also be pulsed low to reset the USB333x and return it to Synchronous Mode. 6.7.1 Entering USB UART Mode The USB333x can be placed into UART Mode by first setting the TxdEn and RxdEn bits in the Carkit Control register. Then the Link can set the CarkitMode bit in the Interface Control register. The TxdEn and RxdEn bits must be written before the CarkitMode bit. Table 6.11 ULPI Register Programming Example to Enter UART Mode R/W ADDRESS (HEX) VALUE (HEX) W 04 W DESCRIPTION RESULT 49 Configure Non-Driving mode Select FS transmit edge rates OpMode=01 XcvrSelect=01 39 00 Set regulator to 3.3V UART RegOutput=00 W 19 0C Enable UART connections RxdEn=1 TxdEn=1 W 07 04 Enable carkit mode CarkitMode=1 After the CarkitMode bit is set, the ULPI interface will become redefined as described in Table 6.10, and the USB333x will transmit data through the DATA[0] to DM of the USB connector and receive data on DP and pass the information the Link on DATA[1]. When entering UART mode, the regulator output will automatically switch to the value configured by the UART RegOutput bits in the USB IO & Power Management register and the RCD pull-up resistors will be applied internally to DP and DM. This will hold the UART in its default operating state. While in UART mode, the transmit edge rates can be set to either the Full Speed USB or Low Speed USB edge rates by using the XcvrSelect[1:0] bits in the Function Control register. SMSC USB333x 71 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 6.7.2 USB Audio Mode (USB3331, USB3336, and USB3338) When the USB333x is powered in Synchronous Mode, the Audio switches can be enabled by asserting the SpkLeftEn, or SpkRightEn bits in the Carkit Control register. After the register write is complete, the USB333x will immediately enable or disable the audio switch. Then the Link can set the CarkitMode bit in the Interface Control register. The SpkLeftEn, or SpkRightEn bits must be written before the CarkitMode bit. Table 6.12 ULPI Register Programming Example to Enter Audio Mode R/W ADDRESS (HEX) VALUE (HEX) DESCRIPTION RESULT W 04 48 Configure Non-Driving mode OpMode=01 W 19 30 Enable Audio connections SpkrRightEn=1, SpkrLeftEn=1 W 07 04 Enable carkit mode CarkitMode=1 After the CarkitMode bit is set, the ULPI interface will become redefined as described in Table 6.10. 6.8 RID Converter Operation The RID converter is designed to read the value of the ID resistance to ground and report back its value through the ULPI interface. When a resistor to ground is applied to the ID pin the state of the IdGnd comparator will change from a 1 to a 0 as described in Section 5.6.1. If the USB333x is in ULPI mode, an RXCMD will be generated with bit 6 low. If the USB333x is in Low Power Mode (or one of the other non-ULPI modes), the DATA[3] interrupt signal will go high. After the USB333x has detected the change of state on the ID pin, the RID converter can be used to determine the value of ID resistance. To start a ID resistance measurement, the RidConversionStart bit is set in the Vendor Rid Conversion register. The Link can use one of two methods to determine when the RID Conversion is complete. One method is polling the RidConversionStart bit as described in Section 7.1.3.4. The preferred method is to set the RidIntEn bit in the Vendor Rid Conversion register. When RidIntEn is set, an RXCMD will be generated after the RID conversion is complete. As described in Table 6.3, the alt_int bit of the RXCMD will be set. After the RID Conversion is complete, the Link can read RidValue from the Vendor Rid Conversion register. 6.9 Headset Audio Mode This mode is designed to allow a user to view the status of several signals while using an analog Audio headset with a USB connector. This mode is provided as an alternate mode to the CarKit Mode defined in Chapter 6.7. In the CarKit mode the Link is unable to view the source of the interrupt on ID. For the Link to view the interrupt on ID the PHY must be returned to synchronous mode so the interrupt can be read. This will force the audio switches to be deactivated during the PHY start-up which may glitch the audio signals. In addition the Link can not change the resistance on the ID pin without starting up the PHY to access the ULPI registers. The Headset Audio Mode is entered by writing to the Headset Audio Mode register, and allows the Link access to the state of the VBUS and ID pins during audio without having to break the audio Revision 1.3 (11-20-12) 72 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet connection. The Headset Audio mode also allows for the Link to change the resistance on the ID pin to change the audio device attached from mono to stereo. Table 6.13 Pin Definitions in Headset Audio Mode CONNECTED TO SIGNAL DIRECTION DESCRIPTION SessVld DATA[0] OUT Output of SessVld comparator VbusVld DATA[1] OUT Output of VbusVld Comparator (interrupt must be enabled) IdGndDrv DATA[2] IN Drives ID pin to ground when asserted 0b: Not connected 1b: Connects ID to ground. DATA[3] OUT Driven low IdGround DATA[4] OUT Asserted when the ID pin is grounded. 0b: ID pin is grounded 1b: ID pin is floating IdFloat DATA[5] OUT Asserted when the ID pin is floating. IdPullup or Id_pullup330 must be enabled. IdFloatRise and IdFloatFall must be enabled. IdPullup330 DATA[6] IN When enabled a 330k pullup is applied to the ID pin. This bit will also change the trip point of the IdGnd comparator to the value shown in Table 4.9. 0b: Disables the pull-up resistor 1b: Enables the pull-up resistor IdPullup DATA[7] IN Connects the 100k pull-up resistor from the ID pin to VDD3.3 0b: Disables the pull-up resistor 1b: Enables the pull-up resistor Exiting Headset Audio Mode is the same as exiting Low Power Mode as described in Section 6.5.2. The RESETB pin can also be pulsed low to reset the USB333x and return to Synchronous Mode. SMSC USB333x 73 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Chapter 7 ULPI Register Map 7.1 ULPI Register Array The USB333x PHY implements all of the ULPI registers detailed in the ULPI revision 1.1 specification. The complete USB333x ULPI register set is shown in Table 7.1. All registers are 8 bits. This table also includes the default state of each register upon POR or de-assertion of RESETB, as described in Section 5.5.2. The RESET bit in the Function Control Register does not reset the bits of the ULPI register array. The Link should not read or write to any registers not listed in this table. The USB333x supports extended register access. The immediate register set (00-3Fh) can be accessed through either a immediate address or an extended register address. Table 7.1 ULPI Register Map ADDRESS (6BIT) DEFAULT STATE READ WRITE SET CLEAR Vendor ID Low 24h 00h - - - Vendor ID High 04h 01h - - - Product ID Low 0Bh 02h - - - Product ID High 00h 03h - - - Function Control 41h 04-06h 04h 05h 06h Interface Control 00h 07-09h 07h 08h 09h OTG Control 06h 0A-0Ch 0Ah 0Bh 0Ch USB Interrupt Enable Rising 1Fh 0D-0Fh 0Dh 0Eh 0Fh USB Interrupt Enable Falling 1Fh 10-12h 10h 11h 12h USB Interrupt Status (Note 7.1) 00h 13h - - - USB Interrupt Latch 00h 14h - - - Debug 00h 15h - - - Scratch Register 00h 16-18h 16h 17h 18h Carkit Control 00h 19-1Bh 19h 1Ah 1Bh Reserved 00h Carkit Interrupt Enable 00h 1D-1Fh 1Dh 1Eh 1Fh Carkit Interrupt Status 00h 20h - - - Carkit Interrupt Latch 00h 21h - - - Reserved 00h HS Compensation Register 00h 31h 31h - - USB-IF Charger Detection 00h 32h 32h - - REGISTER NAME Revision 1.3 (11-20-12) 74 1Ch DATASHEET 22-30h SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 7.1 ULPI Register Map (continued) ADDRESS (6BIT) DEFAULT STATE READ WRITE SET CLEAR Headset Audio Mode 00 33 33 - - Reserved 00h Vendor Rid Conversion 00h 36-38h 36h 37h 38h USB IO & Power Management 04h 39-3Bh 39h 3Ah 3Bh Reserved 00h REGISTER NAME Note 7.1 7.1.1 34-35h 3C-3Fh Dynamically updates to reflect current status of interrupt sources. ULPI Register Set The following registers are used for the ULPI interface. 7.1.1.1 Vendor ID Low Address = 00h (read only) FIELD NAME BIT ACCESS DEFAULT Vendor ID Low 7:0 rd 24h 7.1.1.2 DESCRIPTION SMSC Vendor ID Vendor ID High Address = 01h (read only) FIELD NAME BIT ACCESS DEFAULT Vendor ID High 7:0 rd 04h 7.1.1.3 DESCRIPTION SMSC Vendor ID Product ID Low ARCHITECTURE NOTE: Address = 02h (read only) FIELD NAME BIT ACCESS DEFAULT Product ID Low 7:0 rd Note 7.2 Note 7.2 SMSC USB333x DESCRIPTION SMSC Product ID USB333x: Default = 0Bh 75 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 7.1.1.4 Product ID High Address = 03h (read only) FIELD NAME BIT ACCESS DEFAULT Product ID High 7:0 rd 00h 7.1.1.5 DESCRIPTION SMSC Product ID Function Control Address = 04-06h (read), 04h (write), 05h (set), 06h (clear) FIELD NAME BIT ACCESS DEFAULT XcvrSelect[1:0] 1:0 rd/w/s/c 01b Selects the required transceiver speed. 00b: Enables HS transceiver 01b: Enables FS transceiver 10b: Enables LS transceiver 11b: Enables FS transceiver for LS packets (FS preamble automatically pre-pended) 2 rd/w/s/c 0b Controls the DP and DM termination depending on XcvrSelect, OpMode, DpPulldown, and DmPulldown. The DP and DM termination is detailed in Table 5.1. 4:3 rd/w/s/c 00b Selects the required bit encoding style during transmit. 00b: Normal Operation 01b: Non-Driving 10b: Disable bit-stuff and NRZI encoding 11b: Reserved Reset 5 rd/w/s/c 0b Active high transceiver reset. This reset does not reset the ULPI interface or register set. Automatically clears after reset is complete. SuspendM 6 rd/w/s/c 1b Active low PHY suspend. When cleared the PHY will enter Low Power Mode as detailed in 6.5. Automatically set when exiting Low Power Mode. LPM Enable 7 rd/w/s/c 0b When enabled the PLL start-up time is shortened to allow fast start-up for LPM. The reduced PLL start-up time is achieved by bypassing the VCO process compensation which was done on initial start-up. TermSelect OpMode Revision 1.3 (11-20-12) 76 DESCRIPTION DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 7.1.1.6 Interface Control Address = 07-09h (read), 07h (write), 08h (set), 09h (clear) FIELD NAME BIT ACCESS DEFAULT DESCRIPTION 6-pin FsLsSerialMode 0 rd/w/s/c 0b When asserted the ULPI interface is redefined to the 6-pin Serial Mode. The PHY will automatically clear this bit when exiting serial mode. 3-pin FsLsSerialMode 1 rd/w/s/c 0b When asserted the ULPI interface is redefined to the 3-pin Serial Mode. The PHY will automatically clear this bit when exiting serial mode. CarkitMode 2 rd/w/s/c 0b When asserted the ULPI interface is redefined to the Carkit interface. The PHY will automatically clear this bit when exiting Carkit Mode. ClockSuspendM 3 rd/w/s/c 0b Enables Link to turn on 60MHz CLKOUT in Serial Mode or Carkit Mode. 0b: Disable clock in serial or Carkit Mode. 1b: Enable clock in serial or Carkit Mode. AutoResume 4 rd/w/s/c 0b Only applicable in Host mode. Enables the PHY to automatically transmit resume signaling. This function is detailed in Section 6.4.1.4. IndicatorComplement 5 rd/w/s/c 0b Inverts the EXTVBUS signal. This function is detailed in Section 5.6.2. Note: IndicatorPassThru 6 rd/w/s/c 0b Disables and'ing the internal VBUS comparator with the EXTVBUS signal when asserted. This function is detailed in Section 5.6.2. Note: InterfaceProtectDisable 7.1.1.7 7 rd/w/s/c The EXTVBUS signal is always high on the USB333x. 0b The EXTVBUS signal is always high on the USB333x. Used to disable the integrated STP pull-up resistor used for interface protection. This function is detailed in Section 6.5.4. OTG Control Address = 0A-0Ch (read), 0Ah (write), 0Bh (set), 0Ch (clear) FIELD NAME BIT ACCESS DEFAULT IdPullup 0 rd/w/s/c 0b Connects a 100k pull-up resistor from the ID pin to VDD33 0b: Disables the pull-up resistor 1b: Enables the pull-up resistor DpPulldown 1 rd/w/s/c 1b Enables the 15k Ohm pull-down resistor on DP. 0b: Pull-down resistor not connected 1b: Pull-down resistor connected SMSC USB333x 77 DESCRIPTION DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet FIELD NAME BIT ACCESS DEFAULT DESCRIPTION DmPulldown 2 rd/w/s/c 1b Enables the 15k Ohm pull-down resistor on DM. 0b: Pull-down resistor not connected 1b: Pull-down resistor connected DischrgVbus 3 rd/w/s/c 0b This bit is only used during SRP. Connects a resistor from VBUS to ground to discharge VBUS. 0b: disconnect resistor from VBUS to ground 1b: connect resistor from VBUS to ground ChrgVbus 4 rd/w/s/c 0b This bit is only used during SRP. Connects a resistor from VBUS to VDD33 to charge VBUS above the SessValid threshold. 0b: disconnect resistor from VBUS to VDD33 1b: connect resistor from VBUS to VDD33 DrvVbus 5 rd/w/s/c 0b Not Implemented. DrvVbusExternal 6 rd/w/s/c 0b Not Implemented. UseExternalVbus Indicator 7 rd/w/s/c 0b Tells the PHY to use an external VBUS over-current or voltage indicator. This function is detailed in Section 5.6.2. 0b: Use the internal VbusValid comparator 1b: Use the EXTVBUS input as for VbusValid signal. Note: 7.1.1.8 The EXTVBUS signal is always high on the USB333x. USB Interrupt Enable Rising Address = 0D-0Fh (read), 0Dh (write), 0Eh (set), 0Fh (clear) FIELD NAME BIT ACCESS DEFAULT HostDisconnect Rise 0 rd/w/s/c 1b Generate an interrupt event notification when Hostdisconnect changes from low to high. Applicable only in host mode. VbusValid Rise 1 rd/w/s/c 1b Generate an interrupt event notification when Vbusvalid changes from low to high. SessValid Rise 2 rd/w/s/c 1b Generate an interrupt event notification when SessValid changes from low to high. SessEnd Rise 3 rd/w/s/c 1b Generate an interrupt event notification when SessEnd changes from low to high. IdGnd Rise 4 rd/w/s/c 1b Generate an interrupt event notification when IdGnd changes from low to high. 7:5 rd 0h Read only, 0. Reserved Revision 1.3 (11-20-12) 78 DESCRIPTION DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 7.1.1.9 USB Interrupt Enable Falling Address = 10-12h (read), 10h (write), 11h (set), 12h (clear) FIELD NAME BIT ACCESS DEFAULT HostDisconnect Fall 0 rd/w/s/c 1b Generate an interrupt event notification when Hostdisconnect changes from high to low. Applicable only in host mode. VbusValid Fall 1 rd/w/s/c 1b Generate an interrupt event notification when Vbusvalid changes from high to low. SessValid Fall 2 rd/w/s/c 1b Generate an interrupt event notification when SessValid changes from high to low. SessEnd Fall 3 rd/w/s/c 1b Generate an interrupt event notification when SessEnd changes from high to low. IdGnd Fall 4 rd/w/s/c 1b Generate an interrupt event notification when IdGnd changes from high to low. Reserved 7:5 rd 0h Read only, 0. 7.1.1.10 DESCRIPTION USB Interrupt Status Address = 13h (read only) This register dynamically updates to reflect current status of interrupt sources. FIELD NAME BIT ACCESS DEFAULT DESCRIPTION HostDisconnect 0 0b Current value of the UTMI+ HS Hostdisconnect output. Applicable only in host mode. VbusValid 1 0b Current value of the UTMI+ Vbusvalid output. If VbusValid Rise and VbusValid Fall are set this register will read 0. SessValid 2 0b Current value of the UTMI+ SessValid output. This register will always read the current status of the Session Valid comparator regardless of the SessValid Rise and SessValid Fall settings. SessEnd 3 0b Current value of the UTMI+ SessEnd output. If SessEnd Rise and SessEnd Fall are set this register will read 0. IdGnd 4 0b Current value of the UTMI+ IdGnd output. 7:5 0h Read only, 0. Reserved rd (read only) Note: The default value is only valid after POR. When the register is read it will match the current status of the comparators at the moment the register is read. SMSC USB333x 79 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 7.1.1.11 USB Interrupt Latch Address = 14h (read only with auto clear) FIELD NAME BIT ACCESS DEFAULT DESCRIPTION HostDisconnect Latch 0 0b Set to 1b by the PHY when an unmasked event occurs on Hostdisconnect. Cleared when this register is read. Applicable only in host mode. VbusValid Latch 1 0b Set to 1b by the PHY when an unmasked event occurs on VbusValid. Cleared when this register is read. SessValid Latch 2 0b Set to 1b by the PHY when an unmasked event occurs on SessValid. Cleared when this register is read. SessEnd Latch 3 0b Set to 1b by the PHY when an unmasked event occurs on SessEnd. Cleared when this register is read. IdGnd Latch 4 0b Set to 1b by the PHY when an unmasked event occurs on IdGnd. Cleared when this register is read. 0h Read only, 0. Reserved 7:5 Note 7.3 7.1.1.12 rd (Note 7.3) rd rd: Read Only with auto clear. Debug Address = 15h (read only) FIELD NAME BIT ACCESS DEFAULT Linestate[1:0] 1:0 rd 00b Reserved 7:2 rd 000000b 7.1.1.13 DESCRIPTION Contains the current value of Linestate[1:0]. Read only, 0. Scratch Register Address = 16-18h (read), 16h (write), 17h (set), 18h (clear) FIELD NAME BIT ACCESS DEFAULT Scratch 7:0 rd/w/s/c 00h Revision 1.3 (11-20-12) DESCRIPTION Empty register byte for testing purposes. Software can read, write, set, and clear this register and the PHY functionality will not be affected. 80 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 7.1.2 Carkit Control Registers The following registers are used to set-up and enable the USB UART and USB Audio functions. 7.1.2.1 Carkit Control Address = 19-1Bh (read), 19h (write), 1Ah (set), 1Bh (clear) This register is used to program the USB333x into and out of the Carkit Mode. When entering the UART mode the Link must first set the desired TxdEn and the RxdEn bits and then transition to Carkit Mode by setting the CarkitMode bit in the Interface Control Register. When RxdEn is not set then the DATA[1] pin is held to a logic high. FIELD NAME BIT ACCESS DEFAULT DESCRIPTION CarkitPwr 0 rd 0b Read only, 0. IdGndDrv 1 rd/w/s/c 0b Drives ID pin to ground TxdEn 2 rd/w/s/c 0b Connects UART TXD (DATA[0]) to DM RxdEn 3 rd/w/s/c 0b Connects UART RXD (DATA[1]) to DP SpkLeftEn 4 rd/w/s/c 0b Connects DM pin to SPK_L pin SpkRightEn 5 rd/w/s/c 0b Connects DP pin to SPK_R pin. See Note below. MicEn 6 rd/w/s/c 0b Connects DP pin to SPK_R pin. See Note below. CarkitDataMC 7 rd/w/s/c 0b When set the UPLI DATA[2] pin is changed from a driven 0 to tri-state, when carkit mode is entered. Note: USB3331, USB3336, and USB3338 Only: If SpkRightEn or MicEn are asserted the DP pin will be connected to SPK_R. To disconnect the DP pin from the SPK_R pin both SpkrRightEn and MicEn must be set to de-asserted. If using USB UART mode, the UART data will appear at the SPK_L and SPK_R pins if the corresponding SpkLeftEn, SpkRightEn, or MicEn switches are enabled. If using USB Audio ((USB3331, USB3336, and USB3338 only), the TxdEn and RxdEn bits should not be set when the SpkLeftEn, SpkRightEn, or MicEn switches are enabled. The USB single-ended receivers described in Section 5.2.1 are disabled when either SpkLeftEn, SpkRightEn, or MicEn are set. SMSC USB333x 81 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 7.1.2.2 Carkit Interrupt Enable Address = 1D-1Fh (read), 1Dh (write), 1Eh (set), 1Fh (clear) FIELD NAME BIT ACCESS DEFAULT DESCRIPTION IdFloatRise 0 rd/w/s/c 0b When enabled an interrupt will be generated on the alt_int of the RXCMD byte when the ID pin transitions from non-floating to floating. The IdPullup bit in the OTG Control register should be set. IdFloatFall 1 rd/w/s/c 0b When enabled an interrupt will be generated on the alt_int of the RXCMD byte when the ID pin transitions from floating to non-floating. The IdPullup bit in the OTG Control register should be set. VdatDetIntEn 2 rd/w/s/c 0b When enabled an interrupt will be generated on the alt_int of the RXCMD byte when the VDAT_DET Comparator changes state. CarDpRise 3 rd 0b Not Implemented. Reads as 0b. CarDpFall 4 rd 0b Not Implemented. Reads as 0b. RidIntEn 5 rd/w/s/c 0b When enabled an interrupt will be generated on the alt_int of the RXCMD byte when RidConversionDone bit is asserted. Note: This register bit is or'ed with the RidIntEn bit of the Vendor Rid Conversion register described in Section 7.1.3.4. Reserved 6 rd/w/s/c 0b Read only, 0. Reserved 7 rd 0b Read only, 0. 7.1.2.3 Carkit Interrupt Status Address = 20h (read only) FIELD NAME BIT ACCESS DEFAULT DESCRIPTION IdFloat 0 rd 0b Asserted when the ID pin is floating. IdPullup must be enabled. VdatDet 1 rd 0b VDAT_DET Comparator output 0b: No voltage is detected on DP 1b: Voltage detected on DP, IdatSinkEn must be set to 1. Note: CarDp Revision 1.3 (11-20-12) 2 rd 0b VdatDet can also be read from the USB-IF Charger Detection register described in Section 7.1.3.4. Not Implemented. Reads as 0b. 82 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet FIELD NAME BIT ACCESS DEFAULT RidValue 5:3 rd 000b DESCRIPTION Conversion value of Rid resistor 000: 0 ohms 001: 75 ohms 010: 102K ohms 011: 200K ohms 100: Reserved 101: ID floating 111: Error Note: RidConversionDone 6 rd 0b Automatically asserted by the USB333x when the Rid Conversion is finished. The conversion will take 282uS. This bit will auto clear when the RidValue is read from the Rid Conversion Register. Reading the RidValue from the Carkit Interrupt Status register will not clear either RidConversionDone status bit. Note: Reserved 7.1.2.4 7 rd RidValue can also be read from the Vendor Rid Conversion register described in Section 7.1.3.4. 0b RidConversionDone can also be read from the Vendor Rid Conversion register described in Section 7.1.3.4. Read only, 0. Carkit Interrupt Latch Address = 21h (read only with auto-clear) FIELD NAME BIT ACCESS DEFAULT IdFloat Latch 0 rd (Note 7.4) 0b Asserted if the state of the ID pin changes from nonfloating to floating while the IdFloatRise bit is enabled or if the state of the ID pin changes from floating to non-floating while the IdFloatFall bit is enabled. VdatDet Latch 1 rd 0b If VdatDetIntEn is set and the VdatDet bit changes state, this bit will be asserted. CarDp Latch 2 rd 0b Not Implemented. Reads as 0b. RidConversionLatch 3 rd (Note 7.4) 0b If RidIntEn is set and the state of the RidConversionDone bit changes from a 0 to 1 this bit will be asserted. 7:4 rd 0000b Reserved Note 7.4 SMSC USB333x DESCRIPTION Read only, 0. rd: Read Only with auto clear 83 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet 7.1.3 Vendor Register Access The vendor specific registers include the range from 30h to 3Fh. These can be accessed by the ULPI immediate register read / write. 7.1.3.1 HS Compensation Register Address = 31h (read / write) The USB333x is designed to meet the USB specifications and requirements when the DP and DM signals are properly designed on the PCB. The DP and DM trace impedance should be 45ohm single ended and 90ohm differential. In cases where the DP and DM traces are not able to meet these requirements the HS Compensation register can be used to compensate for the losses in signal amplitude. FIELD NAME BIT ACCESS DEFAULT VariSense 1:0 rd/w 00b Used to lower the threshold of the squelch detector. 00: 100% (default) 01: 83% 10: 66.7% 11: 55% Reserved 2 rd 0b Read only, 0. Reserved 3 rd 0b Read only, 0. PHYBoost 6:4 rd/w 000b Reserved 7 rd 0b 7.1.3.2 DESCRIPTION Used to change the output voltage of the High Speed transmitter 000: Nominal 001: +3.7% 010: -7.4% 011: -3.7% 100: +14.7% 101: +18.3% 110: +7.4% 111: +11.0% Read only, 0. USB-IF Charger Detection Address = 32h (read / write) FIELD NAME BIT ACCESS DEFAULT VDatSrcEn 0 rd/w 0 VDAT_SRC voltage enable 0b: Disabled 1b: Enabled IDatSinkEn 1 rd/w 0 IDAT_SINK current sink and VDAT_DET comparator enable 0b: Disabled, VDAT_DET = 0. 1b: Enabled ContactDetectEn 2 rd/w 0 IDP_SRC Enable 0b: Disabled 1b: Enabled Revision 1.3 (11-20-12) 84 DESCRIPTION DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet FIELD NAME BIT ACCESS DEFAULT DESCRIPTION HostChrgEn 3 rd/w 0 Enable Charging Host Port Mode. 0b: Portable Device 1b: Charging Host Port. When the charging host port bit is set the connections of VDAT_SRC, IDAT_SINK, IDP_SRC, and VDAT_DET are reversed between DP and DM. VdatDet 4 rd 0 VDAT_DET Comparator output. IdatSinkEn must be set to 1 to enable the comparator. 0b: No voltage is detected on DP or Linestate[1:0] is not equal to 00b. 1b: Voltage detected on DP, and Linestate[1:0] = 00b. Note: Reserved 5-7 rd VdatDet can also be read from the Carkit Interrupt Status register described in Section 7.1.2.3. Read only, 0. Note: The charger detection should be turned off before beginning USB operation. USB-IF Charger Detection Bits 2:0 should be set to 000b. 7.1.3.3 Headset Audio Mode Address = 33h (read / write) FIELD NAME BIT ACCESS DEFAULT HeadsetAudioEn 3:0 rd/w 0000b Reserved 7:4 rd 0h 7.1.3.4 DESCRIPTION When this field is set to a value of `1010', the Headset Audio Mode is enabled as described in Section 6.9. Read only, 0. Vendor Rid Conversion Address = 36-38h (read), 36h (write), 37h (set), 38h (clear) FIELD NAME BIT ACCESS DEFAULT RidValue 2:0 rd/w 000b DESCRIPTION Conversion value of Rid resistor 000: 0 ohms 001: 75 ohms 010: 100K ohms 011: 200K ohms 100: Reserved 101: ID floating 111: Error Note: SMSC USB333x 85 DATASHEET RidValue can also be read from the Carkit Interrupt Status Register. Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet FIELD NAME RidConversionDone BIT ACCESS DEFAULT 3 rd (Note 7.5) 0b DESCRIPTION Automatically asserted by the USB333x when the Rid Conversion is finished. The conversion will take 282uS. This bit will auto clear when the RidValue is read from the Rid Conversion Register. Reading the RidValue from the Carkit Interrupt Status Register will not clear either RidConversionDone status bit. Note: RidConversionDone can also be read from the Carkit Interrupt Status Register. RidConversionStart 4 rd/w/s/c 0b When this bit is asserted either through a register write or set, the Rid converter will read the value of the ID resistor. When the conversion is complete this bit will auto clear. Reserved 5 rd/w/s/c 0b This bit must remain at 0. RidIntEn 6 rd/w/s/c 0b When enabled an interrupt will be generated on the alt_int of the RXCMD byte when RidConversionDone bit is asserted. Note: Reserved 7 Note 7.5 7.1.3.5 rd 0b This register bit is or'ed with the RidIntEn bit of the Carkit Interrupt Status register. Read only, 0. rd: Read Only with auto clear USB IO & Power Management Address = 39-3Bh (read), 39h (write), 3Ah (set), 3Bh (clear) FIELD NAME BIT ACCESS DEFAULT Reserved 0 rd/w/s/c 0b Read only, 0. SwapDP/DM 1 rd/w/s/c 0b When asserted, the DP and DM pins of the USB PHY are swapped. This bit can be used to prevent crossing the DP/DM traces on the board. In UART mode, it swaps the routing to the DP and DM pins. In USB Audio Mode, it does not affect the SPK_L and SPK_R pins. 3:2 rd/w/s/c 01b Controls the output voltage of the VBAT to VDD33 regulator in UART mode. When the PHY is switched from USB mode to UART mode regulator output will automatically change to the value specified in this register when TxdEn is asserted. 00: 3.3V 01: 3.0V (default) 10: 2.75V 11: 2.5V UART RegOutput DESCRIPTION Note: Revision 1.3 (11-20-12) 86 DATASHEET When in USB Audio Mode the regulator will remain at 3.3V. When using this register it is recommended that the Link exit UART mode by using the RESETB pin. SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet FIELD NAME BIT ACCESS DEFAULT ChargerPullupEnDP 4 rd/w/s/c 0b Enables the RCD Pull-up resistor on the DP pin. (The pull-up is automatically enabled in UART mode) ChargerPullupEnDM 5 rd/w/s/c 0b Enables the RCD Pull-up resistor on the DM pin. (The pull-up is automatically enabled in UART mode) 7:6 rd/w/s/c 00b Controls the output voltage of the VBAT to VDD33 regulator in USB mode. When the PHY is in Synchronous Mode, Serial Mode, or Low Power Mode, the regulator output will be the value specified in this register. 00: 3.3V (default) 01: 3.0V 10: 2.75V 11: 2.5V USB RegOutput SMSC USB333x 87 DESCRIPTION DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Chapter 8 Application Notes 8.1 Application Diagram The USB333x requires few external components as shown in the application diagrams. The USB 2.0 Specification restricts the voltage at the VBUS pin to a maximum value of 5.25V. In some applications, the voltage will exceed this limit, so the USB333x provides an integrated over voltage protection circuit. The over voltage protection circuit works with an external resistor (RVBUS) to lower the voltage at the VBUS pin. Table 8.1 Component Values in Application Diagrams REFERENCE DESIGNATOR VALUE DESCRIPTION NOTES COUT See Table 4.12 Bypass capacitor to ground (<1 ESR) for regulator stability. Place as close as possible to the PHY. CVBUS See Table 8.2 Capacitor to ground required by the USB Specification. SMSC recommends <1 ESR. Place near the USB connector. CBYP System dependent. Bypass capacitor to ground. Typical values used are 0.1 or 0.01 F. Place as close as possible to the PHY. RVBUS 1k or 20k Series resistor to work with internal over voltage protection. See Section 5.6.2.6 for information regarding power dissipation. RBIAS 8.06k (1%) Series resistor to establish reference voltage. See Section 5.3 for information regarding power dissipation. Table 8.2 Capacitance Values at VBUS of USB Connector MODE MIN VALUE Host 120F Device 1F 10F OTG 1F 6.5F Revision 1.3 (11-20-12) MAX VALUE 88 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet USB3331/USB3336/ USB3338 RVBUS must be installed to enable overvoltage protection of the VBUS pin. RVBUS C2 VBUS C1 VBAT D2 VDD33 3.0-5.5V Supply The capacitor CVBUS must be installed on this side of RVBUS. USB Receptacle CBYP CVBUS COUT VBUS ID DM D1 DM DP E1 DP GND RESETB RESETB DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 STP NXT DIR CLKOUT D3 E4 E5 D4 D5 C4 C5 B4 A3 B5 A4 A5 DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 STP NXT DIR CLKIN REFCLK A2 B1 SHIELD Link Controller B2 REFCLK ULPI Output Clock Mode VDD18 B3 COUT E3 SPK_L E2 SPK_R RBIAS GND A1 RBIAS C3 Optional Switched Signal to DP/DM Figure 8.1 USB333x Device Application Diagram (Configured for ULPI Clock Output Mode) SMSC USB333x 89 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Link Controller CPEN VBUS Switch EN 5V IN RVBUS must be installed to enable overvoltage protection of the VBUS pin. RVBUS USB3330 RESETB B2 OUT The capacitor CVBUS must be installed on this side of RVBUS. C2 VBUS C1 VBAT D2 VDD33 3.0-5.5V Supply CBYP USB Receptacle CVBUS COUT DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 STP NXT DIR CLKOUT D3 E4 E5 D4 D5 C4 C5 B4 A3 B5 A4 A5 CLKOUT ULPI Clock In Mode ID B1 ID DM D1 DM DP E1 DP VDD18 B3 E3 REF[1] RBIAS A1 E2 REF[0] GND DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 STP NXT DIR REFCLK A2 VBUS SHIELD RESETB COUT GND C3 Figure 8.2 USB3330 OTG Application Diagram (Configured for ULPI Clock Input Mode) Revision 1.3 (11-20-12) 90 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet RVBUS must be installed to enable overvoltage protection of the VBUS pin. USB3333 RVBUS D2 VBUS C1 VBAT D3 VDD33 3.0-5.5V Supply The capacitor CVBUS must be installed on this side of RVBUS. CBYP CVBUS USB Receptacle COUT Link Controller RESETB C2 RESETB DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 STP NXT DIR CLKOUT E3 E4 E5 D4 D5 C4 C5 B4 A3 B5 A4 A5 DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 STP NXT DIR CLKIN REFCLK A2 VBUS B1 ID DM D1 DM DP E1 DP VDD18 B2 B3 VDDIO RBIAS E2 REF[0] 1.8-3.3V Supply SHIELD GND COUT REFCLK ULPI Output Clock Mode COUT GND A1 RBIAS C3 REFCLK frequency selected by connecting REF[0] to Ground or VDD33, as defined in Chapter 5. Figure 8.3 USB3333 Host Application Diagram (Configured for ULPI Clock Output Mode) 8.2 USB Charger Detection The USB333x provides the hardware described in the USB Battery Charging Specification. SMSC provides an Application Note which describes how to use the USB333x in a battery charging application. 8.3 Reference Designs SMSC has generated reference designs for connecting the USB333x to SOCs/ASICs with a ULPI port. Please contact the SMSC sales office for more details. 8.4 ESD Performance The USB333x is protected from ESD strikes. By eliminating the requirement for external ESD protection devices, board space is conserved, and the board manufacturer is enabled to reduce cost. SMSC USB333x 91 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet The advanced ESD structures integrated into the USB333x protect the device whether or not it is powered up. 8.4.1 Human Body Model (HBM) Performance HBM testing verifies the ability to withstand the ESD strikes like those that occur during handling and manufacturing, and is done without power applied to the IC. To pass the test, the device must have no change in operation or performance due to the event. The USB333x HBM performance is detailed in Table 4.13. 8.4.2 EN/IEC 61000-4-2 Performance The EN/IEC 61000-4-2 ESD specification is an international standard that addresses system-level immunity to ESD strikes while the end equipment is operational. In contrast, the HBM ESD tests are performed at the device level with the device powered down. SMSC contracts with Independent laboratories to test the USB333x to EN/IEC 61000-4-2 in a working system. Reports are available upon request. Please contact your SMSC representative, and request information on 3rd party ESD test results. The reports show that systems designed with the USB333x can safely provide the ESD performance shown in Table 4.13 without additional board level protection. In addition to defining the ESD tests, EN/IEC 61000-4-2 also categorizes the impact to equipment operation when the strike occurs (ESD Result Classification). The USB333x maintains an ESD Result Classification 1 or 2 when subjected to an EN/IEC 61000-4-2 (level 4) ESD strike. Both air discharge and contact discharge test techniques for applying stress conditions are defined by the EN/IEC 61000-4-2 ESD document. 8.4.2.1 Air Discharge To perform this test, a charged electrode is moved close to the system being tested until a spark is generated. This test is difficult to reproduce because the discharge is influenced by such factors as humidity, the speed of approach of the electrode, and construction of the test equipment. 8.4.2.2 Contact Discharge The uncharged electrode first contacts the USB connector to prepare this test, and then the probe tip is energized. This yields more repeatable results, and is the preferred test method. The independent test laboratories contracted by SMSC provide test results for both types of discharge methods. Revision 1.3 (11-20-12) 92 DATASHEET SMSC USB333x Datasheet Figure 9.1 25WLCSP, 1.97x1.97mm Body, 0.4mm Pitch SMSC USB333x 93 DATASHEET Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Revision 1.3 (11-20-12) Chapter 9 Package Outlines, Tape & Reel Drawings, Package Marking Revision 1.3 (11-20-12) Datasheet Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation 94 DATASHEET SMSC USB333x Figure 9.2 25WLCSP, 1.97x1.97 Tape and Reel Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Figure 9.3 25WLCSP, 1.97x1.97 Reel Dimensions SMSC USB333x 95 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Figure 9.4 25WLCSP, 1.97x1.97 Tape Sections Figure 9.5 Reflow Profile and Critical Parameters for Lead-free (SnAgCu) Solder Revision 1.3 (11-20-12) 96 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Figure 9.6 Package Marking SMSC USB333x 97 DATASHEET Revision 1.3 (11-20-12) Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Chapter 10 Datasheet Revision History Table 10.1 Customer Revision History REVISION LEVEL & DATE Rev. 1.3 (11-20-12) SECTION/FIGURE/ENTRY CORRECTION Document co-branded: Microchip logo added; modification to legal disclaimer. Added to ordering information: "Please contact your SMSC sales representative for additional documentation related to this product such as application notes, anomaly sheets, and design guidelines." Rev. 1.3 (09-07-11) Table 4.2, "Operating Current (USB3333)" Changed "USB HS Idle" to "USB Idle" in the first row under Conditions column. Rev. 1.3 (08-24-11) Document features and Chapter 9, Package Outlines, Tape & Reel Drawings, Package Marking References to "1.95mm x 1.95mm" changed to "1.97mm x 1.97mm". Rev 1.3 (08-22-11) Table 3.1, Maximum Table 3.2, Operating Removed requirement that VDD18 be active while VDDIO is active. Rev. 1.22 (08-25-10) "Absolute Ratings", "Recommended Conditions" Table 2.3, "USB3333 Pin Description" Modified VDDIO Description. Table 4.1, "Operating Current (USB3330, USB3331, USB3336, and USB3338)",Table 4.2, "Operating Current (USB3333)" Updated "Default Configuration" Current. Section 7.1.3.1, "HS Compensation Register" Removed "and LPM" from section title. Section 5.4.3, "REFCLK Jitter" Clarified REFCLK jitter specification. Figure 9.1, "25WLCSP, 1.97x1.97mm Body, 0.4mm Pitch" Updated package drawing. Throughout Document Updated support for Battery Charging v1.2. Product Features Added SMSC RapidCharge Anywhere feature. Added USB3338 information Rev. 1.1 (03-18-10) Revision 1.3 (11-20-12) Table 5.2, "REF[1:0] vs. required frequency at REFCLK (USB3330)" Corrected Error for 10 and 01 case. Figure 5.9, "Allowable REFCLK Jitter vs. Frequency" Added. Section 5.4.3, "REFCLK Jitter" Edited text. 98 DATASHEET SMSC USB333x Industry's Smallest Hi-Speed USB Transceiver with Single Supply Operation Datasheet Table 10.1 Customer Revision History (continued) REVISION LEVEL & DATE SECTION/FIGURE/ENTRY Section 7.1.3.1, "HS Compensation Register" Rev. 1.0 (09-15-09) SMSC USB333x CORRECTION Edited minimum VariSense limit to 55%. Document release 99 DATASHEET Revision 1.3 (11-20-12) Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Microchip: USB3338E-GL-TR USB3333E-GL-TR