USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller PRODUCT FEATURES Datasheet Highlights Hub Controller IC with 4 downstream ports High-Speed Inter-Chip (HSIC) support MultiTRAKTM — Upstream port selectable between HSIC or USB 2.0 PortMap PortSwap PHYBoostTM VBUS or VBAT only operation 3.3V only operation VBAT + 1.8V operation 3.3V + 1.8V operation LCD monitors and TVs Multi-function USB peripherals PC mother boards Set-top boxes, DVD players, DVR/PVR Printers and scanners PC media drive bay Portable hub boxes Mobile PC docking Embedded systems — Configurable port mapping and disable sequencing — Configurable differential intra-pair signal swapping — Programmable USB transceiver drive strength for recovering signal integrity VariSenseTM — Programmable USB receiver sensitivity Low power operation Full Power Management with individual or ganged power control of each downstream port Built-in Self-Powered or Bus-Powered internal default settings provide flexibility in the quantity of USB expansion ports utilized without redesign Supports “Quad Page” configuration OTP flash — Four consecutive 200 byte configuration pages 48-pin (7x7mm) SQFN, RoHS compliant package Target Applications — Dedicated Transaction Translator per port USB-IF Battery Charger revision 1.2 support on up & downstream ports (DCP, CDP, SDP) ® Battery charging support for Apple devices FlexConnect: Downstream port 1 able to swap with upstream port, allowing master capable devices to control other devices on the hub USB to I2CTM/SPI bridge endpoint support USB Link Power Management (LPM) support SUSPEND pin for remote wakeup indication to host Start Of Frame (SOF) synchronized clock output pin Vendor Specific Messaging (VSM) support Enhanced OEM configuration options available through OTP or SMBus Slave Port Flexible power rail support — — — — Additional Features Fully integrated USB termination and Pull-up/Pulldown resistors On-chip Power On Reset (POR) Internal 3.3V and 1.2V voltage regulators On Board 24MHz Crystal Driver, Resonator, or External 24MHz clock input USB host/device speed indicator. Per-port 3-color LED drivers indicate the speed of USB host and device connection - hi-speed (480 Mbps), full-speed (12 Mbps), low-speed (1.5 Mbps) Environmental — Commercial temperature range support (0ºC to 70ºC) — Industrial temperature range support (-40ºC to 85ºC) SMSC USB4604 Revision 1.0 (06-17-13) DATASHEET USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Order Number(s): ORDER NUMBER TEMPERATURE RANGE PACKAGE TYPE USB4604-1080HN 0°C to +70°C 48-pin SQFN USB4604-1080HN-TR 0°C to +70°C 48-pin SQFN (Tape & Reel) USB4604i-1080HN -40°C to +85°C 48-pin SQFN USB4604i-1080HN-TR -40°C to +85°C 48-pin SQFN (Tape & Reel) 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. The table above represents valid part numbers at the time of printing and may not represent parts that are currently available. For the latest list of valid ordering numbers for this product, please contact the nearest sales office. Copyright © 2013 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.0 (06-17-13) 2 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table of Contents Chapter 1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Chapter 2 Acronyms and Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1 Acronyms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2 Reference Documents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Chapter 3 Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.1 Pin Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.2 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.3 Buffer Type Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Chapter 4 Power Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.1 Integrated Power Regulators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1.1 3.3V Regulator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1.2 1.2V Regulator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 Power Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.1 Single Supply Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.2 Dual Supply Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3 Power Connection Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 22 22 22 22 23 24 Chapter 5 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.1 Boot Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.1 Standby Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.2 Hardware Initialization Stage (HW_INIT). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.3 Software Initialization Stage (SW_INIT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.4 SOC Configuration Stage (SOC_CFG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.5 Configuration Stage (CONFIG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.6 Battery Charger Detection Stage (CHGDET) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.7 Hub Connect Stage (Hub.Connect) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.8 Normal Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 27 27 27 27 27 28 28 28 Chapter 6 Device Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 6.1 Configuration Method Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Customer Accessible Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.1 USB Accessible Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.2 SMBus Accessible Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3 Device Configuration Straps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.1 Port Disable (PRT_DIS_Mx/PRT_DIS_Px) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.2 SPI Speed Select (SPI_SPD_SEL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 29 29 31 32 32 32 Chapter 7 Device Interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.1 SPI Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.1 Operation of the Hi-Speed Read Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.2 Operation of the Dual High Speed Read Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.3 32 Byte Cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.4 Interface Operation to the SPI Port When Not Performing Fast Reads. . . . . . . . . . . . . . . . . 7.1.5 Erase Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SMSC USB4604 3 DATASHEET 33 33 34 34 34 35 Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 7.1.6 Byte Program Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.7 Command Only Program Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.8 JEDEC-ID Read Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2 I2C Master Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2.1 I2C Message Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2.2 Pull-Up Resistors for I2C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3 SMBus Slave Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.1 SMBus Run Time Accessible Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.2 Run Time SMBus Page Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 37 38 38 38 40 40 40 51 Chapter 8 Functional Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 8.1 Battery Charger Detection & Charging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1.1 Upstream Battery Charger Detection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1.2 Downstream Battery Charging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.2 SOF Clock Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3 Flex Connect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3.1 Port Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4 Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.1 Power-On Reset (POR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.2 External Chip Reset (RESET_N). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.3 USB Bus Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.5 Link Power Management (LPM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.6 Suspend (SUSPEND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 52 53 55 55 55 56 56 56 56 56 57 Chapter 9 Operational Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 9.1 Absolute Maximum Ratings* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2 Operating Conditions** . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3 Power Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.1 Operational / Unconfigured . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.2 Suspend / Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4 DC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5 AC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.1 Power-On Configuration Strap Valid Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.2 Reset and Configuration Strap Timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.3 USB Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.4 HSIC Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.5 SMBus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.6 I2C Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.7 SPI Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.6 Clock Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.6.1 Oscillator/Crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.6.2 External Reference Clock (REFCLK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 59 60 60 61 63 64 64 64 65 65 65 65 66 67 67 68 Chapter 10 Package Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Chapter 11 Datasheet Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Revision 1.0 (06-17-13) 4 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet List of Figures Figure 1.1 Figure 3.1 Figure 4.1 Figure 5.1 Figure 7.1 Figure 7.2 Figure 7.3 Figure 7.4 Figure 7.5 Figure 7.6 Figure 7.7 Figure 7.8 Figure 8.1 Figure 8.2 Figure 9.1 Figure 9.1 Figure 9.2 Figure 9.3 Figure 10.1 Figure 10.2 System Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 48-SQFN Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Power Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Hub Operational Mode Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 SPI Hi-Speed Read Sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 SPI Dual Hi-Speed Read Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 SPI Erase Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 SPI Byte Program Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 SPI Command Only Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 SPI JEDEC-ID Read Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 I2C Sequential Access Write Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 I2C Sequential Access Read Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Battery Charging External Power Supply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 SOF Output Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Single/Dual Supply Rise Time Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Power-On Configuration Strap Valid Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 RESET_N Configuration Strap Timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 SPI Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 48-SQFN Package Drawing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 48-SQFN Package Recommended Land Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 SMSC USB4604 5 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet List of Tables Table 3.1 Pin Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 3.2 48-SQFN Package Pin Assignments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 3.3 Buffer Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 6.1 PRT_DIS_Mx/PRT_DIS_Px Configuration Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 6.2 SPI_SPD_SEL Configuration Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.1 SMBus Accessible Run Time Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.2 Upstream Battery Charging Detection Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.3 Upstream Custom Battery Charger Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.4 Upstream Custom Battery Charger Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.5 Port Power Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.6 OCS Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.7 Upstream Battery Charger Mode Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.8 Charge Detect Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.9 Configure Portable Hub Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.10 Port Select and Low-Power Suspend Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.11 Connect Configuration Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.12 Upstream (Port 0) Battery Charging Control 1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.13 Upstream (Port 0) Battery Charging Control 2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.14 Upstream (Port 0) Battery Charging Run Time Control Register. . . . . . . . . . . . . . . . . . . . . . . Table 7.15 Upstream (Port 0) Battery Charging Detect Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 7.16 SMBus Page Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 8.1 Chargers Compatible with Upstream Detection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 8.2 Downstream Port Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 8.3 LPM State Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9.1 Operational/Unconfigured Power Consumption (HSIC Upstream) . . . . . . . . . . . . . . . . . . . . . Table 9.2 Operational/Unconfigured Power Consumption (USB Upstream) . . . . . . . . . . . . . . . . . . . . . . Table 9.3 Single Supply Suspend/Standby Power Consumption (USB Upstream). . . . . . . . . . . . . . . . . Table 9.4 Single Supply Suspend/Standby Power Consumption (HSIC Upstream) . . . . . . . . . . . . . . . . Table 9.5 Dual Supply Suspend/Standby Power Consumption (USB Upstream) . . . . . . . . . . . . . . . . . . Table 9.6 Dual Supply Suspend/Standby Power Consumption (USB Upstream) . . . . . . . . . . . . . . . . . . Table 9.7 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9.8 Power-On Configuration Strap Valid Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9.9 RESET_N Configuration Strap Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9.10 SPI Timing Values (30 MHz Operation). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9.11 SPI Timing Values (60 MHz Operation). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9.12 Crystal Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 10.1 48-SQFN Package Dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 11.1 Revision History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Revision 1.0 (06-17-13) 6 DATASHEET 11 20 21 32 32 40 41 42 43 43 44 44 45 46 46 47 48 49 50 50 51 52 54 57 60 60 61 61 62 62 63 64 65 66 67 67 69 71 SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Chapter 1 General Description The SMSC USB4604 is a low-power, OEM configurable, MTT (Multi-Transaction Translator) USB 2.0 hub controller with 4 downstream ports and advanced features for embedded USB applications. The USB4604 is fully compliant with the USB 2.0 Specification, USB 2.0 Link Power Management Addendum, High-Speed Inter-Chip (HSIC) USB Electrical Specification Revision 1.0, and will attach to an upstream port as a Full-Speed hub or as a Full-/Hi-Speed hub. The 4-port hub supports Low-Speed, Full-Speed, and Hi-Speed (if operating as a Hi-Speed hub) downstream devices on all of the enabled downstream (non-HSIC) ports. HSIC ports support only Hi-Speed operation. The USB4604 has been specifically optimized for embedded systems where high performance, and minimal BOM costs are critical design requirements. Standby mode power has been minimized and reference clock inputs can be aligned to the customer’s specific application. Flexible power rail options ease integration into energy efficient designs by allowing the USB4604 to be powered in a singlesource (VBUS, VBAT, 3.3V) or a dual-source (VBAT + 1.8, 3.3V + 1.8) configuration. Additionally, all required resistors on the USB ports are integrated into the hub, including all series termination and pull-up/pull-down resistors on the D+ and D– pins. The USB4604 supports both upstream battery charger detection and downstream battery charging. The USB4604 integrated battery charger detection circuitry supports the USB-IF Battery Charging (BC1.2) detection method and most Apple devices. These circuits are used to detect the attachment and type of a USB charger and provide an interrupt output to indicate charger information is available to be read from the device’s status registers via the serial interface. The USB4604 provides the battery charging handshake and supports the following USB-IF BC1.2 charging profiles: DCP: Dedicated Charging Port (Power brick with no data) CDP: Charging Downstream Port (1.5A with data) SDP: Standard Downstream Port (0.5A with data) Custom profiles loaded via SMBus or OTP The USB4604 provides an additional USB endpoint dedicated for use as a USB to I2C/SPI interface, allowing external circuits or devices to be monitored, controlled, or configured via the USB interface. Additionally, the USB4604 includes many powerful and unique features such as: FlexConnect, which provides flexible connectivity options. The USB4604’s downstream port 1 can be swapped with the upstream port, allowing master capable devices to control other devices on the hub. MultiTRAKTM Technology, which utilizes a dedicated Transaction Translator (TT) per port to maintain consistent full-speed data throughput regardless of the number of active downstream connections. MultiTRAKTM outperforms conventional USB 2.0 hubs with a single TT in USB full-speed data transfers. PortMap, which provides flexible port mapping and disable sequences. The downstream ports of a USB4604 hub can be reordered or disabled in any sequence to support multiple platform designs with minimum effort. For any port that is disabled, the USB4604 hub controllers automatically reorder the remaining ports to match the USB host controller’s port numbering scheme. PortSwap, which adds per-port programmability to USB differential-pair pin locations. PortSwap allows direct alignment of USB signals (D+/D-) to connectors to avoid uneven trace length or crossing of the USB differential signals on the PCB. PHYBoost, which provides programmable levels of Hi-Speed USB signal drive strength in the downstream port transceivers. PHYBoost attempts to restore USB signal integrity in a compromised system environment. The graphic on the right shows an example of HiSpeed USB eye diagrams before and after PHYBoost signal integrity restoration. VariSense, which controls the USB receiver sensitivity enabling programmable levels of USB signal receive sensitivity. This capability allows operation in a sub-optimal system environment, such as when a captive USB cable is used. SMSC USB4604 7 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet The USB4604 is available in commercial (0°C to +70°C) and industrial (-40°C to +85°C) temperature range versions. 1.1 Block Diagram Figure 1.1 details the internal block diagram of the USB4604. Up or Downstream HSIC/USB RESET_N VDDCOREREG VBAT VDDA33 VDD33 SDA SCL VDDCR12 Serial Interface 1.2V Reg 3.3V Reg Flex HSIC Flex PHY To I2C Master/Slave Controller SIE Repeater TT #1 TT #2 TT #3 TT #4 TT #5 Routing & Port Re-Ordering Logic UDC 20 Bridge 2KB DP SRAM 256B IRAM Swap PHY PHY PHY USB USB USB Port Power OCS 8051 Controller GPIO SPI GPIO SPI/I2C PHY 2KB OTP Down or Upstream Port Controller 4KB SRAM 32KB ROM USB Downstream Downstream Downstream Figure 1.1 System Block Diagram Revision 1.0 (06-17-13) 8 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Chapter 2 Acronyms and Definitions 2.1 Acronyms EOP: End of Packet EP: Endpoint FS: Full-Speed GPIO: General Purpose I/O (that is input/output to/from the device) HS: Hi-Speed HSOS: High Speed Over Sampling HSIC: High-Speed Inter-Chip I2C®: Inter-Integrated Circuit LS: Low-Speed OTP: One Time Programmable PCB: Printed Circuit Board PCS: Physical Coding Sublayer PHY: Physical Layer SMBus: System Management Bus UUID: Universally Unique IDentification 2.2 Reference Documents 1. UNICODE UTF-16LE For String Descriptors USB Engineering Change Notice, December 29th, 2004, http://www.usb.org 2. Universal Serial Bus Specification, Revision 2.0, April 27th, 2000, http://www.usb.org 3. Battery Charging Specification, Revision 1.2, Dec. 07, 2010, http://www.usb.org 4. High-Speed Inter-Chip USB Electrical Specification, Version 1.0, Sept. 23, 2007, http://www.usb.org 5. I2C-Bus Specification, Version 1.1, http://www.nxp.com 6. System Management Bus Specification, Version 1.0, http://smbus.org/specs SMSC MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, IN REGARD TO INFRINGEMENT OR OTHER VIOLATION OF INTELLECTUAL PROPERTY RIGHTS. SMSC DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES AGAINST INFRINGEMENT AND THE LIKE. No license is granted by SMSC expressly, by implication, by estoppel or otherwise, under any patent, trademark, copyright, mask work right, trade secret, or other intellectual property right. **To obtain this software program the appropriate SMSC Software License Agreement must be executed and in effect. Forms of these Software License Agreements may be obtained by contacting SMSC. SMSC USB4604 9 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet VBUS_DET RESET_N NC SCL/SMBCLK VDD33 SDA/SMBDATA UART_TX/OCS4_N PRTPWR4/PRTCTL4 UART_RX/OCS3_N SPI_CLK SPI_DO/SPI_SPD_SEL SPI_CE_N 36 35 34 33 32 31 30 29 28 27 26 25 Chapter 3 Pin Descriptions VDDA33 37 24 SPI_DI VDD12 38 23 NC FLEX_HSIC_UP_STROBE 39 22 NC FLEX_USBUP_DM/PRT_DIS_M0 40 21 PRTPWR3/PRTCTL3 FLEX_USBUP_DP/PRT_DIS_P0 41 20 OCS2_N FLEX_HSIC_UP_DATA 42 19 PRTPWR2/PRTCTL2 XTAL2 43 18 VDD33 XTAL1/REFCLK 44 17 VDDCR12 NC 45 16 OCS1_N 15 PRTPWR1/PRTCTL1 14 SUSPEND 13 SOF 9 10 11 USBDN3_DP/PRT_DIS_P3 USBDN4_DM/PRT_DIS_M4 USBDN4_DP/PRT_DIS_P4 12 8 USBDN3_DM/PRT_DIS_M3 VDDA33 7 NC 5 USBDN2_DM/PRT_DIS_M2 6 4 SWAP_USBDN1_DP/PRT_DIS_P1 USBDN2_DP/PRT_DIS_P2 3 SWAP_USBDN1_DM/PRT_DIS_M1 48 2 VDDA33 Ground Pad (must be connected to VSS) NC 47 1 46 VBAT RBIAS VDDCOREREG SMSC USB4604 (Top View) Indicates pins on the bottom of the device. Figure 3.1 48-SQFN Pin Assignments Revision 1.0 (06-17-13) 10 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 3.1 Pin Descriptions This section provides a detailed description of each pin. The signals are arranged in functional groups according to their associated interface. The “_N” symbol in the signal name indicates that the active, or asserted, state occurs when the signal is at a low voltage level. For example, RESET_N indicates that the reset signal is active low. When “_N” is not present after the signal name, the signal is asserted when at the high voltage level. The terms assertion and negation are used exclusively. This is done to avoid confusion when working with a mixture of “active low” and “active high” signals. The term assert, or assertion, indicates that a signal is active, independent of whether that level is represented by a high or low voltage. The term negate, or negation, indicates that a signal is inactive. Note: The buffer type for each signal is indicated in the BUFFER TYPE column of Table 3.1. A description of the buffer types is provided in Section 3.3. Note: Compatibility with the SMSC UCS100x family of USB port power controllers requires the UCS100x be connected on Port 1 of the USB4604. Additionally, both PRTPWR1 and OCS1_N must be pulled high at Power-On Reset (POR). Table 3.1 Pin Descriptions NUM PINS NAME BUFFER TYPE SYMBOL DESCRIPTION USB/HSIC INTERFACES 1 Upstream USB D+ (Flex Port 0) FLEX_USBUP_DP Port 0 D+ Disable Configuration Strap PRT_DIS_P0 AIO Upstream USB Port 0 D+ data signal. See Note 3.2. Note: IS The upstream Port 0 signals can be optionally swapped with the downstream Port 1 signals. This strap is used in conjunction with PRT_DIS_M0 to disable USB Port 0. 0 = Port 0 D+ Enabled 1 = Port 0 D+ Disabled Both PRT_DIS_P0 and PRT_DIS_M0 must be tied to VDD33 at reset to place Port 0 into HSIC mode. See Note 3.3 for more information on configuration straps. Note: SMSC USB4604 11 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 3.1 Pin Descriptions (continued) NUM PINS 1 NAME SYMBOL BUFFER TYPE Upstream USB D(Flex Port 0) FLEX_USBUP_DM AIO Port 0 DDisable Configuration Strap PRT_DIS_M0 DESCRIPTION Upstream USB Port 0 D- data signal. See Note 3.2. Note: IS The upstream Port 0 signals can be optionally swapped with the downstream Port 1 signals. This strap is used in conjunction with PRT_DIS_P0 to disable USB Port 0. 0 = Port 0 D- Enabled 1 = Port 0 D- Disabled Note: Both PRT_DIS_P0 and PRT_DIS_M0 must be tied to VDD33 at reset to place Port 0 into HSIC mode. See Note 3.3 for more information on configuration straps. FLEX_HSIC_UP_ DATA 1 Upstream HSIC Data (Flex Port 0) FLEX_HSIC_UP_ STROBE 1 Upstream HSIC Strobe (Flex Port 0) Downstream USB D+ (Swap Port 1) SWAP_USBDN1_DP Port 1 D+ Disable Configuration Strap PRT_DIS_P1 1 HSIC Upstream HSIC Port 0 DATA signal. See Note 3.2. Note: HSIC Upstream HSIC Port 0 STROBE signal. See Note 3.2. Note: AIO The upstream Port 0 signals can be optionally swapped with the downstream Port 1 signals. Downstream USB Port 1 D+ data signal. Note: IS The upstream Port 0 signals can be optionally swapped with the downstream Port 1 signals. The downstream Port 1 signals can be optionally swapped with the upstream Port 0 signals. This strap is used in conjunction with PRT_DIS_M1 to disable USB Port 1. 0 = Port 1 D+ Enabled 1 = Port 1 D+ Disabled Note: Both PRT_DIS_P1 and PRT_DIS_M1 must be tied to VDD33 at reset to disable the associated port. See Note 3.3 for more information on configuration straps. Revision 1.0 (06-17-13) 12 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 3.1 Pin Descriptions (continued) NUM PINS 1 NAME SYMBOL BUFFER TYPE Downstream USB D(Swap Port 1) SWAP_USBDN1_DM AIO Port 1 DDisable Configuration Strap PRT_DIS_M1 DESCRIPTION Downstream USB Port 1 D- data signal. Note: IS The downstream Port 1 signals can be optionally swapped with the upstream Port 0 signals. This strap is used in conjunction with PRT_DIS_P1 to disable USB Port 1. 0 = Port 1 D- Enabled 1 = Port 1 D- Disabled Note: Both PRT_DIS_P1 and PRT_DIS_M1 must be tied to VDD33 at reset to disable the associated port. See Note 3.3 for more information on configuration straps. 1 Downstream USB D+ (Port 2) USBDN2_DP AIO Port 2 D+ Disable Configuration Strap PRT_DIS_P2 IS Downstream USB Port 2 D+ data signal. This strap is used in conjunction with PRT_DIS_M2 to disable USB Port 2. 0 = Port 2 D+ Enabled 1 = Port 2 D+ Disabled Note: Both PRT_DIS_P2 and PRT_DIS_M2 must be tied to VDD33 at reset to disable the associated port. See Note 3.3 for more information on configuration straps. 1 Downstream USB D(Port 2) USBDN2_DM AIO Port 2 DDisable Configuration Strap PRT_DIS_M2 IS Downstream USB Port 2 D- data signal. This strap is used in conjunction with PRT_DIS_P2 to disable USB Port 2. 0 = Port 2 D- Enabled 1 = Port 2 D- Disabled Both PRT_DIS_P2 and PRT_DIS_M2 must be tied to VDD33 at reset to disable the associated port. See Note 3.3 for more information on configuration straps. Note: SMSC USB4604 13 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 3.1 Pin Descriptions (continued) NUM PINS 1 NAME SYMBOL BUFFER TYPE Downstream USB D+ (Port 3) USBDN3_DP AIO Port 3 D+ Disable Configuration Strap PRT_DIS_P3 IS DESCRIPTION Downstream USB Port 3 D+ data signal. This strap is used in conjunction with PRT_DIS_M3 to disable USB Port 3. 0 = Port 3 D+ Enabled 1 = Port 3 D+ Disabled Note: Both PRT_DIS_P3 and PRT_DIS_M3 must be tied to VDD33 at reset to disable the associated port. See Note 3.3 for more information on configuration straps. 1 Downstream USB D(Port 3) USBDN3_DM AIO Port 3 DDisable Configuration Strap PRT_DIS_M3 IS Downstream USB Port 3 D- data signal. This strap is used in conjunction with PRT_DIS_P3 to disable USB Port 3. 0 = Port 3 D- Enabled 1 = Port 3 D- Disabled Both PRT_DIS_P3 and PRT_DIS_M3 must be tied to VDD33 at reset to disable the associated port. See Note 3.3 for more information on configuration straps. Note: 1 Downstream USB D+ (Port 4) USBDN4_DP AIO Port 4 D+ Disable Configuration Strap PRT_DIS_P4 IS Downstream USB Port 4 D+ data signal. This strap is used in conjunction with PRT_DIS_M4 to disable USB Port 4. 0 = Port 4 D+ Enabled 1 = Port 4 D+ Disabled Note: Both PRT_DIS_P4 and PRT_DIS_M4 must be tied to VDD33 at reset to disable the associated port. See Note 3.3 for more information on configuration straps. Revision 1.0 (06-17-13) 14 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 3.1 Pin Descriptions (continued) NUM PINS 1 NAME SYMBOL BUFFER TYPE Downstream USB D(Port 4) USBDN4_DM AIO Port 4 DDisable Configuration Strap PRT_DIS_M4 IS DESCRIPTION Downstream USB Port 4 D- data signal. This strap is used in conjunction with PRT_DIS_P4 to disable USB Port 4. 0 = Port 4 D- Enabled 1 = Port 4 D- Disabled Note: Both PRT_DIS_P4 and PRT_DIS_M4 must be tied to VDD33 at reset to disable the associated port. See Note 3.3 for more information on configuration straps. I2C/SMBUS INTERFACE 1 1 I2C Serial Clock Input SCL I_SMB I2C serial clock input SMBus Clock SMBCLK I_SMB SMBus serial clock input I2C Serial Data SDA IS/OD8 I2C bidirectional serial data SMBus Serial Data SMBDATA IS/OD8 SMBus bidirectional serial data SPI MASTER INTERFACE SPI Chip Enable Output SPI_CE_N 1 1 SPI Clock Output SPI_CLK O12 SPI clock output SPI Data Output SPI_DO O12 SPI data output SPI Speed Select Configuration Strap SPI_SPD_SEL IS (PD) This strap is used to select the speed of the SPI. 1 1 SMSC USB4604 O12 Active-low SPI chip enable output. Note: If the SPI is enabled, this pin will be driven high in powerdown states. 0 = 30MHz (default) 1 = 60MHz Note: If the latched value on reset is 1, this pin is tri-stated when the chip is in the suspend state. If the latched value on reset is 0, this pin is driven low during a suspend state. See Note 3.3 for more information on configuration straps. SPI Data Input SPI_DI IS (PD) SPI data input 15 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 3.1 Pin Descriptions (continued) NUM PINS NAME SYMBOL BUFFER TYPE DESCRIPTION MISC. 1 Port 1 OverCurrent Sense Input OCS1_N IS (PU) This active-low signal is input from an external current monitor to indicate an over-current condition on USB Port 1. 1 Port 2 OverCurrent Sense Input OCS2_N IS (PU) This active-low signal is input from an external current monitor to indicate an over-current condition on USB Port 2. UART Receive Input UART_RX IS Port 3 OverCurrent Sense Input OCS3_N IS (PU) UART Transmit Output UART_TX O8 Port 4 OverCurrent Sense Input OCS4_N IS (PU) System Reset Input RESET_N I_RST Internal UART receive input Note: 1 This active-low signal is input from an external current monitor to indicate an over-current condition on USB Port 3. Internal UART transmit output Note: 1 This is a 3.3V signal. For RS232 operation, an external 12V driver is required. This active-low signal is input from an external current monitor to indicate an over-current condition on USB Port 4. This active-low signal allows external hardware to reset the device. Note: 1 This is a 3.3V signal. For RS232 operation, an external 12V translator is required. The active-low pulse must be at least 5us wide. Refer to Section 8.4.2, "External Chip Reset (RESET_N)," on page 56 for additional information. Crystal Input XTAL1 ICLK External 24 MHz crystal input 1 Reference Clock Input REFCLK ICLK Reference clock input. The device may be alternatively driven by a single-ended clock oscillator. When this method is used, XTAL2 should be left unconnected. 1 Crystal Output XTAL2 OCLK External 24 MHz crystal output 1 External USB Transceiver Bias Resistor RBIAS AI Revision 1.0 (06-17-13) A 12.0kΩ (+/- 1%) resistor is attached from ground to this pin to set the transceiver’s internal bias settings. 16 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 3.1 Pin Descriptions (continued) NUM PINS NAME SYMBOL BUFFER TYPE Suspend Output SUSPEND PU 1 DESCRIPTION This signal is used to indicate that the entire hub has entered the USB suspend state and that VBUS current consumption should be reduced in accordance with the USB specification. Refer to Section 8.6, "Suspend (SUSPEND)," on page 57 for additional information. Note: 1 SOF Synchronized 8KHz Clock Output SOF Detect Upstream VBUS Power VBUS_DET O8 This signal outputs an 8KHz clock synchronized with the USB Host SOF. Note: IS SUSPEND must be enabled via the Protouch configuration tool. SOF output is controlled via the SOF_ENABLE bit in the UTIL_CONFIG1 register Detects state of upstream bus power. When designing a detachable hub, this pin must be connected to the VBUS power pin of the upstream USB port through a resistor divider (50kΩ by 100kΩ) to provide 3.3V. For self-powered applications with a permanently attached host, this pin must be connected to either 3.3V or 5.0V through a resistor divider to provide 3.3V. 1 In embedded applications, VBUS_DET may be controlled (toggled) when the host desires to renegotiate a connection without requiring a full reset of the device. Port 1 Power Output 1 1 SMSC USB4604 PRTPWR1 O8 Enables power to a downstream USB device attached to Port 1. 0 = Power disabled on downstream Port 1 1 = Power enabled on downstream Port 1 Port 1 Control PRTCTL1 OD8/IS (PU) Port 2 Power Output PRTPWR2 O8 When configured as PRTCTL1, this pin functions as both the Port 1 power enable output (PRTPWR1) and the Port 1 over-current sense input (OCS1_N). Refer to the PRTPWR1 and OCS1_N descriptions for additional information. Enables power to a downstream USB device attached to Port 2. 0 = Power disabled on downstream Port 2 1 = Power enabled on downstream Port 2 Port 2 Control PRTCTL2 OD8/IS (PU) When configured as PRTCTL2, this pin functions as both the Port 2 power enable output (PRTPWR2) and the Port 2 over-current sense input (OCS2_N). Refer to the PRTPWR2 and OCS2_N descriptions for additional information. 17 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 3.1 Pin Descriptions (continued) NUM PINS 1 1 6 NAME SYMBOL BUFFER TYPE Port 3 Power Output PRTPWR3 O8 DESCRIPTION Enables power to a downstream USB device attached to Port 3. 0 = Power disabled on downstream Port 3 1 = Power enabled on downstream Port 3 Port 3 Control PRTCTL3 OD8/IS (PU) Port 4 Power Output PRTPWR4 O8 When configured as PRTCTL3, this pin functions as both the Port 3 power enable output (PRTPWR3) and the Port 3 over-current sense input (OCS3_N). Refer to the PRTPWR3 and OCS3_N descriptions for additional information. Enables power to a downstream USB device attached to Port 4. 0 = Power disabled on downstream Port 4 1 = Power enabled on downstream Port 4 Port 4 Control PRTCTL4 OD8/IS (PU) When configured as PRTCTL4, this pin functions as both the Port 4 power enable output (PRTPWR4) and the Port 4 over-current sense input (OCS4_N). Refer to the PRTPWR4 and OCS4_N descriptions for additional information. No Connect NC - These pins must be left floating for normal device operation. POWER Battery Power Supply Input VBAT P Battery power supply input. When VBAT is connected directly to a +3.3V supply from the system, the internal +3.3V regulator runs in dropout and regulator power consumption is eliminated. A 4.7 μF (<1 Ω ESR) capacitor to ground is required for regulator stability. The capacitor should be placed as close as possible to the device. Refer to Chapter 4, "Power Connections," on page 22 for power connection information. +3.3V Analog Power Supply VDDA33 P +3.3V analog power supply. A 1.0 μF (<1 Ω ESR) capacitor to ground is required for regulator stability. The capacitor should be placed as close as possible to the device. Refer to Chapter 4, "Power Connections," on page 22 for power connection information. +3.3V Power Supply VDD33 P +3.3V power supply. These pins must be connected to VDDA33. Refer to Chapter 4, "Power Connections," on page 22 for power connection information. 1 3 2 Revision 1.0 (06-17-13) 18 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 3.1 Pin Descriptions (continued) NUM PINS NAME SYMBOL BUFFER TYPE +1.8-3.3V Core Power Supply Input VDDCOREREG P +1.8-3.3V core power supply input to internal +1.2V regulator. This pin may be connected to VDD33 for single supply applications when VBAT equals +3.3V. Running in a dual supply configuration with VDDCOREREG at a lower voltage, such as +1.8V, may reduce overall system power consumption. In dual supply configurations, a 4.7 μF (<1 Ω ESR) capacitor to ground is required for regulator stability. The capacitor should be placed as close as possible to the device. Refer to Chapter 4, "Power Connections," on page 22 for power connection information. +1.2V Core Power Supply VDDCR12 P +1.2V core power supply. In single supply applications or dual supply applications where 1.2V is not used, a 1.0 μF (<1 Ω ESR) capacitor to ground is required for regulator stability. The capacitor should be placed as close as possible to the device. Refer to Chapter 4, "Power Connections," on page 22 for power connection information. +1.2V HSIC Power Supply Input VDD12 P +1.2V HSIC power supply input. Refer to Chapter 4, "Power Connections," on page 22 for power connection information. Ground VSS P Common ground. This exposed pad must be connected to the ground plane with a via array. 1 1 1 Exposed Pad on package bottom (Figure 3.1) DESCRIPTION Note 3.2 When the device is configured to enable the HSIC upstream port, the USB Product ID (PID) will be 4604. When the device is configured to enable the USB upstream port, the USB PID will be 4504. Note 3.3 Configuration strap values are latched on Power-On Reset (POR) and the rising edge of RESET_N (external chip reset). Configuration straps are identified by an underlined symbol name. Signals that function as configuration straps must be augmented with an external resistor when connected to a load. Refer to Section 6.3, "Device Configuration Straps," on page 32 for additional information. SMSC USB4604 19 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 3.2 Pin Assignments Table 3.2 48-SQFN Package Pin Assignments PIN NUM PIN NAME PIN NUM PIN NAME 1 VBAT 25 SPI_CE_N 2 NC 26 SPI_DO/SPI_SPD_SEL 3 USBDN1_DM/PRT_DIS_M1 27 SPI_CLK 4 USBDN1_DP/PRT_DIS_P1 28 UART_RX/OCS3_N 5 USBDN2_DM/PRT_DIS_M2 29 PRTPWR4/PRTCTL4 6 USBDN2_DP/PRT_DIS_P2 30 UART_TX/OCS4_N 7 NC 31 SDA/SMBDATA 8 USBDN3_DM/PRT_DIS_M3 32 VDD33 9 USBDN3_DP/PRT_DIS_P3 33 SCL/SMBCLK 10 USBDN4_DM/PRT_DIS_M4 34 NC 11 USBDN4_DP/PRT_DIS_P4 35 RESET_N 12 VDDA33 36 VBUS_DET 13 SOF 37 VDDA33 14 SUSPEND 38 VDD12 15 PRTPWR1/PRTCTL1/ 39 FLEX_HSIC_UP_STROBE 16 OCS1_N 40 FLEX_USBUP_DM/PRT_DIS_M0 17 VDDCR12 41 FLEX_USBUP_DP/PRT_DIS_P0 18 VDD33 42 FLEX_HSIC_UP_DATA 19 PRTPWR2/PRTCTL2/ 43 XTAL2 20 OCS2_N 44 XTAL1/REFCLK 21 PRTPWR3/PRTCTL3 45 NC 22 NC 46 RBIAS 23 NC 47 VDDCOREREG 24 SPI_DI 48 VDDA33 Revision 1.0 (06-17-13) 20 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 3.3 Buffer Type Descriptions Table 3.3 Buffer Types BUFFER TYPE IS DESCRIPTION Schmitt-triggered input I_RST Reset Input I_SMB I2C/SMBus Clock Input O8 Output with 8 mA sink and 8 mA source OD8 Open-drain output with 8 mA sink O12 Output with 12 mA sink and 12 mA source OD12 Open-drain output with 12 mA sink HSIC High-Speed Inter-Chip (HSIC) USB Specification, Version 1.0 compliant input/output PU 50 µA (typical) internal pull-up. Unless otherwise noted in the pin description, internal pullups are always enabled. Note: PD Internal pull-up resistors prevent unconnected inputs from floating. Do not rely on internal resistors to drive signals external to the device. When connected to a load that must be pulled high, an external resistor must be added. 50 µA (typical) internal pull-down. Unless otherwise noted in the pin description, internal pull-downs are always enabled. Note: Internal pull-down resistors prevent unconnected inputs from floating. Do not rely on internal resistors to drive signals external to the device. When connected to a load that must be pulled low, an external resistor must be added. AIO Analog bi-directional ICLK Crystal oscillator input pin OCLK Crystal oscillator output pin P SMSC USB4604 Power pin 21 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Chapter 4 Power Connections 4.1 Integrated Power Regulators The integrated 3.3V and 1.2V power regulators provide flexibility to the system in providing power the device. Several different configurations are allowed in order to align the power structure to supplies available in the system. The regulators are controlled by RESET_N. When RESET_N is brought high, the 3.3V regulator will turn on. When RESET_N is brought low the 3.3V regulator will turn off. 4.1.1 3.3V Regulator The device has an integrated regulator to convert from VBAT to 3.3V. 4.1.2 1.2V Regulator The device has an integrated regulator to convert from a variable voltage input on VDDCOREREG to 1.2V. The 1.2V regulator is tolerant to the presence of low voltage (~0V) on the VDDCOREREG pin in order to support system power solutions where a supply is not always present in low power states. The 1.2V regulator supports an input voltage range consistent with a 1.8V input in order to reduce power consumption in systems which provide multiple power supply levels. In addition, the 1.2V regulator supports an input voltage up to 3.3V for systems which provide only a single power supply. The device will support operation where the 3.3V regulator output can drive the 1.2V regulator input such that VBAT is the only required supply. 4.2 Power Configurations The device supports operation with no back current when power is connected in each of the following configurations. Power connection diagrams for these configurations are included in Section 4.3, "Power Connection Diagrams," on page 24. 4.2.1 Single Supply Configurations 4.2.1.1 VBAT Only VBAT must be tied to the VBAT system supply. VDD33, VDDA33, and VDDCOREREG must be tied together on the board. In this configuration the 3.3V and 1.2V regulators will be active. For HSIC operation, VDD12 must be tied to VDDCR12. 4.2.1.2 3.3V Only VBAT must be tied to the 3.3V system supply. VDD33, VDDA33, and VDDCOREREG must be tied together on the board. In this configuration the 3.3V regulator will operate in dropout mode and the 1.2V regulator will be active. For HSIC operation, VDD12 must be tied to VDDCR12. Revision 1.0 (06-17-13) 22 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 4.2.2 Dual Supply Configurations 4.2.2.1 VBAT + 1.8V VBAT must be tied to the VBAT system supply. VDDCOREREG must be tied to the 1.8V system supply. In this configuration, the 3.3V regulator and the 1.2V regulator will be active. For HSIC operation, VDD12 must be tied to VDDCR12. 4.2.2.2 3.3V + 1.8V VBAT must be tied to the 3.3V system supply. VDDCOREREG must be tied to the 1.8V system supply. In this configuration the 3.3V regulator will operate in dropout mode and the 1.2V regulator will be active. For HSIC operation, VDD12 must be tied to VDDCR12. SMSC USB4604 23 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 4.3 Power Connection Diagrams Figure 4.1 illustrates the power connections for the USB4604 with various power supply configurations. Single Supply Application 3.3V Internal Logic 1.2V Core Logic 3.3V I/O HSIC VDD12 3.3V Regulator VBAT (IN) HSIC Only VBAT/+3.3V Supply 1.2V Regulator (OUT) (IN) (OUT) 4.7uF USB4604 VSS VDDA33 VDD33 (3x) (2x) VDDCOREREG VDDCR12 1.0uF 1.0uF Dual Supply Application (3.3V & 1.8V) 3.3V Internal Logic 1.2V Core Logic 3.3V I/O HSIC VDD12 VBAT 3.3V Regulator (IN) HSIC Only +3.3V Supply 1.2V Regulator (OUT) (IN) (OUT) 4.7uF USB4604 VSS VDDA33 VDD33 (3x) (2x) VDDCOREREG VDDCR12 +1.8V Supply 4.7uF 1.0uF 1.0uF Figure 4.1 Power Connections Note: To achieve the lowest power possible, tie the VDD12 pin to VDD12CR. Revision 1.0 (06-17-13) 24 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Chapter 5 Modes of Operation The device provides two main modes of operation: Standby Mode and Hub Mode. The operating mode of the device is selected by setting values on primary inputs according to the table below. Table 5.1 Controlling Modes of Operation RESET_N INPUT RESULTING MODE 0 Standby 1 Hub SUMMARY Lowest Power Mode: No functions are active other than monitoring the RESET_N input. All port interfaces are high impedance. All regulators are powered off. Full Feature Mode: Device operates as a configurable USB hub with battery charger detection. Power consumption is based on the number of active ports, their speed, and amount of data transferred. Note: Refer to Section 8.4.2, "External Chip Reset (RESET_N)," on page 56 for additional information on RESET_N. The flowchart in Figure 5.1 shows the modes of operation. It also shows how the device traverses through the Hub mode stages (shown in bold.) The flow of control is dictated by control register bits shown in italics as well as other events such as availability of a reference clock. The remaining sections in this chapter provide more detail on each stage and mode of operation. SMSC USB4604 25 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet (HW_INIT) (SW_INIT) YES External SPI ROM present? NO Run from Internal ROM Run From External SPI ROM YES SMBus or I2C Present? NO Config Load From Internal ROM Do SMBus or I2C Initialization NO SOC Done? YES Combine OTP Config Data (SOC_CFG) (CONFIG) SW Upstream BC detection (CHGDET) Hub Connect (Hub.Connect) Normal operation Figure 5.1 Hub Operational Mode Flowchart Revision 1.0 (06-17-13) 26 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 5.1 Boot Sequence 5.1.1 Standby Mode If the external hardware reset is asserted, the hub will be in Standby Mode. This mode provides a very low power state for maximum power efficiency when no signaling is required. This is the lowest power state. In Standby Mode all internal regulators are powered off, the PLL is not running, and core logic is powered down in order to minimize power consumption. Because core logic is powered off, no configuration settings are retained in this mode and must be re-initialized after RESET_N is negated high. 5.1.2 Hardware Initialization Stage (HW_INIT) The first stage is the initialization stage and occurs on the negation of RESET_N. In this stage the 1.2V regulator is enabled and stabilizes, internal logic is reset, and the PLL locks if a valid REFCLK is supplied. Configuration registers are initialized to their default state and strap input values are latched. The device will complete initialization and automatically enter the next stage. Because the digital logic within the device is not yet stable, no communication with the device using the SMBus is possible. Configuration registers are initialized to their default state. If there is a REFCLK present, the next state is SW_INIT. 5.1.3 Software Initialization Stage (SW_INIT) Once the hardware is initialized, the firmware can begin to execute. The internal firmware checks for an external SPI ROM. The firmware looks for an external SPI flash device that contains a valid signature of “2DFU” (device firmware upgrade) beginning at address 0xFFFA. If a valid signature is found, then the external ROM is enabled and the code execution begins at address 0x0000 in the external SPI device. If a valid signature is not found, then execution continues from internal ROM. SPI ROMs used with the device must be 1 Mbit and support either 30 MHz or 60 MHz. The frequency used is set using the SPI_SPD_SEL configuration strap. Both 1- and 2-bit SPI operation is supported. For optimum throughput, a 2-bit SPI ROM is recommended. Both mode 0 and mode 3 SPI ROMS are also supported. Refer to Section 6.3.2, "SPI Speed Select (SPI_SPD_SEL)," on page 32 for additional information on selection of the SPI speed.For all other configurations, the firmware checks for the presence of an external I2C/SMBus. It does this by asserting two pull down resistors on the data and clock lines of the bus. The pull downs are typically 50Kohm. If there are 10Kohm pull-ups present, the device becomes aware of the presence of an external SMBus/I2C bus. If a bus is detected, the firmware transitions to the SOC_CFG state. 5.1.4 SOC Configuration Stage (SOC_CFG) In this stage, the SOC may modify any of the default configuration settings specified in the integrated ROM such as USB device descriptors, or port electrical settings, and control features such as upstream battery charging detection. There is no time limit. In this stage the firmware will wait indefinitely for the SMBus/I2C configuration. When the SOC has completed configuring the device, it must write to register 0xFF to end the configuration. 5.1.5 Configuration Stage (CONFIG) Once the SOC has indicated that it is done with configuration, then all the configuration data is combined. The default data, the SOC configuration data, the OTP data are all combined in the firmware and device is programmed. SMSC USB4604 27 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet After the device is fully configured, it will go idle and then into suspend if there is no VBUS or Hub.Connect present. Once VBUS is present, and upstream battery charging is enabled, the device will transition to the Battery Charger Detection Stage (CHGDET). If VBUS is present, and upstream battery charging is not enabled, the device will transitions to the Connect (Hub.Connect) stage. 5.1.6 Battery Charger Detection Stage (CHGDET) After configuration, if enabled, the device enters the Battery Charger Detection Stage. If the battery charger detection feature was disabled during the CONFIG stage, the device will immediately transition to the Hub Connect (Hub.Connect) stage. If the battery charger detection feature remains enabled, the battery charger detection sequence is started automatically. If the charger detection remains enabled, the device will transition to the Hub.Connect stage if using the hardware detection mechanism. 5.1.7 Hub Connect Stage (Hub.Connect) Once the CHGDET stage is completed, the device enters the Hub.Connect stage. 5.1.8 Normal Mode Lastly the SOC enters the Normal Mode of operation. In this stage, full USB operation is supported under control of the USB Host on the upstream port. The device will remain in the normal mode until the operating mode is changed by the system. The only device registers accessible to the SOC are the run time registers described in Section 7.3.1, "SMBus Run Time Accessible Registers," on page 40. If RESET_N is asserted low, then Standby Mode is entered. The device may then be placed into any of the designated Hub stages. Asserting the soft disconnect on the upstream port will cause the Hub to return to the Hub.Connect stage until the soft disconnect is negated. To save power, communication over the SMBus is not supported while in USB Suspend. The system can prevent the device from going to sleep by asserting the ClkSusp control bit of the Configure Portable Hub Register anytime before entering USB Suspend. While the device is kept awake during USB Suspend, it will provide the SMBus functionality at the expense of not meeting USB requirements for average suspend current consumption. Revision 1.0 (06-17-13) 28 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Chapter 6 Device Configuration The device supports a large number of features (some mutually exclusive), and must be configured in order to correctly function when attached to a USB host controller. The hub can be configured either internally or externally depending on the implemented interface. SMSC provides a comprehensive software programming tool, Pro-Touch, for configuring the USB4604 functions, registers and OTP memory. All configuration is to be performed via the Pro-Touch programming tool. For additional information on the Pro-Touch programming tool, contact your local SMSC sales representative. 6.1 Configuration Method Selection The hub will interface to external memory depending on the configuration of the device pins associated with each interface type. The device will first check whether an external SPI ROM is present. If present, the device will operate entirely from the external ROM. When an external SPI ROM is not present, the device will check whether the SMBus is configured. When the SMBus is enabled, it can be used to configure the internal device registers via the XDATA address space, or to program the internal OTP memory. If no external options are detected, the device will operate using the internal default and configuration strap settings. The order in which device configuration is attempted is summarized below: 1. SPI (Reading the configuration from an SPI ROM) 2. SMBus (either writing the configuration registers in the XDATA address space, or to OTP) 3. Internal default settings (with or without configuration strap over-rides) Note: Refer to Chapter 7, "Device Interfaces," on page 33 for detailed information on each device configuration interface. 6.2 Customer Accessible Functions The following USB or SMBus accessible functions are available to the customer via the SMSC ProTouch Programming Tool. Note: For additional programming details, refer to the SMSC Pro-Touch Programming Tool User Manual. 6.2.1 USB Accessible Functions 6.2.1.1 VSM commands over USB By default, Vendor Specific Messaging (VSM) commands to the hub are enabled. The supported commands are: Enable Embedded Controller Disable Embedded Controller Enable Special Resume Disable Special Resume Reset Hub SMSC USB4604 29 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 6.2.1.2 I2C Master Access over USB Access to I2C devices is performed as a pass-through operation from the USB Host. The device firmware has no knowledge of the operation of the attached I2C device. The supported commands are: 6.2.1.3 Enable I2C pass through mode Disable I2C pass through mode I2C write I2C read Send I2C start Send I2C stop SPI Access over USB Access to an attached SPI device is performed as a pass-through operation from the USB Host. The device firmware has no knowledge of the operation of the attached SPI device. The supported commands are: Enable SPI pass through mode Disable SPI pass through mode SPI write SPI read Note: Refer to Section 7.1, "SPI Interface," on page 33 for additional information on the SPI interface. 6.2.1.4 OTP Access over USB The OTP ROM in the device is accessible via the USB bus. All OTP parameters can modified via the USB Host. The OTP operates in Single Ended mode. The supported commands are: 6.2.1.5 Enable OTP reset Set OTP operating mode Set OTP read mode Program OTP Get OTP status Program OTP control parameters Battery Charging Access over USB The Battery charging behavior of the device can be dynamically changed by the USB Host when something other than the preprogrammed or OTP programmed behavior is desired. The supported commands are: Enable/Disable battery charging Upstream battery charging mode control Downstream battery charging mode control Battery charging timing parameters Download custom battery charging algorithm Revision 1.0 (06-17-13) 30 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 6.2.1.6 Other Embedded Controller functions over USB The following miscellaneous functions may be configured via USB: Enable/Disable Embedded controller enumeration Program Configuration parameters. Program descriptor fields: —Language ID —Manufacturer string —Product string —idVendor —idProduct —bcdDevice 6.2.2 SMBus Accessible Functions 6.2.2.1 OTP Access over SMBus The device’s OTP ROM is accessible over SMBus. All OTP parameters can modified via the SMbus Host. The OTP can be programmed to operate in Single-Ended, Differential, Redundant, or Differential Redundant mode, depending on the level of reliability required. The supported commands are: 6.2.2.2 Enable OTP reset Set OTP operating mode Set OTP read mode Program OTP Get OTP Status Program OTP control parameters Configuration Access over SMBus The following functions are available over SMBus prior to the hub attaching to the USB host: 6.2.2.3 Program Configuration parameters. Program descriptor fields: —Language ID —Manufacturer string —Product string —idVendor —idProduct —bcdDevice Program Control Register Run time Access over SMBus There is a limited number of registers that are accessible via the SMBus during run time operation of the device. Refer to Section 7.3.1, "SMBus Run Time Accessible Registers," on page 40 for details. SMSC USB4604 31 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 6.3 Device Configuration Straps Configuration straps are multi-function pins that are driven as outputs during normal operation. During a Power-On Reset (POR) or an External Chip Reset (RESET_N), these outputs are tri-stated. The high or low state of the signal is latched following de-assertion of the reset and is used to determine the default configuration of a particular feature. Configuration straps are latched as a result of a Power-On Reset (POR) or a External Chip Reset (RESET_N). Configuration strap signals are noted in Chapter 3, "Pin Descriptions," on page 10 and are identified by an underlined symbol name. The following subsections detail the various configuration straps. Configuration straps include internal resistors in order to prevent the signal from floating when unconnected. If a particular configuration strap is connected to a load, an external pull-up or pull-down should be used to augment the internal resistor to ensure that it reaches the required voltage level prior to latching. The internal resistor can also be overridden by the addition of an external resistor. Note: The system designer must guarantee that configuration straps meet the timing requirements specified in Section 9.5.2, "Reset and Configuration Strap Timing," on page 64 and Section 9.5.1, "Power-On Configuration Strap Valid Timing," on page 64. If configuration straps are not at the correct voltage level prior to being latched, the device may capture incorrect strap values. Note: Configuration straps must never be driven as inputs. If required, configuration straps can be augmented, or overridden with external resistors. 6.3.1 Port Disable (PRT_DIS_Mx/PRT_DIS_Px) These configuration straps disable the associated USB ports D- and D+ signals, respectively, where “x” is the USB port number. Both the negative “M” and positive “P” port disable configuration straps for a given USB port must be tied high at reset to disable the associated port. Table 6.1 PRT_DIS_Mx/PRT_DIS_Px Configuration Definitions PRT_DIS_MX/PRT_DIS_PX 6.3.2 DEFINITION ‘0’ Port x D-/D+ Signal is Enabled (Default) ‘1’ Port x D-/D+ Signal is Disabled SPI Speed Select (SPI_SPD_SEL) This strap is used to select the speed of the SPI as follows: Table 6.2 SPI_SPD_SEL Configuration Definitions SPI_SPD_SEL DEFINITION ‘0’ 30 MHz SPI Operation (Default) ‘1’ 60 MHz SPI Operation Note: If the latched value on reset is 1, this pin is tri-stated when the chip is in the suspend state. If the latched value on reset is 0, this pin is driven low during a suspend state. Revision 1.0 (06-17-13) 32 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Chapter 7 Device Interfaces The USB4604 provides multiple interfaces for configuration and external memory access. This chapter details the various device interfaces and their usage. Note: For information on device configuration, refer to Chapter 6, "Device Configuration," on page 29. 7.1 SPI Interface The device is capable of code execution from an external SPI ROM. On power up, the firmware looks for an external SPI flash device that contains a valid signature of 2DFU (device firmware upgrade) beginning at address 0xFFFA. If a valid signature is found, then the external ROM is enabled and the code execution begins at address 0x0000 in the external SPI device. If a valid signature is not found, then execution continues from internal ROM. The following sections describe the interface options to the external SPI ROM. The SPI interface is always enabled after reset. It can be disabled by setting the SPI_DISABLE bit in the UTIL_CONFIG1 register. Note: For SPI timing information, refer to Section 9.5.7, "SPI Timing," on page 66. 7.1.1 Operation of the Hi-Speed Read Sequence The SPI controller will automatically handle code reads going out to the SPI ROM address. When the controller detects a read, the controller drives SPI_CE_N low, and outputs 0x0B, followed by the 24bit address. The SPI controller outputs a DUMMY byte. The next eight clocks will clock-in the first byte. When the first byte is clocked-in, a ready signal is sent back to the processor, and the processor gets one byte. After the processor gets the first byte, its address will change. If the address is one more than the last address, the SPI controller will clock out one more byte. If the address is anything other than one more than the last address, the SPI controller will terminate the transaction by driving SPI_CE_N high. As long as the addresses are sequential, the SPI Controller will continue clocking data in. SPI_CE_N 0 1 2 3 4 5 6 7 8 15 16 23 24 31 32 80 71 72 63 64 55 56 47 48 39 40 SPI_CLK 0B SPI_DO MSB ADD. ADD. ADD. X MSB N SPI_DI HIGH IMPEDANCE DOUT N+1 DOUT N+2 N+3 N+4 DOUT DOUT DOUT MSB Figure 7.1 SPI Hi-Speed Read Sequence SMSC USB4604 33 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 7.1.2 Operation of the Dual High Speed Read Sequence The SPI controller also supports dual data mode. When configured in dual mode, the SPI controller will automatically handle XDATA reads going out to the SPI ROM. When the controller detects a read, the controller drives SPI_CE_N low and outputs 0x3B (the value must be programmed into the SPI_ FR_OPCODE Register) followed by the 24 bit address. Bits 23 through Bit 17 are forced to zero, and address bits 16 through 0 are directly from the XDATA address bus. Because it is in fast read mode, the SPI controller then outputs a DUMMY byte. The next four clocks will clock-in the first byte. The data appears two bits at a time on SPI_DO and SPI_DI. When the first byte is clocked in, a ready signal is sent back to the processor, and the processor gets one byte. After the processor gets the first byte, its address will change. If the address is one more than the last address, the SPI controller will clock out one more byte. If the address in anything other than one more than the last address, the SPI controller will terminate the transaction by driving SPI_CE_N high. As long as the addresses are sequential, the SPI Controller will continue clocking data in. SPI_CE_N 0 1 2 3 4 5 6 7 8 15 16 23 24 31 32 59 55 56 51 52 47 48 43 44 39 40 SPI_CLK N 0B SPI_DO MSB ADD. ADD. ADD. X D1 Bits-6,4,2,0 MSB N+2 N+3 D3 D4 D5 Bits-6,4,2,0 Bits-6,4,2,0 Bits-6,4,2,0 Bits-6,4,2,0 N+4 MSB N HIGH IMPEDANCE SPI_DI N+1 D2 N+2 N+3 N+4 D1 D2 N+1 D3 D4 D5 Bits-7,5,3,1 Bits-7,5,3,1 Bits-7,5,3,1 Bits-7,5,3,1 Bits-7,5,3,1 MSB Figure 7.2 SPI Dual Hi-Speed Read Sequence 7.1.3 32 Byte Cache There is a 32-byte pipeline cache with an associated base address pointer and length pointer. Once the SPI controller detects a jump, the base address pointer is initialized to that address. As each new sequential data byte is fetched, the data is written into the cache and the length is incremented. If the sequential run exceeds 32 bytes, the base address pointer is incremented to indicate the last 32 bytes fetched. If the firmware performs a jump, and the jump is in the cache address range, the fetch is done in 1 clock from the internal cache instead of an external access. 7.1.4 Interface Operation to the SPI Port When Not Performing Fast Reads There is a 8-byte command buffer (SPI_CMD_BUF[7:0]), an 8-byte response buffer (SPI_RESP_BUF[7:0]), and a length register that counts out the number of bytes (SPI_CMD_LEN). Additionally, there is a self-clearing GO bit in the SPI_CTL register. Once the GO bit is set, device drives SPI_CE_N low and starts clocking. It will then output SPI_CMD_LEN x 8 number of clocks. After the first COMMAND byte has been sent out, the SPI_DI input is stored in the SPI_RESP buffer. If the SPI_CMD_LEN is longer than the SPI_CMD_BUF, don’t cares are sent out on the SPI_DO output. This mode is used for program execution out of internal RAM or ROM. Revision 1.0 (06-17-13) 34 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Automatic reads and writes happen when there is an external XDATA read or write, using the serial stream that has been previously discussed. 7.1.5 Erase Example To perform a SCTR_ERASE, 32BLK_ERASE, or 64BLK_ERASE, the device writes 0x20, 0x52, or 0xD8, respectively to the first byte of the command buffer, followed by a 3-byte address. The length of the transfer is set to 4 bytes. To perform this, the device drives SPI_CE_N low, then counts out 8 clocks. It then outputs on SPI_DO the 8 bits of command, followed by 24 bits of address of the location to be erased. When the transfer is complete, SPI_CE_N goes high, while the SPI_DI line is ignored in this example. SPI_CE_N 0 1 2 3 4 5 6 7 8 15 16 23 24 31 SPI_CLK SPI_DO Command MSB ADD. ADD. ADD. MSB HIGH IMPEDANCE SPI_DI Figure 7.3 SPI Erase Sequence SMSC USB4604 35 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 7.1.6 Byte Program Example To perform a Byte Program, the device writes 0x02 to the first byte of the command buffer, followed by a 3-byte address of the location that will be written to, and one data byte. The length of the transfer is set to 5 bytes. The device first drives SPI_CE_N low, then SPI_DO outputs 8 bits of command, followed by 24 bits of address, and one byte of data. SPI_DI is not used in this example. SPI_CE_N 0 1 2 3 4 5 6 7 8 15 16 23 24 31 32 39 SPI_CLK 0xDB SPI_DO 0x00 MSB SPI_DI 0xBF MSB 0xFE /0xFF Data MSB LSB HIGH IMPEDANCE Figure 7.4 SPI Byte Program Sequence Revision 1.0 (06-17-13) 36 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 7.1.7 Command Only Program Example To perform a single byte command such as the following: - WRDI - WREN - EWSR - CHIP_ERASE - EBSY - DBSY The device writes the opcode into the first byte of the SPI_CMD_BUF and the SPI_CMD_LEN is set to one. The device first drives SPI_CE_N low, then 8 bits of the command are clocked out on SPI_DO. SPI_DI is not used in this example. SPI_CE_N 0 1 2 3 4 5 6 7 SPI_CLK SPI_DO Command MSB SPI_DI HIGH IMPEDANCE Figure 7.5 SPI Command Only Sequence SMSC USB4604 37 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 7.1.8 JEDEC-ID Read Example To perform a JEDEC-ID command, the device writes 0x9F into the first byte of the SPI_CMD_BUF. The length of the transfer is 4 bytes. The device first drives SPI_CE_N low, then SPI_DO is output with 8 bits of the command, followed by the 24 bits of dummy bytes (due to the length being set to 4). When the transfer is complete, SPI_CE_N goes high. After the first byte, the data on SPI_DI is clocked into the SPI_RSP_BUF. At the end of the command, there are three valid bytes in the SPI_RSP_BUF. In this example, 0xBF, 0x25, 0x8E. SPI_CE_N 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 SPI_CLK SPI_DO 9F MSB SPI_DI HIGH IMPEDANCE BF 25 8E MSB MSB Figure 7.6 SPI JEDEC-ID Read Sequence 7.2 I2C Master Interface The I2C master interface implements a subset of the I2C Master Specification (Please refer to the Philips Semiconductor Standard I2C-Bus Specification for details on I2C bus protocols). The device’s I2C master interface conforms to the Standard-Mode I2C Specification (100 kbit/s transfer rate and 7bit addressing) for protocol and electrical compatibility. The device acts as the master and generates the serial clock SCL, controls the bus access (determines which device acts as the transmitter and which device acts as the receiver), and generates the START and STOP conditions. Note: Extensions to the I2C Specification are not supported. Note: All device configuration must be performed via the SMSC Pro-Touch Programming Tool. For additional information on the Pro-Touch programming tool, contact your local SMSC sales representative. 7.2.1 I2C Message Format 7.2.1.1 Sequential Access Writes The I2C interface supports sequential writing of the device’s register address space. This mode is useful for configuring contiguous blocks of registers. Figure 7.7 shows the format of the sequential Revision 1.0 (06-17-13) 38 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet write operation. Where color is visible in the figure, blue indicates signaling from the I2C master, and gray indicates signaling from the slave. S 7-Bit Slave Address 0 A xxxxxxxx A nnnnnnnn Register Address (bits 7-0) A ... Data value for XXXXXX nnnnnnnn A P Data value for XXXXXX + y Figure 7.7 I2C Sequential Access Write Format In this operation, following the 7-bit slave address, the 8-bit register address is written indicating the start address for sequential write operation. Every subsequent access is a data write to a data register, where the register address increments after each access and an ACK from the slave occurs. Sequential write access is terminated by a Stop condition. 7.2.1.2 Sequential Access Reads The I2C interface supports direct reading of the device registers. In order to read one or more register addresses, the starting address must be set by using a write sequence followed by a read. The read register interface supports auto-increment mode. The master must send a NACK instead of an ACK when the last byte has been transferred. In this operation, following the 7-bit slave address, the 8-bit register address is written indicating the start address for the subsequent sequential read operation. In the read sequence, every data access is a data read from a data register where the register address increments after each access. The write sequence can end with optional Stop (P). If so, the read sequence must begin with a Start (S). Otherwise, the read sequence must start with a Repeated Start (Sr). Figure 7.8 shows the format of the read operation. Where color is visible in the figure, blue and gold indicate signaling from the I2C master, and gray indicates signaling from the slave. Optional. If present, Next access must have Start(S), otherwise Repeat Start (Sr) S 7-Bit Slave Address 0 A xxxxxxxx A P Register Address (bits 7-0) If previous write setting up Register address ended with a Stop (P), otherwise it will be Repeated Start (Sr) S 7-Bit Slave Address 1 ACK nnnnnnnn Register value for xxxxxxxx ACK nnnnnnnn ACK ... Register value for xxxxxxxx + 1 nnnnnnnn NACK P Register value for xxxxxxxx + y Figure 7.8 I2C Sequential Access Read Format SMSC USB4604 39 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 7.2.2 Pull-Up Resistors for I2C The circuit board designer is required to place external pull-up resistors (10 kΩ recommended) on the SDA & SCL signals (per SMBus 1.0 Specification) to Vcc in order to assure proper operation. 7.3 SMBus Slave Interface The USB4604 includes an integrated SMBus slave interface, which can be used to access internal device run time registers or program the internal OTP memory. SMBus detection is accomplished by detection of pull-up resistors (10 KΩ recommended) on both the SMBDATA and SMBCLK signals. To disable the SMBus, a pull-down resistor of 10 KΩ must be applied to SMBDATA. The SMBus interface can be used to configure the device as detailed in Section 6.1, "Configuration Method Selection," on page 29. Note: All device configuration must be performed via the SMSC Pro-Touch Programming Tool. For additional information on the Pro-Touch programming tool, contact your local SMSC sales representative. 7.3.1 SMBus Run Time Accessible Registers Table 7.1 provides a summary of the SMBus accessible run time registers. Each register is detailed in the subsequent tables. Note: The SMBus page register must be configured to allow the SOC to access the proper register space. Refer to Section 7.3.2, "Run Time SMBus Page Register," on page 51 for details. Table 7.1 SMBus Accessible Run Time Registers NAME XDATA ADDR UP_BC_DET 0x30E2 Table 7.2, "Upstream Battery Charging Detection Control Register" UP_CUST_BC_CTL 0x30E3 Table 7.3, "Upstream Custom Battery Charger Control Register" UP_CUST_BC_STAT 0x30E4 Table 7.4, "Upstream Custom Battery Charger Status Register" PORT_PWR_STAT 0x30E5 Table 7.5, "Port Power Status Register" OCS_STAT 0x30E6 Table 7.6, "OCS Status Register" BC_CHG_MODE 0x30EC Table 7.7, "Upstream Battery Charger Mode Register" CHG_DET_MSK 0x30ED Table 7.8, "Charge Detect Mask Register" CFGP 0x30EE Table 7.9, "Configure Portable Hub Register" PSELSUSP 0x318B Table 7.10, "Port Select and Low-Power Suspend Register" CONNECT_CFG 0x318E Table 7.11, "Connect Configuration Register" BC_CTL_1 (Upstream) 0x6100 Table 7.12, "Upstream (Port 0) Battery Charging Control 1 Register" BC_CTL_2 (Upstream) 0x6101 Table 7.13, "Upstream (Port 0) Battery Charging Control 2 Register" Revision 1.0 (06-17-13) 40 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 7.1 SMBus Accessible Run Time Registers (continued) XDATA ADDR NAME BC_CTL_RUN_TIME (Upstream) 0x6102 Table 7.14, "Upstream (Port 0) Battery Charging Run Time Control Register" BC_CTL_DET (Upstream) 0x6103 Table 7.15, "Upstream (Port 0) Battery Charging Detect Register" Table 7.2 Upstream Battery Charging Detection Control Register UP_BC_DET (0x30E2 - RESET= 0x02) UPSTREAM BATTERY CHARGING REGISTER BIT NAME R/W DESCRIPTION 7:5 CHARGER_TYPE R/W Read Only. This field indicates the result of the automatic charger detection. Values reported depend on EnhancedChrgDet bit setting in Upstream Battery Charger Mode Register. If EnhancedChrgDet = 1 000 = Charger Detection is not complete. 001 = DCP - Dedicated Charger Port 010 = CDP – Charging Downstream Port 011 = SDP – Standard Downstream Port 100 = Apple Low Current Charger 101 = Apple High Current Charger 110 = Apple Super High Current Charger 111 = Charger Detection Disabled If EnhancedChrgDet = 0 000 = Charger Detection is not complete. 001 = DCP/CDP – Dedicated Charger or Charging Downstream Port 010 = Reserved 011 = SDP – Standard Downstream Port 100 = Apple Low Current Charger 101 = Apple High Current Charger 110 = Apple Super High Current Charger 111 = Charger Detection Disabled 4 CHGDET_COMPLETE R Indicates Charger Detection has been run and is completed. This bit is negated when START_CHG_DET is asserted high. 3 Reserved R/W Reserved for debugging 2:1 CHG_DET[1:0] R Indicates encoded status of what chargers or status has been detected according to the settings in the Charge Detect Mask Register. It can be used to determine what current can be drawn from the upstream USB port. 00 = No selected Chargers or Status identified 01 = 100ma (VBUS detect without enumeration) 10 = 500ma (Device enumerated, Set Config seen) 11 = 1000+ma (Charger detected) The actual current amount for the charger will be system dependent SMSC USB4604 41 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 7.2 Upstream Battery Charging Detection Control Register (continued) UP_BC_DET (0x30E2 - RESET= 0x02) UPSTREAM BATTERY CHARGING REGISTER BIT NAME R/W DESCRIPTION 0 START_CHG_DET R/W Manually Initiates a USB battery charger detection sequence at the time of assertion. This bit must not be set while hub is in operation. This bit is cleared automatically when the manual battery charger detection sequence is completed. 0 = Write: No Effect / Read: Battery Charger Detection Sequence Completed or not run. 1 = Write: Start Battery Charger Detection / Read: Battery Charger Detection Sequence is running Table 7.3 Upstream Custom Battery Charger Control Register UP_CUST_BC_CTL (0x30E3 - RESET= 0x00) UPSTREAM CUSTOM BATTERY CHARGING CONTROL BIT NAME R/W DESCRIPTION 7 I2CControl R/W I2C control 0: 1: 6 DmPulldownEn R/W I2C control disabled I2C control enabled DM 15K pull down resistor control 0: DM 15K pull down resistor disabled 1: DM 15K pull down resistor enabled 5 DpPulldownEn R/W DP 15K pull down resistor control 0: DP 15K pull down resistor disabled 1: DP 15K pull down resistor enabled 4 IdatSinkEn R/W Idat current sink control 0: Idat current sink disabled 1: Idat current sink enabled 3 HostChrgEn R/W Host charger detection swap control 0: Charger detection connections of DP and DM are not swapped (standard) 1: Charger detection connections of DP and DM are swapped. The USB signal path is not reversed. 2 VdatSrcEn R/W Vdat voltage source control 0: Vdat voltage source disabled 1: Vdat voltage source enabled 1 ContactDetectEn R/W Contact detect current source control 0: Contact detect current source disabled 1: Contact detect current source enabled Revision 1.0 (06-17-13) 42 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 7.3 Upstream Custom Battery Charger Control Register (continued) UP_CUST_BC_CTL (0x30E3 - RESET= 0x00) UPSTREAM CUSTOM BATTERY CHARGING CONTROL BIT NAME R/W DESCRIPTION 0 SeRxEn R/W Single-ended receiver control 0: Single-ended receiver disabled 1: Single-ended receiver enabled Table 7.4 Upstream Custom Battery Charger Status Register UP_CUST_BC_STAT (0x30E4 - RESET= 0x00) UPSTREAM CUSTOM BATTERY CHARGING STATUS BIT NAME R/W DESCRIPTION 7:4 Reserved R Reserved 3 RxHiCurr R DM high current Apple charger output 0: DM signal is not above the VSE_RXH threshold 1: DM signal is above the VSE_RXH threshold 2 DmSeRx R DM Single Ended Receiver Status 1 DpSeRx R DP Single Ended Receiver Status 0 VdatDet R Vdat detect 0: Vdat not detected 1: Vdat detect comparator output Table 7.5 Port Power Status Register PORT_PWR_STAT (0x30E5 - RESET= 0x00) PORT POWER STATUS BIT NAME R/W DESCRIPTION 7:5 Reserved R Reserved 4:1 PRTPWR[4:1] R Optional status to SOC indicating that power to the corresponding downstream port was enabled by the USB Host for the specified port. Not required for an embedded application. This is a read-only status bit. Actual control over port power is implemented by the USB Host, OCS Status Register and Downstream Battery Charging logic, if enabled. 0: USB Host has not enabled port to be powered or in downstream battery charging and corresponding OCS bit has been set 1: USB Host has enabled port to be powered 0 Reserved SMSC USB4604 R Reserved 43 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 7.6 OCS Status Register OCS_STAT (0x30E6 - RESET= 0x00) PORT POWER STATUS BIT NAME R/W DESCRIPTION 7:5 Reserved R Reserved 4:1 OCS[4:1] R Optional control from SOC that indicates an over-current condition on the corresponding port for HUB status reporting to USB host. Also resets corresponding PRTPWR status bit in the Port Power Status Register. Not required for an embedded application. 0: No Over Current Condition 1: Over Current Condition 0 Reserved R Reserved Table 7.7 Upstream Battery Charger Mode Register BC_CHG_MODE (0x30EC - RESET= 0x00 UPSTREAM BATTERY CHARGER MODE BIT NAME R/W DESCRIPTION 7:6 Reserved R Reserved 5 HoldVdat R/W Dead Battery Vdat Detect voltage source enable 0: The charger detection state machine will turn off the Vdat Source at the end of the charger detection routine. 1: The charger detection state machine leave Vdat Source on during Hub.Connect stage when a SDP has been detected. 4 Reserved R Reserved 3 SE1ChrgDet R/W Apple type charger detection control 0: The charger detection routine will not look for the attachment of an Apple type charger. 1: The charger detection routine will look for the attachment of an Apple type charger. 2 EnhancedChrgDet R/W Enhanced charge detect control 0: The charger detection routine will not reverse Vdat SRC to differentiate between a CDP and a DCP. 1: The charger detection routine will reverse Vdat SRC to differentiate between a CDP and a DCP. 1:0 Reserved Revision 1.0 (06-17-13) R Reserved 44 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 7.8 Charge Detect Mask Register CHG_DET_MSK (0x30ED - RESET= 0x1F) CHARGE DETECT MASK BIT NAME R/W DESCRIPTION 7 CONFIGURED R/W 0: battChg.chgDet is not affected for this mask set when Hub is in a session and has been configured by the USB Host 1: battChg.chgDet indicates status for this mask set met when Hub is in a session and has been configured by the USB Host 6 CONNECTED R/W 0: battChg.chgDet is not affected for this mask set when Hub has successfully connected with an upstream Host 1: battChg.chgDet indicates status for this mask set met when Hub has successfully connected with an upstream host. 5 SUSPENDED R/W 0: battChg.chgDet is not affected for this mask set when Hub is in a session and has been suspended by the USB Host 1: battChg.chgDet indicates status for this mask set met when Hub is in a session and has been suspended by the USB Host 4 SE1SMask R/W 0: battChg.chgDet is not affected for this mask set by detection of a Apple Super High Current Charger 1: battChg.chgDet indicates status for this mask set met when a SE1 (Apple) Super High Current Charger is detected 3 SE1HMask R/W 0: battChg.chgDet is not affected for this mask set by detection of a Apple High Current Charger 1: battChg.chgDet indicates status for this mask set met when a Apple High Current Charger is detected 2 SE1LMask R/W 0: battChg.chgDet is not affected for this mask set by detection of a Apple Low Current Charger 1: battChg.chgDet indicates status for this mask set met when a Apple Low Current Charger is detected 1 CDPMask R/W 0: battChg.chgDet is not affected for this mask set by detection of a CDP Charger 1: battChg.chgDet indicates status for this mask set met when a CDP Charger is detected This mask bit should only be enabled if EnhancedChrgDet is asserted in the Upstream Battery Charger Mode Register. Without it, the charger detection is unable to identify a CDP. 0 DCPMask SMSC USB4604 R/W 0: battChg.chgDet is not affected for this mask set by detection of a DCP Charger 1: battChg.chgDet indicates status for this mask set met when a DCP Charger is detected 45 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 7.9 Configure Portable Hub Register CFGP (0x30EE - RESET= 0x10) BIT 7 PORTABLE HUB CONFIGURATION REGISTER NAME R/W DESCRIPTION ClkSusp R/W 0: Allow device to gate-off its internal clocks during suspend mode in order to meet USB suspend current requirements. 1: Force device to run internal clock even during USB suspend (will cause device to violate USB suspend current limit - intended for test or selfpowered applications which require use of SMBus during USB session.) 6 5:1 0 Reserved R Always read ‘0’ DIS_CHP_PHY_CL K[5:1] R/W A ‘1’ Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Reserved R Always read ‘0’ disables the PHY clock of the corresponding port: - Downstream port 5 - Downstream port 4 - Downstream port 3 - Downstream port 2 - Downstream port 1 Table 7.10 Port Select and Low-Power Suspend Register PSELSUSP (0x318B- RESET=0x00) BIT 7:6 PORT SELECT AND LOW POWER SUSPEND REGISTER NAME R/W DESCRIPTION APortSel R/W Specifies which downstream USB port is associated with the PRTPWRA pin function. ‘00’ - Port 1 ‘01’ - Port 2 ‘10’ - Port 3 ‘11’ - Port 4 5:0 Note: Reserved R Always read ‘0’ This register should be assigned during the Hub.Config or Hub.Connect stages, and should not be dynamically updated during Hub.Communication stage or undefined behavior may result. Revision 1.0 (06-17-13) 46 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 7.11 Connect Configuration Register CONNECT_CFG (0x318E- RESET=0x00) CONNECT CONFIGURATION REGISTER BIT NAME R/W DESCRIPTION 7:2 Reserved R Reserved 1 EN_FLEX_MODE R/W Flex Connect mode enable 0: Flex Connect mode is disabled. (Normal hub operation with separate port power and OCS control) 1: Flex Connect mode is enabled 0 FLEXCONNECT R/W FlexConnect Control. When asserted the device changes its hub connections so that the Swap port (Physical Port 1) changes from it’s default behavior of a downstream port to an upstream port. The Flex Port (Physical port 0) transitions from an upstream port to a downstream port. ‘0’ Flex Port = Upstream (Port 0) Swap Port= Downstream (Port 1) ‘1’ Flex Port= Downstream (Port 1) Swap Port= Upstream (Port 0) This setting can be used to select whether the Flex Port is an upstream or downstream port. The Flex Port provides both an HSIC and D+/Dconnection, so the OEM can select whether this flexibility is provided on the upstream or downstream port. Another application for this setting is to allow a dual-role device on the Swap Port to assume a host role and communicate directly with other downstream hub ports, or to communicate through the Flex Port to a exposed connector to an external device. If a “private” communication channel is desired between embedded devices, any externally exposed ports should be disabled. Note: All port-specific settings such as VSNS, prtSp, sDiscon are specific to the logic port 0, 1, 2, 3. When FLEXCONNECT is asserted, these settings affect the newly assigned physical pins and PHY. Any settings which are specific to the physical Flex Port and Swap Port such as battery charger detection do not change with the setting of FLEXCONNECT. SMSC USB4604 47 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 7.12 Upstream (Port 0) Battery Charging Control 1 Register BC_CTL_1 (0x6100- RESET=0x00) UPSTREAM (PORT 0) BATTERY CHARGING CONTROL 1 REGISTER BIT NAME R/W DESCRIPTION 7 USB2_IDP_SRC_EN R/W AFE 10uA IDP_SRC current source Enable 0: Disabled (Hi Z) 1: Enabled 6 USB2_VDAT_SRC_EN R/W AFE 0.6V VDATA_SRC voltage source Enable 0: Disabled (Hi Z) 1: Enabled 5 USB2_HOST_CHRG_EN R/W Enable charging host port mode 0: Portable Device 1: Charging Host port. When the charging host port is bit is set, the connections of VDATA_SRC, IDAT_SINK, IDP_SRC, VDAT_DET are reversed between DP and DM 4 USB2_IDAT_SINK_EN R/W AFE 100uA current sink and the VDAT_DET comparator Enable 0: Disabled (Hi Z) 1: Enabled 3 USB2_VDAT_DET R VDAT_DET comparator output 0: No voltage detected 1: Voltage detected (a possible charger or a device) 2 USB2_BC_DP_RDIV_EN R/W AFE Battery Charging Resistor Divider Enable – DP. 0: Disables resistor divider on DP. 1: Enables 2.7V voltage reference on DP through use of 9.7K/48.5K resistor divider. 1 0 USB2_BC_DM_RDIV_E N R/W USB2_DP_DM_SHORT_ EN R/W Revision 1.0 (06-17-13) AFE Battery Charging Resistor Divider Enable – DM. 0: Disables resistor divider on DM. 1: Enables 2.0V voltage reference on DM through use of 29.1K/48.5K resistor divider. Sets the port into China battery charger mode. 48 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 7.13 Upstream (Port 0) Battery Charging Control 2 Register BC_CTL_2 (0x6101- RESET=0x00) UPSTREAM (PORT 0) BATTERY CHARGING CONTROL 2 REGISTER BIT NAME R/W DESCRIPTION 7 BC_10_125K_PU_DP R/W Setting this bit enables a 125K pull-up to VDD33 on DP. This is used for USB battery charging in 1.0 mode detection only. 6 BC_10_125K_PU_DM R/W Setting this bit enables a 125K pull-up to VDD33 on DM. This is used for USB battery charging in 1.0 mode detection only. 5 LINESTATE_DP R This is the direct value of the Full-Speed USB line state Data Plus. It is used for battery charging detection. This line is not valid in HS mode and should only be used in battery charging detection. 4 LINESTATE_DM R This is the direct value of the Full-Speed USB line state Data Minus. It is used for battery charging detection. This line is not valid in HS mode and should only be used for battery charging detection. 3 USB2_FS_DP R This is the raw Full-Speed single ended receiver output for Data Plus 2 USB2_FS_DM R This is the raw Full-Speed single ended receiver output for Data Minus 1:0 Reserved R Always read ‘0’ SMSC USB4604 49 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 7.14 Upstream (Port 0) Battery Charging Run Time Control Register BC_CTL_RUN_TIME (0x6102- RESET=0x00) UPSTREAM (PORT 0) BATTERY CHARGING RUN TIME CONTROL REGISTER BIT NAME R/W DESCRIPTION 7 Reserved R Always read ‘0 6 SUSPENDN R/W Suspend enable. Forces upstream port into suspend 0: Suspend disabled 1: Suspend enabled 5 RESET R/W Reset enable. Forces upstream port into reset 0: Reset disabled 1: Reset enabled 4 USB2_FS_OEB R/W Output Enable (OE). Forces upstream port into output enable 0: OE disabled 1: OE enabled 3 RPD_DP_EN R/W Data plus resistor pull-down enable 0: Data plus pull-down disabled 1: Data plus pull-down enabled 2 RPD_DM_EN R/W Data minus resistor pull-down enable 0: Data minus pull-down disabled 1: Data minus pull-down enabled 1:0 XCVRSELECT R/W Transceiver Select. This field selects between the LS, FS and HS transceivers. 2'b00: HS mode 2'b01: FS mode 2'b10: LS mode 2'b11: LS data-rate with FS rise/fall times (and EOP/IDLE) Note: Note: XCVRSELECT must change state only when the device is not actively transmitting or receiving Table 7.15 Upstream (Port 0) Battery Charging Detect Register UPSTREAM (PORT 0) BATTERY CHARGING DETECT REGISTER BC_CTL_DET (0x6103- RESET=0x00) BIT NAME R/W DESCRIPTION 7:3 Reserved R Always read ‘0 2 USB2_BC_RXHI_EN R/W Enable pin for the Apple high current battery charger detection. 1 USB2_BC_RXHI_DET R Output pin for the Apple high current battery charger detection. When disabled this output will be low. 0 USB2_BC_BIAS_EN R/W When enabling USB2_IDAT_SINK_EN or USB2_VDAT_SRC_EN of the Upstream (Port 0) Battery Charging Control 1 Register, this register bit must be set to enable the required current source. Revision 1.0 (06-17-13) 50 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 7.3.2 Run Time SMBus Page Register The following run time SMBus page register is located at 0xFF and must be programmed to allow the SOC to page through different pages of the register space. Table 7.16 SMBus Page Register SMBUS_PAGE (0xFF(I2C) - RESET= 0x00) SMBUS PAGE REGISTER BIT NAME R/W DESCRIPTION 7:5 PAGE_SEL R/W From the I2C side, this field allows the I2C to select the accessible address space: 000 = Select registers in the 3000 space (0x30e2 - 0x30ee) 010 = Select registers in the 3100 space (0x318b,0x318e) 110 = Select register in the 6100 space (0x6100,0x6101,0x6102) 5:0 Reserved R Reserved. Note: SMSC USB4604 Software must never write a ‘1’ to these bits 51 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Chapter 8 Functional Descriptions This chapter provides additional functional descriptions of key device features. 8.1 Battery Charger Detection & Charging The USB4604 supports both upstream battery charger detection and downstream battery charging. The integrated battery charger detection circuitry supports the USB-IF Battery Charging (BC1.2) detection method and most Apple devices. These circuits are used to detect the attachment and type of a USB charger and provide an interrupt output to indicate charger information is available to be read from the device’s status registers via the serial interface. The USB4604 provides the battery charging handshake and supports the following USB-IF BC1.2 charging profiles: DCP: Dedicated Charging Port (Power brick with no data) CDP: Charging Downstream Port (1.5A with data) SDP: Standard Downstream Port (0.5A with data) Custom profiles loaded via SMBus or OTP The following sub-sections detail the upstream battery charger detection and downstream battery charging features. 8.1.1 Upstream Battery Charger Detection Battery charger detection is available on the upstream facing port. The detection sequence is intended to identify chargers which conform to the Chinese battery charger specification, chargers which conform to the USB-IF Battery Charger Specification 1.2, and most Apple devices. In order to detect the charger, the device applies and monitors voltages on the upstream DP and DM pins. If a voltage within the specified range is detected, the will be updated to reflect the proper status. The device includes the circuitry required to implement battery charging detection using the Battery Charging Specification. When enabled, the device will automatically perform charger detection upon entering the Hub.ChgDet stage in Hub Mode. The device includes a state machine to provide the detection of the USB chargers listed in the table below. The type of charger detected is returned in the CHARGER_TYPE field of the . Table 8.1 Chargers Compatible with Upstream Detection USB ATTACH TYPE DP/DM PROFILE CHARGERTYPE Shorted < 200ohm 001 CDP (Charging Downstream Port) VDP reflected to VDM 010 (EnhancedChrgDet = 1) SDP (Standard Downstream Port) USB Host or downstream hub port 15Kohm pull-down on DP and DM 011 Apple Low Current Charger Apple 100 Apple High Current Charger Apple 101 DP=2.7V DM=2.0V 110 DCP (Dedicated Charging Port) Apple Super High Current Charger Revision 1.0 (06-17-13) 52 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 8.1 Chargers Compatible with Upstream Detection (continued) USB ATTACH TYPE DP/DM PROFILE CHARGERTYPE Apple Charger Low Current Charger (500mA) DP=2.0V DM=2.0V 100 Apple Charger High Current Charger (1000mA) DP=2.0V DM=2.7V 101 If a custom charger detection algorithm is desired, the SMBus registers can also be used to control the charger detection block to implement a custom charger detection algorithm. In order to avoid negative interactions with automatic battery charger detection or normal hub operation, the user should only attempt Custom battery charger detection during the Hub.Config stage or Hub.Connect stage. No logic is implemented to disable custom detection at other times - it is up to the user software to observe this restriction. There is a possibility that the system is not running the reference clock when battery charger detection is required (for example if the battery is dead or missing). During the Hub.WaitRefClk stage the battery charger detection sequence can be configured to be followed regardless of the activity of REFCLK by relying on the operation of the internal oscillator. Note: Battery charger detection is not available when utilizing HSIC on the upstream port. 8.1.2 Downstream Battery Charging The device can be configured by an OEM to have any of the downstream ports to support battery charging. The Hub's role in battery charging is to provide an acknowledge to a device's query as to if the hub system supports USB battery charging. The hub silicon does not provide any current or power FETs or any additional circuitry to actually charge the device. Those components must be provided as externally by the OEM. DC Power INT SCL SMSC SOC Hub SDA PRTPWR[n] VBUS[n] Figure 8.1 Battery Charging External Power Supply If the OEM provides an external supply capable of supplying current per the battery charging specification, the hub can be configured to indicate the presence of such a supply to the device. This indication, via the PRTPWR[1:4] output pins, is on a per/port basis. For example, the OEM can configure two ports to support battery charging through high current power FET's and leave the other two ports as standard USB ports. Note: Battery charging is not available on downstream HSIC ports. SMSC USB4604 53 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 8.1.2.1 Downstream Battery Charging Modes In the terminology of the USB Battery Charging Specification, if a port is configured to support battery charging, the downstream port is a considered a CDP (Charging Downstream Port) if connected to a USB host, or a DCP (Dedicated Charging Port) if not connected to a USB host. If the port is not configured to support battery charging, the port is considered an SDP (Standard Downstream Port). All charging ports have electrical characteristics different from standard non-charging ports. A downstream port will behave as a CDP, DCP, or SDP depending on the port’s configuration and mode of operation. The port will not switch between a CDP/DCP or SDP at any time after initial powerup and configuration. A downstream port can be in one of three modes shown in the table below. Table 8.2 Downstream Port Types 8.1.2.2 USB ATTACH TYPE DP/DM PROFILE DCP (Dedicated Charging Port) Apple charging mode or China Mode (Shorted < 200ohm) or SMSC custom mode CDP (Charging Downstream Port) VDP reflected to VDM SDP (Standard Downstream Port) USB Host or downstream hub port 15Kohm pull-down on DP and DM Downstream Battery Charging Configuration Configuration of ports to support battery charging is performed via USB configuration, SMBus configuration, or OTP. The Battery Charging Enable Register provides per port battery charging configuration. Starting from bit 1, this register enables battery charging for each down stream port when asserted. Bit 1 represents port 1 and so on. Each port with battery charging enabled asserts the corresponding PRTPWR register bit. 8.1.2.3 Downstream Over-Current Management It is the devices responsibility to manage over-current conditions. Over-Current Sense (OCS) is handled according to the USB specification. For battery charging ports, PRTPWR is driven high (asserted) after hardware initialization. If an OCS event occurs, the PRTPWR is negated. PRTPWR will be negated for all ports in a ganged configuration. Only the respective PRTPWR will be negated in the individual configuration. If there is an over-current event in DCP mode, the port is turned off for one second and is then reenabled. If the OCS event persists, the cycle is repeated for a total or three times. If after three attempts, the OCS still persists, the cycle is still repeated, but with a retry interval of ten seconds. This retry persists for indefinitely. The indefinite retry prevents a defective device from permanently disabling the port. In CDP or SDP mode, the port power and over-current events are controlled by the USB host. The OCS event does not have to be registered. When and if the hub is connected to a host, the host will initialize the hub and enable its port power. If the over current still exists, it will be notified at that point. Revision 1.0 (06-17-13) 54 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 8.2 SOF Clock Output The USB4604 provides an 8Khz clock output synchronized to the USB host SOFs. The SOF output is generated from the previous SOF packet on the USB line. The device includes an internal free running frame counter to generate internal start of frame and end of frame events. The internal counter is resynchronized every time a successful packet is received and decoded. The internal counter is advanced to compensate for the packet decode time. If the incoming SOF jitters early or late, the jitter will be visible in the next frame SOF output clock rising edge. If one or two SOFs are missing, the SOF output will continue based on the internal frame counter. If more than two SOF are missing, the SOF output signal will stop. The clock is guaranteed to stop in a low state. When enabled or disabled, there will never be a short cycle. Upstream HS USB EOF1 EOF1 EOF2 SOF packet accepted SOF packet accepted SOF EOF2 SOF Internal frame counter events SOF (kHz) Figure 8.2 SOF Output Timing 8.3 Flex Connect This feature allows the upstream port to be swapped with downstream physical port 1. Only downstream port 1 can be swapped physically. Using port remapping, any logical port (number assignment) can be swapped with the upstream port (non-physical). Flex Connect is enabled/disabled via two control bits in the Connect Configuration Register. The FLEXCONNECT configuration bit switches the port, and EN_FLEX_MODE enables the mode. 8.3.1 Port Control Once EN_FLEX_MODE bit is set, the functions of certain pins change, as outlined below. If EN_FLEX_MODE is set and FLEXCONNECT is not set: 1. PRTPWR1 enters combined mode, becoming PRTPWR1/OCS1_N 2. OCS1_N becomes a don’t care 3. SUSPEND outputs ‘0’ to keep any upstream power controller off If EN_FLEX_MODE is set and FLEXCONNECT is set: 1. The normal upstream VBUS pin becomes a don’t care 2. PRTPWR1 is forced to a ‘1’ in combined mode, keeping the port power on to the application processor. 3. OCS1 becomes VBUS from the application processor through a GPIO 4. SUSPEND becomes PRTPWR1/OCS1_N for the port power controller for the connector port SMSC USB4604 55 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 8.4 Resets The device has the following chip level reset sources: 8.4.1 Power-On Reset (POR) External Chip Reset (RESET_N) USB Bus Reset Power-On Reset (POR) A power-on reset occurs whenever power is initially supplied to the device, or if power is removed and reapplied to the device. A timer within the device will assert the internal reset per the specifications listed in Section 9.5.1, "Power-On Configuration Strap Valid Timing," on page 64. 8.4.2 External Chip Reset (RESET_N) A valid hardware reset is defined as assertion of RESET_N, after all power supplies are within operating range, per the specifications in Section 9.5.2, "Reset and Configuration Strap Timing," on page 64. While reset is asserted, the device (and its associated external circuitry) enters Standby Mode and consumes minimal current. Assertion of RESET_N causes the following: 1. The PHY is disabled and the differential pairs will be in a high-impedance state. 2. All transactions immediately terminate; no states are saved. 3. All internal registers return to the default state. 4. The external crystal oscillator is halted. 5. The PLL is halted. 6. The HSIC Strobe and Data pins are driven low. Note: All power supplies must have reached the operating levels mandated in Section 9.2, "Operating Conditions**," on page 59, prior to (or coincident with) the assertion of RESET_N. 8.4.3 USB Bus Reset In response to the upstream port signaling a reset to the device, the device performs the following: Note: The device does not propagate the upstream USB reset to downstream devices. 1. Sets default address to 0. 2. Sets configuration to: Unconfigured. 3. Moves device from suspended to active (if suspended). 4. Complies with Section 11.10 of the USB 2.0 Specification for behavior after completion of the reset sequence. The host then configures the device in accordance with the USB Specification. 8.5 Link Power Management (LPM) The device supports the L0 (On), L1 (Sleep), and L2 (Suspend) link power management states per the USB 2.0 Link Power Management Addendum. These supported LPM states offer low transitional Revision 1.0 (06-17-13) 56 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet latencies in the tens of microseconds versus the much longer latencies of the traditional USB suspend/resume in the tens of milliseconds. The supported LPM states are detailed in Table 8.3. For additional information, refer to the USB 2.0 Link Power Management Addendum. Table 8.3 LPM State Definitions STATE DESCRIPTION ENTRY/EXIT TIME TO L0 L2 Suspend Entry: ~3 ms Exit: ~2 ms L1 Sleep Entry: ~65 us Exit: ~100 us L0 Fully Enabled (On) - Note: State change timing is approximate and is measured by change in power consumption. Note: System clocks are stopped only in suspend mode or when power is removed from the device. 8.6 Suspend (SUSPEND) When enabled, the SUSPEND signal can be used to indicate that the entire hub has entered the USB suspend state and that VBUS current consumption should be reduced in accordance with the USB specification. Selective suspend set by the host on downstream hub ports have no effect on this signal because there is no requirement to reduce current consumption from the upstream VBUS. Suspend can be used by the system to monitor and dynamically adjust how much current the PMIC draws from VBUS to charge the battery in the system during a USB session. Because it is a level indication, it will assert or negate to reflect the current status of suspend without any interaction through the SMBus. A negation of this signal indicates no level suspend interrupt and device has been configured by the USB Host. The full configured current can be drawn from the USB VBUS pin on the USB connector for charging - up to 500mA - depending on descriptor settings. When asserted, this signal indicates a suspend interrupt or that the device has not yet been configured by USB Host. The current draw can be limited by the system according to the USB specification. The USB specification limits current to 100mA before configuration, and up to 12.5mA in USB suspend mode. SMSC USB4604 57 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Chapter 9 Operational Characteristics 9.1 Absolute Maximum Ratings* VBAT Supply Voltage (Note 9.1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0 V to +5.5 V VDDCOREREG Supply Voltage (Note 9.1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0 V to +3.6 V , Positive voltage on input signal pins, with respect to ground (Note 9.2) . . . . . . . . . . . . . . . . . . . 3.6 V Negative voltage on input signal pins, with respect to ground (Note 9.3). . . . . . . . . . . . . . . . . . . -0.5 V Positive voltage on XTAL1/REFCLK, with respect to ground . . . . . . . . . . . . . . . . . . . . . . . . .VDDCR12 Positive voltage on HSIC signals, with respect to ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.32 V Positive voltage on USB DP/DM signals, with respect to ground (Note 9.4) . . . . . . . . . . . . . . . . . 5.5 V Storage Temperature. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-55oC to +150oC Lead Temperature Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Refer to JEDEC Spec. J-STD-020 HBM ESD Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .JEDEC Class 3A Note 9.1 When powering this device from laboratory or system power supplies, it is important that the absolute maximum ratings not be exceeded or device failure can result. Some power supplies exhibit voltage spikes on their outputs when AC power is switched on or off. In addition, voltage transients on the AC power line may appear on the DC output. If this possibility exists, it is suggested to use a clamp circuit. Note 9.2 This rating does not apply to the following signals: All USB DM/DP pins, XTAL1/REFCLK, XTAL2, and all HSIC signals. Note 9.3 This rating does not apply to the HSIC signals. Note 9.4 This rating applies only when VDD33 is powered. *Stresses exceeding those listed in this section could cause permanent damage to the device. This is a stress rating only. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Functional operation of the device at any condition exceeding those indicated in Section 9.2, "Operating Conditions**", Section 9.4, "DC Specifications", or any other applicable section of this specification is not implied. Note, device signals are NOT 5 volt tolerant unless specified otherwise. Revision 1.0 (06-17-13) 58 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 9.2 Operating Conditions** VBAT Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +3.0 V to +5.5 V VDDCOREREG Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Note 9.5 Power Supply Rise Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Note 9.6 Ambient Operating Temperature in Still Air (TA). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Note 9.7 Note 9.5 +1.6 V to +2.0 V when VDDCOREREG is connected to an external +1.8V power supply, +3.0 V to +3.6 V when VDDCOREREG is connected to VDD33. Note 9.6 The power supply rise time requirements vary dependent on the usage of the external reset (RESET_N). If RESET_N is asserted at power-on, the power supply rise time must be 10mS or less (tRT(max) = 10mS). If RESET_N is not used at power-on (tied high), the power supply rise time must be 1mS or less (tRT(max) = 1mS). Higher voltage supplies must always be at an equal or higher voltage than lower voltage supplies. Figure 9.1 illustrates the supply rise time requirements. Note 9.7 0oC to +70oC for commercial version, -40oC to +85oC for industrial version. **Proper operation of the device is guaranteed only within the ranges specified in this section. Voltage Voltage tRT 3.3V/VBAT 100% VBAT tRT 3.3V 100% VBAT 90% 90% 1.8V VDDCOREREG 100% 90% 10% 10% VSS VSS t90% t10% Single Supply Rise Time Model t90% t10% Dual Supply Rise Time Model Time Time Figure 9.1 Single/Dual Supply Rise Time Models SMSC USB4604 59 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 9.3 Power Consumption This section details the power consumption of the device as measured during various modes of operation. Power dissipation is determined by temperature, supply voltage, and external source/sink requirements. 9.3.1 Operational / Unconfigured 9.3.1.1 HSIC Upstream Table 9.1 Operational/Unconfigured Power Consumption (HSIC Upstream) TYPICAL (mA) MAXIMUM (mA) VBAT VDDCOREREG (Note 9.8) VBAT VDDCOREREG (Note 9.8) HS Host / 1 HS Device 30 40 35 45 HS Host / 2 HS Devices 50 50 60 55 HS Host / 4 HS Devices 90 60 100 70 HS Host / 1 FS Device 15 30 20 40 HS Host / 2 FS Devices 20 35 20 45 HS Host / 4 FS Devices 20 40 25 50 Unconfigured 10 20 - - Note 9.8 9.3.1.2 Includes VDD12 current. USB Upstream Table 9.2 Operational/Unconfigured Power Consumption (USB Upstream) TYPICAL (mA) MAXIMUM (mA) VBAT VDDCOREREG VBAT VDDCOREREG HS Host / 1 HS Device 30 40 40 45 HS Host / 2 HS Devices 55 50 65 55 HS Host / 4 HS Devices 100 65 105 75 HS Host / 1 FS Device 20 30 25 40 HS Host / 2 FS Devices 20 40 30 40 HS Host / 4 FS Devices 25 40 30 45 Unconfigured 10 20 - - Revision 1.0 (06-17-13) 60 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Note 9.9 Includes VDD12 current. 9.3.2 Suspend / Standby 9.3.2.1 Single Supply The following tables detail the device power consumption when configured with a single VBAT supply and an externally supplied VDD12 for HSIC (when applicable) For additional information on power connections, refer to Chapter 4, "Power Connections," on page 22. 9.3.2.1.1 USB UPSTREAM Table 9.3 Single Supply Suspend/Standby Power Consumption (USB Upstream) MODE SYMBOL TYPICAL @ 25oC COMMERCIAL MAX INDUSTRIAL MAX UNIT Suspend IVBAT 320 1200 2000 uA Standby IVBAT 0.4 2.0 2.4 uA Note: Typical values measured with VBAT = 4.2V. Maximum values measured with VBAT = 5.5V. 9.3.2.1.2 HSIC UPSTREAM Table 9.4 Single Supply Suspend/Standby Power Consumption (HSIC Upstream) MODE Suspend Standby SYMBOL TYPICAL @ 25oC COMMERCIAL MAX INDUSTRIAL MAX UNIT IVBAT 120 1200 1500 uA IVDD12 5 550 750 uA IVBAT 0.2 1.9 2.2 uA Note: Typical values measured with VBAT = 4.2V, VDD12 = 1.2V. Maximum values measured with VBAT = 5.5V, VDD12 = 1.32V. SMSC USB4604 61 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 9.3.2.2 Dual Supply The following tables detail the device power consumption when configured with a dual supply (VBAT and 1.8V VDDCOREREG) and an externally supplied VDD12 for HSIC (when applicable) For additional information on power connections, refer to Chapter 4, "Power Connections," on page 22. 9.3.2.2.1 USB UPSTREAM Table 9.5 Dual Supply Suspend/Standby Power Consumption (USB Upstream) MODE Suspend Standby SYMBOL TYPICAL @ 25oC COMMERCIAL MAX INDUSTRIAL MAX UNIT IVDDCOREREG 80 900 1350 uA IVBAT 230 400 400 uA IVDDCOREREG 0.1 1.2 2.5 uA IVBAT 0.4 2.1 2.5 uA Note: Typical values measured with VBAT = 4.2V, VDDCOREREG = 1.8V. Maximum values measured with VBAT = 5.5V, VDDCOREREG = 2.0V. 9.3.2.2.2 HSIC UPSTREAM Table 9.6 Dual Supply Suspend/Standby Power Consumption (USB Upstream) MODE Suspend Standby SYMBOL TYPICAL @ 25oC COMMERCIAL MAX INDUSTRIAL MAX UNIT IVDDCOREREG 90 900 1300 uA IVBAT 30 500 750 uA IVDD12 5.5 650 1100 uA IVDDCOREREG 0.1 1.2 2.5 uA IVBAT 0.4 2.1 2.5 uA Note: Typical values measured with VBAT = 4.2V, VDDCOREREG = 1.8V, VDD12 = 1.2V. Maximum values measured with VBAT = 5.5V, VDDCOREREG = 2.0V, VDD12 = 1.32V. Revision 1.0 (06-17-13) 62 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 9.4 DC Specifications Table 9.7 DC Electrical Characteristics PARAMETER SYMBOL MIN Low Input Level VIL High Input Level TYP MAX UNITS NOTES -0.3 0.8 V VIH 2.0 3.6 V Low Input Level VIL -0.3 0.4 V High Input Level VIH 1.25 3.6 V Low Input Level VIL -0.3 0.35 V High Input Level VIH 1.25 3.6 V 0.4 V IOL = 8 mA V IOH = -8 mA IS Type Input Buffer I_RST Type Input Buffer I_SMB Type Input Buffer O8 Type Buffers Low Output Level VOL High Output Level VOH VDD33 - 0.4 OD8 Type Buffer Low Output Level VOL 0.4 V IOL = 8 mA Low Output Level VOL 0.4 V IOL = 12 mA High Output Level VOH V IOH = -12 mA 0.4 V IOL = 12 mA O12 Type Buffers VDD33 - 0.4 OD12 Type Buffer Low Output Level VOL HSIC Type Buffers Low Input Level VIL -0.3 0.35*VDD12 V High Input Level VIH 0.65*VDD12 VDD12+0.3 V Low Output Level VOL 0.25*VDD12 V High Output Level VOH 0.75*VDD12 Low Input Level VIL -0.3 0.35 V High Input Level VIH 0.8 VDDCR12 V V ICLK Type Buffer (XTAL1/REFCLK Input) SMSC USB4604 63 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 9.5 AC Specifications This section details the various AC timing specifications of the device. 9.5.1 Power-On Configuration Strap Valid Timing Figure 9.1 illustrates the configuration strap timing requirements, in relation to power-on, for applications where RESET_N is not used at power-on. The operational levels (Vopp) for the external power supplies are detailed in Section 9.2, "Operating Conditions**," on page 59. Note: For RESET_N configuration strap timing requirements, refer to Section 9.5.2, "Reset and Configuration Strap Timing," on page 64. All External Power Supplies Vopp tcsh Configuration Straps Figure 9.1 Power-On Configuration Strap Valid Timing Table 9.8 Power-On Configuration Strap Valid Timing SYMBOL DESCRIPTION MIN tcsh Configuration strap hold after external power supplies at operational levels 1 9.5.2 TYP MAX UNITS ms Reset and Configuration Strap Timing Figure 9.2 illustrates the RESET_N timing requirements and its relation to the configuration strap signals. Assertion of RESET_N is not a requirement. However, if used, it must be asserted for the minimum period specified. Revision 1.0 (06-17-13) 64 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Refer to Section 8.4, "Resets," on page 56 for additional information on resets. Refer to Section 6.3, "Device Configuration Straps," on page 32 for additional information on configuration straps. trstia RESET_N tcsh Configuration Straps Figure 9.2 RESET_N Configuration Strap Timing Table 9.9 RESET_N Configuration Strap Timing SYMBOL DESCRIPTION MIN TYP MAX UNITS trstia RESET_N input assertion time 5 us tcsh Configuration strap hold after RESET_N deassertion 1 ms 9.5.3 USB Timing All device USB signals conform to the voltage, power, and timing characteristics/specifications as set forth in the Universal Serial Bus Specification. Please refer to the Universal Serial Bus Specification, Revision 2.0, available at http://www.usb.org. 9.5.4 HSIC Timing All device HSIC signals conform to the voltage, power, and timing characteristics/specifications as set forth in the High-Speed Inter-Chip USB Electrical Specification. Please refer to the High-Speed InterChip USB Electrical Specification, Version 1.0, available at http://www.usb.org. 9.5.5 SMBus Timing All device SMBus signals conform to the voltage, power, and timing characteristics/specifications as set forth in the System Management Bus Specification. Please refer to the System Management Bus Specification, Version 1.0, available at http://smbus.org/specs. 9.5.6 I2C Timing All device I2C signals conform to the 100KHz Standard Mode (Sm) voltage, power, and timing characteristics/specifications as set forth in the I2C-Bus Specification. Please refer to the I2C-Bus Specification, available at http://www.nxp.com. SMSC USB4604 65 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 9.5.7 SPI Timing The following specifies the SPI timing requirements for the device. tceh SPI_CE_N tfc tcel SPI_CLK tclq tdh SPI_DI tos toh tov toh SPI_DO Figure 9.3 SPI Timing Note: The SPI can be configured for 30 MHz or 60 MHz operation via the SPI_SPD_SEL configuration strap. 30 MHz operation timing values are shown in Table 9.10. 60 MHz operation timing values are shown in Table 9.11. Table 9.10 SPI Timing Values (30 MHz Operation) SYMBOL tfc DESCRIPTION MIN Clock frequency TYP MAX UNITS 30 MHz tceh Chip enable (SPI_CE_EN) high time tclq Clock to input data tdh Input data hold time 0 ns tos Output setup time 5 ns toh Output hold time 5 ns tov Clock to output valid 4 ns tcel Chip enable (SPI_CE_EN) low to first clock 12 ns tceh Last clock to chip enable (SPI_CE_EN) high 12 ns Revision 1.0 (06-17-13) 100 ns 13 66 DATASHEET ns SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Table 9.11 SPI Timing Values (60 MHz Operation) SYMBOL DESCRIPTION tfc MIN TYP MAX UNITS 60 MHz Clock frequency tceh Chip enable (SPI_CE_EN) high time tclq Clock to input data tdh Input data hold time 0 ns tos Output setup time 5 ns toh Output hold time 5 ns tov Clock to output valid 4 ns tcel Chip enable (SPI_CE_EN) low to first clock 12 ns tceh Last clock to chip enable (SPI_CE_EN) high 12 ns 9.6 50 ns 9 ns Clock Specifications The device can accept either a 24 MHz crystal or a 24 MHz single-ended clock oscillator input. If the single-ended clock oscillator method is implemented, XTAL1 should be left unconnected and REFCLK should be driven with a clock that adheres to the specifications outlined in Section 9.6.2, "External Reference Clock (REFCLK)". 9.6.1 Oscillator/Crystal It is recommended that a crystal utilizing matching parallel load capacitors be used for the crystal input/output signals (XTAL1I/XTAL2). See Table 9.12 for the recommended crystal specifications. Table 9.12 Crystal Specifications PARAMETER SYMBOL MIN NOM Crystal Cut MAX UNITS NOTES AT, typ Crystal Oscillation Mode Fundamental Mode Crystal Calibration Mode Parallel Resonant Mode Frequency Ffund Total Allowable PPM Budget Operating Temperature Range - 24.000 - MHz - - +/-350 PPM Note 9.10 - Note 9.11 oC Note 9.10 0oC for commercial version, -40oC for industrial version. Note 9.11 +70oC for commercial version, +85oC for industrial version. SMSC USB4604 67 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 9.6.2 External Reference Clock (REFCLK) The following input clock specifications are suggested: 50% duty cycle ± 10% 24 MHz ± 350 PPM Note: The external clock is recommended to conform to the signalling levels designated in the JEDEC specification on 1.2V CMOS Logic. XTAL2 should be treated as a no connect when an external clock is supplied. Revision 1.0 (06-17-13) 68 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Chapter 10 Package Outline Figure 10.1 48-SQFN Package Drawing Table 10.1 48-SQFN Package Dimensions MIN 0.80 0 6.90 4.00 0.30 0.18 0.95 - A A1 D/E D2/E2 L b k ccc e NOMINAL 0.90 0.02 7.00 4.10 0.40 0.25 1.05 0.50 BSC MAX 1.00 0.05 7.10 4.20 0.50 0.30 0.08 REMARKS Overall Package Height Standoff X/Y Body Size X/Y Exposed Pad Size Terminal Length Terminal Width Terminal to Exposed Pad Clearance Coplanarity Terminal Pitch Notes: 1. All dimensions are in millimeters unless otherwise noted. 2. SMSC USB4604 Dimension “b” applies to plated terminals and is measured between 0.15 and 0.30 mm from the terminal tip. 69 DATASHEET Revision 1.0 (06-17-13) USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet 3. 4. The pin 1 identifier may vary, but is always located within the zone indicated. Coplanarity zone applies to exposed pad and terminals. Figure 10.2 48-SQFN Package Recommended Land Pattern Revision 1.0 (06-17-13) 70 DATASHEET SMSC USB4604 USB 2.0 HSIC Hi-Speed 4-Port Hub Controller Datasheet Chapter 11 Datasheet Revision History Table 11.1 Revision History REVISION LEVEL & DATE Rev. 1.0 (06-17-13) SMSC USB4604 SECTION/FIGURE/ENTRY CORRECTION Initial Release 71 DATASHEET Revision 1.0 (06-17-13)