USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller PRODUCT FEATURES Datasheet General Description T h e S M S C 2 - P o r t H u b i s a l o w p o w e r, O E M configurable, STT (Single transaction translator) hub controller IC with 2 downstream ports for embedded USB solutions. The 2-port hub is fully compliant with the USB 2.0 Specification and will attach to an upstream port as a Full-Speed Hub or as a Full-/High-Speed Hub. The 2-Port Hub supports Low-Speed, Full- Speed, and High-Speed (if operating as a High-Speed Hub) downstream devices on all of the enabled downstream ports. General Features Hub Controller IC with 2 downstream ports Enhanced OEM configuration options available through either a single serial I2C EEPROM, or SMBus Slave Port 36-pin (6x6mm) QFN lead-free, RoHS compliant package Supports industrial temperature range of -40ºC - 85ºC Hardware Features — Select Downstream Ports as Non-Removable Ports Applications Low power operation Full Power Management with individual or ganged power control of each downstream port On-chip Power On Reset (POR) Internal 1.8V Voltage Regulator Fully integrated USB termination and Pull-up/Pulldown resistors On Board 24MHz Crystal Driver, Resonator or External 24MHz clock input Enhanced EMI rejection and ESD protection performance Programmable USB signal drive strength. Recover USB signal integrity due to compromised system environment using 2-level driving strength resolution Select the presence of a permanently hardwired USB peripheral device on a port by port basis Configure the delay time for filtering the over-current sense inputs Configure the delay time for turning on downstream port power Indicate the maximum current that the 2-port hub consumes from the USB upstream port Indicate the maximum current required for the hub controller Pin Selectable Options for Default Configuration 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 OEM Selectable Features Customize Vendor ID, Product ID, and Device ID Select whether the hub is part of a compound device (When any downstream port is permanently hardwired to a USB peripheral device, the hub is part of a compound device) Flexible port mapping and disable sequence. Ports can be disabled/reordered in any order to support multiple product SKUs. Hub will automatically reorder the remaining ports to match the Host controller's numbering scheme. Programmable USB differential-pair pin location. Ease PCB layout by aligning USB signal lines directly to connectors SMSC USB2512i DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet ORDER NUMBER(S): USB2512i-AEZG FOR 36 PIN, QFN LEAD-FREE ROHS COMPLIANT PACKAGE 80 ARKAY DRIVE, HAUPPAUGE, NY 11788 (631) 435-6000, FAX (631) 273-3123 Copyright © 2007 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. 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.92 (11-28-07) 2 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Table of Contents Chapter 1 Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Chapter 2 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Chapter 3 Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.1 3.2 PIN Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Buffer Type Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Chapter 4 Configuration Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.1 4.2 4.3 4.4 4.5 4.6 2-Port Hub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1.1 Hub Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1.2 VBus Detect. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EEPROM Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.1 Internal Register Set (Common to EEPROM and SMBus) . . . . . . . . . . . . . . . . . . . . . . . 4.2.2 I2C EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.3 In-Circuit EEPROM Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SMBus Slave Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.1 Bus Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.2 Invalid Protocol Response Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.3 General Call Address Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.4 Slave Device Time-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.5 Stretching the SCLK Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.6 SMBus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.7 Bus Reset Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.8 SMBus Alert Response Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Default Configuration Option: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Default Strapping Options: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.6.1 Internal POR Hardware Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.6.2 External Hardware RESET_N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.6.3 USB Bus Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 13 13 13 13 24 25 25 25 26 26 26 27 27 27 27 27 27 27 27 28 30 Chapter 5 DC Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.1 5.2 Maximum Guaranteed Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Recommended Operating Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Chapter 6 AC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.1 Oscillator/Clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.1 SMBus Interface: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.2 I2C EEPROM: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.3 USB 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 36 36 36 Chapter 7 Package Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 SMSC USB2512i 3 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet List of Figures Figure 1.1 Figure 2.1 Figure 4.1 Figure 4.2 Figure 4.3 Figure 4.4 Figure 4.5 Figure 6.1 Figure 6.2 Figure 7.1 USB2512i 36-Pin QFN (Embedded Footprint) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 USB2512i Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Block Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Block Read. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Reset_N Timing for Default/Strap Option Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Reset_N Timing for EEPROM Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Reset_N Timing for SMBus Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Typical Crystal Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Formula to find value of C1 and C2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 36-Pin QFN, 6x6mm Body, 0.5mm Pitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Revision 1.92 (11-28-07) 4 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet List of Tables Table 3.1 Table 3.2 Table 3.3 Table 3.4 Table 4.1 Table 4.2 Table 4.3 Table 4.4 Table 4.5 Table 5.1 Table 5.2 USB2512i Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 SMBus or EEPROM Interface Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 USB2512i Power, Ground, and No Connect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 USB2512i Buffer Type Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Internal Default, EEPROM and SMBus Register Memory Map. . . . . . . . . . . . . . . . . . . . . . . . 13 Port Remap Register for Ports 1 & 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Reset_N Timing for Default/Strap Option Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Reset_N Timing for EEPROM Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Reset_N Timing for SMBus Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Pin Capacitance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 SMSC USB2512i 5 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet VBUS_DET RESET_N HS_IND/CFG_SEL1 SCL/SMBCLK/CFG_SEL0 VDD33 SDA/SMBDATA/NON_REM1 NC NC NC 27 26 25 24 23 22 21 20 19 Chapter 1 Pin Configuration SUSP_IND/LOCAL_PWR/NON_REM0 28 18 NC 17 OCS2_N 16 PRTPWR2 15 VDD33CR 14 VDD18 13 OCS1_N 12 PRTPWR1 11 TEST 10 VDDA33 8 9 NC NC 36 7 VDD33PLL 6 35 NC RBIAS Thermal Slug (must be connected to VSS) NC 34 5 VDD18PLL VDDA33 33 4 XTAL1/CLKIN USBDN2_DP 32 3 XTAL2 USBDN2_DM 31 2 USBUP_DP SMSC USB2512i Embedded Footprint (Top View QFN-36) USBDN1_DP 30 1 29 USBDN1_DM VDDA33 USBUP_DM Indicates pins on the bottom of the device. Figure 1.1 USB2512i 36-Pin QFN (Embedded Footprint) Revision 1.92 (11-28-07) 6 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Chapter 2 Block Diagram T o U p stre a m V BUS U p stre a m U S B D a ta To EEPR O M or S M B u s M a ste r 2 4 M H z C rysta l 3 .3 V 1 .8 V PLL B u s -P o w e r D e te c t/V B U S P u ls e U p s tre a m PHY SD SCK S e ria l In te rfa c e 1 .8 V R e g S IE R e p e a te r C o n tro lle r P o rt C o n tro lle r TT R o u tin g & P o rt R e -O rd e rin g L o g ic PH Y#1 P o rt # 1 P o rt # 2 OC S en se S w itch D riv er LED D rive rs OC S en s e S w itc h D rive r LED D rivers PH Y#2 U S B D a ta O C S e nse D ow n strea m S w itch /LE D D rive rs U S B D a ta D ow n strea m O C S en se S w itch/L E D D rivers Figure 2.1 USB2512i Block Diagram SMSC USB2512i 7 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Chapter 3 Pin Descriptions 3.1 PIN Descriptions This section provides a detailed description of each signal. 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. When “N” is not present before 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. Table 3.1 USB2512i Pin Descriptions SYMBOL QFN-36 EMB BUFFER TYPE DESCRIPTION UPSTREAM USB INTERFACES USBUP_DP USBUP_DM 31 30 IO-U VBUS_DET 27 I/O12 USB Bus Data These pins connect to the upstream USB bus data signals (Host port, or upstream hub). Detect Upstream VBUS Power Detects state of Upstream VBUS power. The SMSC Hub monitors VBUS_DET to determine when to assert the internal D+ pull-up resistor (signaling a connect event). When designing a detachable hub, this pin must be connected to the VBUS power pin of the USB port that is upstream of the hub. For self-powered applications with a permanently attached host, this pin must be connected to 3.3V (typically VDD33). DOWNSTREAM 2-PORT USB 2.0 INTERFACE USBDN_DP[2:1]/ & USBDN_DM[2:1]/ PRTPWR[2:1] 4 2 IO-U These pins connect to the downstream USB peripheral devices attached to the hub’s port. 3 1 16 12 High-Speed USB Data O12 USB Power Enable Enables power to USB peripheral devices downstream. Note: The hub supports active high power controllers only! OCS[2:1]_N RBIAS 17 13 IPU 35 I-R Over Current Sense Input from external current monitor indicating an over-current condition. {Note: Contains internal pull-up to 3.3V supply} USB Transceiver Bias A 12.0kΩ (+/- 1%) resistor is attached from ground to this pin to set the transceiver’s internal bias settings. Revision 1.92 (11-28-07) 8 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Table 3.1 USB2512i Pin Descriptions (continued) SYMBOL QFN-36 EMB BUFFER TYPE DESCRIPTION SERIAL PORT INTERFACE SDA/ SMBDATA/ NON_REM1 22 I/OSD12 Serial Data / SMB Data & Port Non Removable Strap Option NON_REM1: Non removable port strap option. If this strap is enabled by package and configuration settings (see Table 3.2), this pin will be sampled (in conjunction with LOCAL_PWR/SUSP_IND/NON_REM0) at RESET_N negation to determine if imports [2:1] contain permanently attached (non-removable) devices: NON_REM[1:0] = ‘00’, All ports are removable. NON_REM[1:0] = ‘01’, Port 1 is nonremovable. NON_REM[1:0] = ‘10’, Ports 1 & 2 are non-removable. NON_REM[1:0] = ‘11’, Ports 1 & 2 are non-removable. SCL/ 24 I/OSD12 SMBus Clock (SMBCLK) SMBCLK/ Configuration Select_SEL0: The logic state of this multifunction pin is internally latched on the rising edge of RESET_N (RESET_N negation), and will determine the hub configuration method as described in Table 3.2, "SMBus or EEPROM Interface Behavior". CFG_SEL0 HS_IND/ CFG_SEL1 Serial Clock (SCL) 25 I/O12 High-Speed Upstream port indictor & Configuration Programming Select HS_IND: High Speed Indicator for upstream port connection speed. The active state of the LED will be determined as follows: CFG_SEL1 = ‘0’, HS_IND is active high, CFG_SEL1 = ‘1’, HS_IND is active low, ‘Asserted’ = Hub is connected at HS ‘Negated’ = Hub is connected at FS CFG_SEL1: The logic state of this pin is internally latched on the rising edge of RESET_N (RESET_N negation), and will determine the hub configuration method as described in Table 3.2, "SMBus or EEPROM Interface Behavior". MISC XTAL1/ CLKIN SMSC USB2512i 33 ICLKx Crystal Input/External Clock Input 24MHz crystal or external clock input. This pin connects to either one terminal of the crystal or to an external 24MHz clock when a crystal is not used. 9 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Table 3.1 USB2512i Pin Descriptions (continued) SYMBOL QFN-36 EMB BUFFER TYPE XTAL2 32 OCLKx DESCRIPTION Crystal Output 24MHz Crystal This is the other terminal of the crystal, or a NO-CONNECT when an external clock source is used to drive XTAL1/CLKIN. This output must not be used to drive any external circuitry other than the crystal circuit. RESET_N 26 IS RESET Input The system can reset the chip by driving this input low. The minimum active low pulse is 1 us. When the RESET_N pin is pulled to VDD33, the internal POR (Power on Reset) is enabled and no external reset circuitry is required. The internal POR holds the internal logic in reset until the power supplies are stable. SUSP_IND/ LOCAL_PWR/ NON_REM0 28 I/O Active/Suspend status LED or Local-Power & Non Removable Strap Option Suspend Indicator: Indicates USB state of the hub. ‘negated’ = Unconfigured, or configured and in USB Suspend ‘asserted’ = Hub is configured, and is active (i.e., not in suspend) Local Power: Detects availability of local self-power source. Low = Self/local power source is NOT available (i.e., Hub gets all power from Upstream USB VBus). High = Self/local power source is available. NON_REM0 Strap Option: If this strap is enabled by package and configuration settings (see Table 3.2), this pin will be sampled (in conjunction with NON_REM1) at RESET_N negation to determine if ports [2:1] contain permanently attached (non-removable) devices. Also, the active state of the LED will be determined as follows: NON_REM[1:0] = ‘00’, All ports are removable, and the LED is active high NON_REM[1:0] = ‘01’, Port 1 is nonremovable, and the LED is active low NON_REM[1:0] = ‘10’, Ports 1 & 2 are non-removable, and the LED is active high NON_REM[1:0] = ‘11’, Ports 1 & 2 are non-removable, and the LED is active low TEST 11 IPD TEST pin Used for testing the chip. User must treat as a no-connect or connect to ground. Table 3.2 SMBus or EEPROM Interface Behavior CFG_SEL1 CFG_SEL0 0 0 Revision 1.92 (11-28-07) SMBUS OR EEPROM INTERFACE BEHAVIOR Internal Default Configuration Strap Options Enabled 10 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Table 3.2 SMBus or EEPROM Interface Behavior (continued) CFG_SEL1 CFG_SEL0 SMBUS OR EEPROM INTERFACE BEHAVIOR 0 1 Configured as an SMBus slave for external download of user-defined descriptors. SMBus slave address 58 (0101100x) Strap Options Disabled All Settings Controlled by Registers 1 0 Internal Default Configuration Strap Options Enabled Bus Power Operation 1 1 2-Wire I2C EEPROMS are supported. Strap Options Disabled All Settings Controlled by Registers Table 3.3 USB2512i Power, Ground, and No Connect PACKAGE SYMBOL 36-QFN EMB VDD18 14 FUNCTION VDD Core This pin must have a 1.0μF (or greater) ±20% (ESR <0.1Ω) capacitor to VSS. VDD33PLL 36 VDD 3.3 PLL Regulator Reference +3.3V power supply for the PLL. If the internal PLL 1.8V regulator is enabled, then this pin acts as the regulator input. VDDPLL18 34 VDD PLL This pin must have a 1.0μF (or greater) ±20% (ESR <0.1Ω) capacitor to VSS. VDDA33 VDD33/VDD33CR NC SMSC USB2512i 5 10 29 VDD Analog I/O 23 15 VDDIO/VDD 3.3 Core Regulator Reference 6 7 8 9 18 19 20 21 No Connect +3.3V Filtered analog PHY power, shared between adjacent ports. +3.3V power supply for the Digital I/O If the internal core regulator is enabled, then VDD33CR acts as the regulator input. Leave unconnected on the circuit board. 11 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 3.2 Buffer Type Descriptions Table 3.4 USB2512i Buffer Type Descriptions BUFFER I DESCRIPTION Input. IPD Input with internal weak pull-down resistor. IPU Input with internal weak pull-up resistor. IS O12 Input with Schmitt trigger. Output 12mA. OD12 Open drain... 12mA sink. I/O12 Input/Output buffer with 12mA sink and 12mA source. I/OSD12 Open drain...12mA sink with Schmitt trigger, and must meet I2C-Bus Specification Version 2.1 requirements. ICLKx XTAL clock input. OCLKx XTAL clock output. I-R I/O-U AIO Revision 1.92 (11-28-07) RBIAS. Analog Input/Output Defined in USB specification. Analog Input/Output. 12 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Chapter 4 Configuration Options 4.1 2-Port Hub SMSC’s USB 2.0 2-Port Hub is fully specification compliant to the Universal Serial Bus Specification Revision 2.0 April 27,2000 (12/7/2000 and 5/28/2002 Errata). Please reference Chapter 10 (Hub Specification) for general details regarding Hub operation and functionality. The 2-Port Hub provides 1 Transaction Translator (TT) that is shared by both downstream ports (defined as Single-TT configuration), The TT contains 4 non-periodic buffers. 4.1.1 Hub Configuration Options The SMSC Hub supports a large number of features (some are mutually exclusive), and must be configured in order to correctly function when attached to a USB host controller. There are three principal ways to configure the hub: SMBus, EEPROM, or by internal default settings (with or without pin strapping option over-rides). In all cases, the configuration method will be determined by the CFG_SEL1 and CFG_SEL0 pins immediately after RESET_N negation. 4.1.1.1 Power Switching Polarity The hub only supports “active high” port power controllers. 4.1.2 VBus Detect According to Section 7.2.1 of the USB 2.0 Specification, a downstream port can never provide power to its D+ or D- pull-up resistors unless the upstream port’s VBUS is in the asserted (powered) state. The VBUS_DET pin on the Hub monitors the state of the upstream VBUS signal and will not pull-up the D+ resistor if VBUS is not active. If VBUS goes from an active to an inactive state (Not Powered), Hub will remove power from the D+ pull-up resistor within 10 seconds. 4.2 EEPROM Interface The SMSC Hub can be configured via a 2-wire (I2C) EEPROM (256x8). (Please see Table 3.1 for specific details on how to enable configuration via an I2C EEPROM). The Internal state-machine will (when configured for EEPROM support) read the external EEPROM for configuration data. The hub will then “attach” to the upstream USB host. Note: The Hub does not have the capacity to write, or “Program,” an external EEPROM. The Hub only has the capability to read external EEPROMs. The external eeprom will be read (even if it is blank or non-populated), and the hub will be “configured” with the values that are read. Please see Internal Register Set (Common to EEPROM and SMBus) for a list of data fields available. 4.2.1 Internal Register Set (Common to EEPROM and SMBus) Table 4.1 Internal Default, EEPROM and SMBus Register Memory Map ABBR INTERNAL DEFAULT ROM SMBUS AND EEPROM POR VALUES VID LSB VIDL 24h 0x00 R/W VID MSB VIDM 04h 0x00 R/W PID LSB PIDL 12h 0x00 REG ADDR R/W REGISTER NAME 00h R/W 01h 02h SMSC USB2512i 13 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Table 4.1 Internal Default, EEPROM and SMBus Register Memory Map (continued) ABBR INTERNAL DEFAULT ROM SMBUS AND EEPROM POR VALUES PID MSB PIDM 25h 0x00 R/W DID LSB DIDL 00h 0x00 05h R/W DID MSB DIDM 00h 0x00 06h R/W Config Data Byte 1 CFG1 8Bh 0x00 07h R/W Config Data Byte 2 CFG2 10h 0x00 08h R/W Config Data Byte 3 CFG3 00h 0x00 09h R/W Non-Removable Devices NRD 00h 0x00 0Ah R/W Port Disable (Self) PDS 08h 0x00 0Bh R/W Port Disable (Bus) PDB 08h 0x00 0Ch R/W Max Power (Self) MAXPS 01h 0x00 0Dh R/W Max Power (Bus) MAXPB 64h 0x00 0Eh R/W Hub Controller Max Current (Self) HCMCS 01h 0x00 0Fh R/W Hub Controller Max Current (Bus) HCMCB 64h 0x00 10h R/W Power-on Time PWRT 32h 0x00 11h-F5h R/W Reserved N/A 01h 0x00 F6h R/W Boost_Up BOOSTUP 00h 0x00 F7h R/W Reserved N/A 00h 0x00 F8h R/W Boost_2:0 BOOST20 00h 0x00 F9h R/W Reserved N/A 00h 0x00 FAh R/W Port Swap PRTSP 00h 0x00 FBh R/W Port Remap 12 PRTR12 00h 0x00 FC-FEh R/W Reserved N/A 00h 0x00 FFh R/W Status/Command Note: SMBus register only STCD 00h 0x00 REG ADDR R/W REGISTER NAME 03h R/W 04h 4.2.1.1 Register 00h: Vendor ID (LSB) BIT NUMBER BIT NAME DESCRIPTION 7:0 VID_LSB Least Significant Byte of the Vendor ID. This is a 16-bit value that uniquely identifies the Vendor of the user device (assigned by USB-Interface Forum). This field is set by the OEM using either the SMBus or EEPROM interface options. Revision 1.92 (11-28-07) 14 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.2.1.2 Register 01h: Vendor ID (MSB) BIT NUMBER BIT NAME DESCRIPTION 7:0 VID_MSB Most Significant Byte of the Vendor ID. This is a 16-bit value that uniquely identifies the Vendor of the user device (assigned by USB-Interface Forum). This field is set by the OEM using either the SMBus or EEPROM interface options. 4.2.1.3 Register 02h: Product ID (LSB) BIT NUMBER BIT NAME DESCRIPTION 7:0 PID_LSB Least Significant Byte of the Product ID. This is a 16-bit value that the Vendor can assign that uniquely identifies this particular product (assigned by OEM). This field is set by the OEM using either the SMBus or EEPROM interface options. 4.2.1.4 Register 03h: Product ID (MSB) BIT NUMBER BIT NAME DESCRIPTION 7:0 PID_MSB Most Significant Byte of the Product ID. This is a 16-bit value that the Vendor can assign that uniquely identifies this particular product (assigned by OEM). This field is set by the OEM using either the SMBus or EEPROM interface options. 4.2.1.5 Register 04h: Device ID (LSB) BIT NUMBER BIT NAME 7:0 DID_LSB 4.2.1.6 DESCRIPTION Least Significant Byte of the Device ID. This is a 16-bit device release number in BCD format (assigned by OEM). This field is set by the OEM using either the SMBus or EEPROM interface options. Register 05h: Device ID (MSB) BIT NUMBER BIT NAME 7:0 DID_MSB SMSC USB2512i DESCRIPTION Most Significant Byte of the Device ID. This is a 16-bit device release number in BCD format (assigned by OEM). This field is set by the OEM using either the SMBus or EEPROM interface options. 15 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.2.1.7 Register 06h: CONFIG_BYTE_1 BIT NUMBER BIT NAME 7 SELF_BUS_PWR DESCRIPTION Self or Bus Power: Selects between Self- and Bus-Powered operation. The Hub is either Self-Powered (draws less than 2mA of upstream bus power) or Bus-Powered (limited to a 100mA maximum of upstream power prior to being configured by the host controller). When configured as a Bus-Powered device, the SMSC Hub consumes less than 100mA of current prior to being configured. After configuration, the BusPowered SMSC Hub (along with all associated hub circuitry, any embedded devices if part of a compound device, and 100mA per externally available downstream port) must consume no more than 500mA of upstream VBUS current. The current consumption is system dependent, and the OEM must ensure that the USB 2.0 specifications are not violated. When configured as a Self-Powered device, <1mA of upstream VBUS current is consumed and all ports are available, with each port being capable of sourcing 500mA of current. This field is set by the OEM using either the SMBus or EEPROM interface options. Please see the description under Dynamic Power for the self/bus power functionality when dynamic power switching is enabled. 0 = Bus-Powered operation 1 = Self-Powered operation Note: If Dynamic Power Switching is enabled, this bit is ignored and the LOCAL_PWR pin is used to determine if the hub is operating from self or bus power. 6 Reserved 5 HS_DISABLE Reserved High Speed Disable: Disables the capability to attach as either a High/Fullspeed device, and forces attachment as Full-speed only (i.e. no High-Speed support). 0 = High-/Full-Speed 1 = Full-Speed-Only (High-Speed disabled!) 4 Reserved 3 EOP_DISABLE Reserved EOP Disable: Disables EOP generation of EOF1 when in Full-Speed mode. During FS operation only, this permits the Hub to send EOP if no downstream traffic is detected at EOF1. See Section 11.3.1 of the USB 2.0 Specification for additional details. Note: generation of an EOP at the EOF1 point may prevent a Host controller (operating in FS mode) from placing the USB bus in suspend. 0 = EOP generation is normal 1 = EOP generation is disabled 2:1 CURRENT_SNS Over Current Sense: Selects current sensing on a port-by-port basis, all ports ganged, or none (only for bus-powered hubs). The ability to support current sensing on a port or ganged basis is hardware implementation dependent. 00 = Ganged sensing (all ports together) 01 = Individual port-by-port 1x = Over current sensing not supported (must only be used with BusPowered configurations!) Revision 1.92 (11-28-07) 16 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet BIT NUMBER BIT NAME DESCRIPTION 0 PORT_PWR Port Power Switching: Enables power switching on all ports simultaneously (ganged), or port power is individually switched on and off on a port- by-port basis (individual). The ability to support power enabling on a port or ganged basis is hardware implementation dependent. 0 = Ganged switching (all ports together) 1 = Individual port-by-port switching 4.2.1.8 Register 07h: Configuration Data Byte 2 BIT NUMBER BIT NAME DESCRIPTION 7 DYNAMIC Dynamic Power Enable: Controls the ability of the Hub to automatically change from Self-Powered operation to Bus-Powered operation if the local power source is removed or is unavailable (and from Bus-Powered to SelfPowered if the local power source is restored). {Note: If the local power source is available, the Hub will always switch to Self-Powered operation.} When Dynamic Power switching is enabled, the Hub detects the availability of a local power source by monitoring the external LOCAL_PWR pin. If the Hub detects a change in power source availability, the Hub immediately disconnects and removes power from all downstream devices and disconnects the upstream port. The Hub will then re-attach to the upstream port as either a Bus-Powered Hub (if local-power is unavailable) or a SelfPowered Hub (if local power is available). 0 = No Dynamic auto-switching 1 = Dynamic Auto-switching capable 6 Reserved 5:4 OC_TIMER Reserved OverCurrent Timer: Over Current Timer delay. 00 = 0.1ms 01 = 4ms 10 = 8ms 11 = 16ms 3 COMPOUND Compound Device: Allows the OEM to indicate that the Hub is part of a compound (see the USB Specification for definition) device. The applicable port(s) must also be defined as having a "Non-Removable Device". Note: When configured via strapping options, declaring a port as non-removable automatically causes the hub controller to report that it is part of a compound device. 0 = No 1 = Yes, Hub is part of a compound device 2:0 SMSC USB2512i Reserved Reserved 17 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.2.1.9 Register 08h: Configuration Data Byte 3 BIT NUMBER BIT NAME 7:4 Reserved 3 PRTMAP_EN DESCRIPTION Reserved Port Re-mapping enable: Selects the method used by the hub to assign port numbers and disable ports. ‘0’ = Standard Mode ‘1’ = Port Re-map mode 2:0 4.2.1.10 Reserved Reserved Register 09h: Non-Removable Device BIT NUMBER BIT NAME 7:0 NR_DEVICE DESCRIPTION Non-Removable Device: Indicates which port(s) include non-removable devices. ‘0’ = port is removable, ‘1’ = port is non-removable. Informs the Host if one of the active ports has a permanent device that is undetachable from the Hub. (Note: The device must provide its own descriptor data.) When using the internal default option, the NON_REM[1:0] pins will designate the appropriate ports as being non- removable. Bit Bit Bit Bit Bit Bit Bit Bit Revision 1.92 (11-28-07) 7= 6= 5= 4= 3= 2= 1= 0= Reserved, always = ‘0’ Reserved, always = ‘0’ Reserved, always = ‘0’ Reserved, always = ‘0’ Reserved, always = ‘1’ 1; Port 2 non-removable 1; Port 1 non removable Reserved, always = ‘0’ 18 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.2.1.11 Register 0Ah: Port Disable For Self Powered Operation BIT NUMBER BIT NAME DESCRIPTION 7:0 PORT_DIS_SP Port Disable Self-Powered: Disables 1 or more contiguous ports. ‘0’ = port is available, ‘1’ = port is disabled. During Self-Powered operation when remapping mode is disabled (PRTMAP_EN='0'), this selects the ports which will be permanently disabled, and are not available to be enabled or enumerated by a Host Controller. The ports can be disabled in any order, the internal logic will automatically report the correct number of enabled ports to the USB Host, and will reorder the active ports in order to ensure proper function. Bit Bit Bit Bit Bit Bit Bit Bit 4.2.1.12 7= 6= 5= 4= 3= 2= 1= 0= Reserved, always = ‘0’ Reserved, always = ‘0’ Reserved, always = ‘0’ Reserved, always = ‘0’ Reserved, always = ‘1’ 1; Port 2 is disabled 1; Port 1 is disabled Reserved, always = ‘0’ Register 0Bh: Port Disable For Bus Powered Operation BIT NUMBER BIT NAME DESCRIPTION 7:0 PORT_DIS_BP Port Disable Bus-Powered: Disables 1 or more contiguous ports. ‘0’ = port is available, ‘1’ = port is disabled. During Self-Powered operation when remapping mode is disabled (PRTMAP_EN='0'), this selects the ports which will be permanently disabled, and are not available to be enabled or enumerated by a Host Controller. The ports can be disabled in any order, the internal logic will automatically report the correct number of enabled ports to the USB Host, and will reorder the active ports in order to ensure proper function. When using the internal default option, the PRT_DIS[1:0] pins will disable the appropriate ports. Bit Bit Bit Bit Bit Bit Bit Bit 4.2.1.13 7= Reserved 6= Reserved 5= Reserved 4= Reserved 3= Reserved, always = ‘1’ 2= 1; Port 2 is disabled 1= 1; Port 1 is disabled 0 is Reserved, always = ‘0’ Register 0Ch: Max Power For Self Powered Operation BIT NUMBER SMSC USB2512i BIT NAME DESCRIPTION 19 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 7:0 MAX_PWR_SP Max Power Self_Powered: Value in 2mA increments that the Hub consumes from an upstream port (VBUS) when operating as a self-powered hub. This value includes the hub silicon along with the combined power consumption (from VBUS) of all associated circuitry on the board. This value also includes the power consumption of a permanently attached peripheral if the hub is configured as a compound device, and the embedded peripheral reports 0mA in its descriptors. Note: 4.2.1.14 The USB 2.0 Specification does not permit this value to exceed 100mA Register 0Dh: Max Power For Bus Powered Operation BIT NUMBER BIT NAME DESCRIPTION 7:0 MAX_PWR_BP Max Power Bus_Powered: Value in 2mA increments that the Hub consumes from an upstream port (VBUS) when operating as a bus-powered hub. This value includes the hub silicon along with the combined power consumption (from VBUS) of all associated circuitry on the board. This value also includes the power consumption of a permanently attached peripheral if the hub is configured as a compound device, and the embedded peripheral reports 0mA in its descriptors. 4.2.1.15 Register 0Eh: Hub Controller Max Current For Self Powered Operation BIT NUMBER BIT NAME DESCRIPTION 7:0 HC_MAX_C_SP Hub Controller Max Current Self-Powered: Value in 2mA increments that the Hub consumes from an upstream port (VBUS) when operating as a selfpowered hub. This value includes the hub silicon along with the combined power consumption (from VBUS) of all associated circuitry on the board. This value does NOT include the power consumption of a permanently attached peripheral if the hub is configured as a compound device. Note: The USB 2.0 Specification does not permit this value to exceed 100mA A value of 50 (decimal) indicates 100mA, which is the default value. 4.2.1.16 Register 0Fh: Hub Controller Max Current For Bus Powered Operation BIT NUMBER BIT NAME DESCRIPTION 7:0 HC_MAX_C_BP Hub Controller Max Current Bus-Powered: Value in 2mA increments that the Hub consumes from an upstream port (VBUS) when operating as a buspowered hub. This value will include the hub silicon along with the combined power consumption (from VBUS) of all associated circuitry on the board. This value will NOT include the power consumption of a permanently attached peripheral if the hub is configured as a compound device. A value of 50 (decimal) would indicate 100mA, which is the default value. Revision 1.92 (11-28-07) 20 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.2.1.17 Register 10h: Power-On Time BIT NUMBER BIT NAME DESCRIPTION 7:0 POWER_ON_TIME Power On Time: The length of time that it takes (in 2 ms intervals) from the time the host initiated power-on sequence begins on a port until power is good on that port. 4.2.1.18 Register F6h: Boost_Up BIT NUMBER BIT NAME 7:2 Reserved 1:0 BOOST_IOUT DESCRIPTION Reserved USB electrical signaling drive strength Boost Bit for the Upstream Port. ‘00’ = Normal electrical drive strength = No boost ‘01’ = Elevated electrical drive strength = Low (approximately 4% boost) ‘10’ = Elevated electrical drive strength = Medium (approximately 8% boost) ‘11’ = Elevated electrical drive strength = High (approximately 12% boost) Note: 4.2.1.19 “Boost” could result in non-USB Compliant parameters (one example would be Test J/K levels), the OEM should use a 00 value unless specific implementation issues require additional signal boosting to correct for degraded USB signalling levels. Register F8h: Boost_2:0 BIT NUMBER BIT NAME 7:4 Reserved 3:2 BOOST_IOUT_2 DESCRIPTION Reserved USB electrical signaling drive strength Boost Bit for Downstream Port ‘2’. ‘00’ = Normal electrical drive strength = No boost ‘01’ = Elevated electrical drive strength = Low (approximately 4% boost) ‘10’ = Elevated electrical drive strength = Medium (approximately 8% boost) ‘11’ = Elevated electrical drive strength = High (approximately 12% boost) Note: 1:0 BOOST_IOUT_1 “Boost” could result in non-USB Compliant parameters (one example would be Test J/K levels), the OEM should use a 00 value unless specific implementation issues require additional signal boosting to correct for degraded USB signalling levels. USB electrical signaling drive strength Boost Bit for Downstream Port ‘1’. ‘00’ = Normal electrical drive strength = No boost ‘01’ = Elevated electrical drive strength = Low (approximately 4% boost) ‘10’ = Elevated electrical drive strength = Medium (approximately 8% boost) ‘11’ = Elevated electrical drive strength = High (approximately 12% boost) Note: SMSC USB2512i “Boost” could result in non-USB Compliant parameters (one example would be Test J/K levels), the OEM should use a 00 value unless specific implementation issues require additional signal boosting to correct for degraded USB signalling levels. 21 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.2.1.20 Register FAh: Port Swap BIT NUMBER BIT NAME DESCRIPTION 7:0 PRTSP Port Swap: Swaps the Upstream and Downstream USB DP and DM Pins for ease of board routing to devices and connectors. ‘0’ = USB D+ functionality is associated with the DP pin and D- functionality is associated with the DM pin. ‘1’ = USB D+ functionality is associated with the DM pin and D- functionality is associated with the DP pin. Bit Bit Bit Bit Bit Bit Bit Bit Revision 1.92 (11-28-07) 7= 6= 5= 4= 3= 2= 1= 0= Reserved Reserved Reserved Reserved Reserved ‘1’; Port 2 DP/DM is Swapped. ‘1’: Port 1 DP/DM is Swapped. ‘1’:Upstream Port DP/DM is Swapped 22 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.2.1.21 Register FBh: Port Remap 12 BIT NUMBER BIT NAME 7:0 PRTR12 DESCRIPTION Port remap register for ports 1 & 2. When a hub is enumerated by a USB Host Controller, the hub is only permitted to report how many ports it has; the hub is not permitted to select a numerical range or assignment. The Host Controller will number the downstream ports of the hub starting with the number '1', up to the number of ports that the hub reported having. The host's port number is referred to as "Logical Port Number" and the physical port on the hub is the “Physical Port Number". When remapping mode is enabled (see PRTMAP_EN in Register 08h: Configuration Data Byte 3) the hub's downstream port numbers can be remapped to different logical port numbers (assigned by the host). Note: The OEM must ensure that Contiguous Logical Port Numbers are used, starting from #1 up to the maximum number of enabled ports; this ensures that the hub's ports are numbered in accordance with the way a Host will communicate with the ports. Table 4.2 Port Remap Register for Ports 1 & 2 Bit [7:4] Bit [3:0] SMSC USB2512i 23 ‘0000’ Physical Port 2 is Disabled ‘0001’ Physical Port 2 is mapped to Logical Port 1 ‘0010’ Physical Port 2 is mapped to Logical Port 2 ‘0011’ to ‘1111’ Illegal; Do Not Use ‘0000’ Physical Port 1 is Disabled ‘0001’ Physical Port 1 is mapped to Logical Port 1 ‘0010’ Physical Port 1 is mapped to Logical Port 2 ‘0011’ to ‘1111’ Illegal; Do Not Use DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.2.1.22 Register FFh: Status/Command BIT NUMBER BIT NAME 7:3 Reserved 2 INTF_PW_DN DESCRIPTION Reserved SMBus Interface Power Down ‘0’ = Interface is active ‘1’ = Interface power down after ACk has completed 1 RESET Reset the SMBus Interface and internal memory back to RESET_N assertion default settings. ‘0’ = Normal Run/Idle State ‘1’ = Force a reset of registers to their default state 0 USB_ATTACH USB Attach (and write protect) ‘0’ = SMBus slave interface is active ‘1’ = Hub will signal a USB attach event to an upstream device, and the internal memory (address range 00h-FEh) is “write-protected” to prevent unintentional data corruption. 4.2.2 I2C EEPROM The I2C EEPROM 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 Hub’s I2C EEPROM interface is designed to attach to a single “dedicated” I2C EEPROM, and it conforms to the Standard-mode I2C Specification (100kbit/s transfer rate and 7-bit addressing) for protocol and electrical compatibility. Note: Extensions to the I2C Specification are not supported. The Hub 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. 4.2.2.1 Implementation Characteristics The Hub will only access an EEPROM using the Sequential Read Protocol. 4.2.2.2 Pull-Up Resistor The Circuit board designer is required to place external pull-up resistors (10KΩ recommended) on the SDA/SMBDATA & SCL/SMBCLK/CFG_SELO lines (per SMBus 1.0 Specification, and EEPROM manufacturer guidelines) to Vcc in order to assure proper operation. 4.2.2.3 I2C EEPROM Slave Address Slave address is 1010000. Note: 10-bit addressing is NOT supported. Revision 1.92 (11-28-07) 24 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.2.3 In-Circuit EEPROM Programming The EEPROM can be programmed via ATE by pulling RESET_N low (which tri-states the Hub’s EEPROM interface and allows an external source to program the EEPROM). 4.3 SMBus Slave Interface Instead of loading User-Defined Descriptor data from an external EEPROM, the SMSC Hub can be configured to receive a code load from an external processor via an SMBus interface. The SMBus interface shares the same pins as the EEPROM interface; if CFG_SEL1 & CFG_SEL0 activates the SMBus interface, external EEPROM support is no longer available (and the user-defined descriptor data must be downloaded via the SMBus). Due to system issues, the SMSC Hub waits indefinitely for the SMBus code load to complete and only “appears” as a newly connected device on USB after the code load is complete. The Hub’s SMBus implementation is a subset of the SMBus interface to the host. The device is a slave-only SMBus device. The implementation in the device is a subset of SMBus since it only supports two protocols. The Write Block and Read Block protocols are the only valid SMBus protocols for the Hub. The Hub responds to other protocols as described in Section 4.3.2, "Invalid Protocol Response Behavior," on page 26. Reference the System Management Bus Specification, Rev 1.0. The SMBus interface is used to read and write the registers in the device. The register set is shown in Section 4.2.1, "Internal Register Set (Common to EEPROM and SMBus)," on page 13. 4.3.1 Bus Protocols Typical Write Block and Read Block protocols are shown below. Register accesses are performed using 7-bit slave addressing, an 8-bit register address field, and an 8-bit data field. The shading indicates the Hub driving data on the SMBDATA line; otherwise, host data is on the SDA/SMBDATA line. The slave address is the unique SMBus Interface Address for the Hub that identifies it on SMBus. The register address field is the internal address of the register to be accessed. The register data field is the data that the host is attempting to write to the register or the contents of the register that the host is attempting to read. Note: Data bytes are transferred MSB first (msb first). 4.3.1.1 Block Read/Write The Block Write begins with a slave address and a write condition. After the command code, the host issues a byte count which describes how many more bytes will follow in the message. If a slave had 20 bytes to send, the first byte would be the number 20 (14h), followed by the 20 bytes of data. The byte count may not be 0. A Block Read or Write is allowed to transfer a maximum of 32 data bytes. Note: For the following SMBus tables: D e n o te s M a s te r-to -S la v e SMSC USB2512i D e n o te s S la v e -to -M a s te r 25 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 1 7 1 1 S Slave Address Wr A 8 1 Register Address A ... 8 1 8 1 8 1 8 1 1 Byte Count = N A Data byte 1 A Data byte 2 A Data byte N A P Block Write Figure 4.1 Block Write Block Read A Block Read differs from a block write in that the repeated start condition exists to satisfy the I2C specification’s requirement for a change in the transfer direction. 1 S 7 Slave Address 1 1 8 1 1 7 1 1 Wr A Register Address A S Slave Address Rd A ... 8 1 8 1 8 1 8 1 1 Byte Count = N A Data byte 1 A Data byte 2 A Data byte N A P Block Read Figure 4.2 Block Read 4.3.2 Invalid Protocol Response Behavior Registers that are accessed with an invalid protocol are not updated. A register is only updated following a valid protocol. The only valid protocols are Write Block and Read Block, which are described above. The Hub only responds to the hardware selected Slave Address. Attempting to communicate with the Hub over SMBus with an invalid slave address or invalid protocol results in no response, and the SMBus Slave Interface returns to the idle state. The only valid registers that are accessible by the SMBus slave address are the registers defined in the Registers Section. See Section 4.3.3 for the response to undefined registers. 4.3.3 General Call Address Response The Hub does not respond to a general call address of 0000_000b. 4.3.4 Slave Device Time-Out According to the SMBus Specification, V1.0 devices in a transfer can abort the transfer in progress and release the bus when any single clock low interval exceeds 25ms (TTIMEOUT, MIN). Devices that have detected this condition must reset their communication and be able to receive a new START condition no later than 35ms (TTIMEOUT, MAX). Note: Some simple devices do not contain a clock low drive circuit; this simple kind of device typically resets its communications port after a start or stop condition. The Slave Device Time-Out must be implemented. Revision 1.92 (11-28-07) 26 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.3.5 Stretching the SCLK Signal The Hub supports stretching of the SCLK by other devices on the SMBus. The Hub does not stretch the SCLK. 4.3.6 SMBus Timing The SMBus Slave Interface complies with the SMBus AC Timing Specification. See the SMBus timing in the “Timing Diagram” section. 4.3.7 Bus Reset Sequence The SMBus Slave Interface resets and returns to the idle state upon a START field followed immediately by a STOP field. 4.3.8 SMBus Alert Response Address The SMBALERT# signal is not supported by the Hub. 4.3.8.1 Undefined Registers The registers shown in Table 4.1 are the defined registers in the Hub. Reads to undefined registers return 00h. Writes to undefined registers have no effect and do not return an error. 4.3.8.2 Reserved Registers Unless otherwise instructed, only a ‘0’ may be written to all reserved registers or bits. 4.4 Default Configuration Option: The SMSC Hub can be configured via its internal default configuration. (please see Section 4.2.1, "Internal Register Set (Common to EEPROM and SMBus)" for specific details on how to enable default configuration.) Please refer to Table 4.1 for the internal default values that are loaded when this option is selected. 4.5 Default Strapping Options: The USB2512i can be configured via a combination of internal default values and pin strap options. Please see Table 3.1 and Table 3.2 for specific details on how to enable the default/pin-strap configuration option. The strapping option pins only cover a limited sub-set of the configuration options. The internal default values will be used for the bits & registers that are not controlled by a strapping option pin. Please refer to Table 4.1 for the internal default values that are loaded when this option is selected. 4.6 Reset There are two different resets that the Hub experiences. One is a hardware reset (either from the internal POR reset circuit or via the RESET_N pin) and the second is a USB Bus Reset. 4.6.1 Internal POR Hardware Reset All reset timing parameters are guaranteed by design. SMSC USB2512i 27 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4.6.2 External Hardware RESET_N A valid hardware reset is defined as assertion of RESET_N for a minimum of 1us after all power supplies are within operating range. While reset is asserted, the Hub (and its associated external circuitry) consumes less than 500μA of current from the upstream USB power source. Assertion of RESET_N (external pin) causes the following: 1. All downstream ports are disabled, and PRTPWR power to downstream devices is removed. 2. The PHYs are disabled, and the differential pairs will be in a high-impedance state. 3. All transactions immediately terminate; no states are saved. 4. All internal registers return to the default state (in most cases, 00(h)). 5. The external crystal oscillator is halted. 6. The PLL is halted. The Hub is “operational” 500μs after RESET_N is negated. Once operational, the Hub immediately reads OEM-specific data from the external EEPROM (if the SMBus option is not disabled). 4.6.2.1 RESET_N for Strapping Option Configuration Hardware reset asserted Drive Strap Outputs to inactive levels Read Strap Options t1 Attach USB Upstream USB Reset recovery t5 Start completion request response Idle t7 t6 t8 t2 t3 RESET_N VSS t4 Strap Pins Don’t Care Valid Driven by Hub if strap is an output. Don’t Care VSS Figure 4.3 Reset_N Timing for Default/Strap Option Mode Table 4.3 Reset_N Timing for Default/Strap Option Mode NAME DESCRIPTION MIN TYP MAX UNITS 1 μsec Strap Setup Time 16.7 nsec t3 Strap Hold Time. 16.7 t4 hub outputs driven to inactive logic states t5 USB Attach (See Note). t6 Host acknowledges attach and signals USB Reset. t1 RESET_N Asserted. t2 Revision 1.92 (11-28-07) 1.5 100 28 DATASHEET 1400 nsec 2 μsec 100 msec msec SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Table 4.3 Reset_N Timing for Default/Strap Option Mode (continued) NAME DESCRIPTION MIN t7 USB Idle. t8 Completion time for requests (with or without data stage). TYP MAX UNITS undefined msec 5 msec Notes: 4.6.2.2 When in Bus-Powered mode, the Hub and its associated circuitry must not consume more than 100mA from the upstream USB power source during t1+t5. All Power Supplies must have reached the operating levels mandated in Chapter 5, DC Parameters, prior to (or coincident with) the assertion of RESET_N. RESET_N for EEPROM Configuration Hardware reset asserted Attach USB Upstream Read EEPROM + Set Options Read Strap Options USB Reset recovery Start completion request response Idle t4 t1 t2 t5 t3 t6 t7 RESET_N VSS Figure 4.4 Reset_N Timing for EEPROM Mode Table 4.4 Reset_N Timing for EEPROM Mode NAME DESCRIPTION MIN t1 RESET_N Asserted. t2 Hub Recovery/Stabilization. t3 EEPROM Read / Hub Config. t4 USB Attach (See Note). t5 Host acknowledges attach and signals USB Reset. t6 USB Idle. t7 Completion time for requests (with or without data stage). TYP MAX UNITS μsec 1 2.0 500 μsec 99.5 msec 100 msec 100 msec undefined msec 5 msec Notes: When in Bus-Powered mode, the Hub and its associated circuitry must not consume more than 100mA from the upstream USB power source during t4+t5+t6+t7. All Power Supplies must have reached the operating levels mandated in Chapter 5, DC Parameters, prior to (or coincident with) the assertion of RESET_N. SMSC USB2512i 29 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet RESET_N for SMBus Slave Configuration 4.6.2.3 Hardware reset asserted Reset Negation SMBus Code Load t1 t2 Hub PHY Stabilization Attach USB Upstream t3 t4 USB Reset recovery Start completion request response Idle t6 t5 t7 RESET_N VSS Figure 4.5 Reset_N Timing for SMBus Mode Table 4.5 Reset_N Timing for SMBus Mode NAME DESCRIPTION MIN t1 RESET_N Asserted. t2 Hub Recovery/Stabilization. t3 SMBus Code Load (See Note). t4 Hub Configuration and USB Attach. t5 Host acknowledges attach and signals USB Reset. t6 USB Idle. t7 Completion time for requests (with or without data stage). TYP MAX UNITS μsec 1 250 500 μsec 300 msec 100 msec 100 msec Undefined msec 5 msec Notes: 4.6.3 For Bus-Powered configurations, the 99.5ms (MAX) is required, and the Hub and its associated circuitry must not consume more than 100mA from the upstream USB power source during t2+t3+t4+t5+t6+t7. For Self-Powered configurations, t3 MAX is not applicable and the time to load the configuration is determined by the external SMBus host. All Power Supplies must have reached the operating levels mandated in Chapter 5, DC Parameters, prior to (or coincident with) the assertion of RESET_N. USB Bus Reset In response to the upstream port signaling a reset to the Hub, the Hub does the following: Note: The Hub does not propagate the upstream USB reset to downstream devices. 1. Sets default address to 0. 2. Sets configuration to: Unconfigured. 3. Negates PRTPWR[2:1] to all downstream ports. Revision 1.92 (11-28-07) 30 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet 4. Clears all TT buffers. 5. Moves device from suspended to active (if suspended). 6. Complies with Section 11.10 of the USB 2.0 Specification for behavior after completion of the reset sequence. The Host then configures the Hub and the Hub’s downstream port devices in accordance with the USB Specification. SMSC USB2512i 31 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Chapter 5 DC Parameters 5.1 Maximum Guaranteed Ratings PARAMETER SYMBOL MIN MAX UNITS Storage Temperature TA -55 150 °C 325 °C Lead Temperature 1.8V supply voltage VDDA18PLL, VDD18 2.5 V 3.3V supply voltage VDDA33, VDD33PLL, VDD33, VDD33CR 4.6 V Voltage on any I/O pin -0.5 5.5 V Voltage on XTAL1 -0.5 4.0 V Voltage on XTAL2 -0.5 3.6 V COMMENTS Soldering < 10 seconds Note: Stresses above the specified parameters could cause permanent damage to the device. This is a stress rating only and functional operation of the device at any condition above those indicated in the operation sections of this specification is not implied. 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 the AC power is switched on or off. In addition, voltage transients on the AC power line may appear on the DC output. When this possibility exists, it is suggested that a clamp circuit be used. 5.2 Recommended Operating Conditions PARAMETER SYMBOL MIN MAX UNITS Operating Temperature TA -40 85 °C 1.8V supply voltage VDDA18PLL VDD18 1.62 1.98 V 3.3V supply voltage VDDA33 VDDA33PLL VDD33 VDD33CR 3.0 3.6 V -0.3 5.5 V Voltage on any I/O pin COMMENTS If any 3.3V supply voltage drops b e l o w 3 . 0 V, t h e n t h e M A X becomes: (3.3V supply voltage) + 0.5 Revision 1.92 (11-28-07) 32 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet PARAMETER SYMBOL MIN MAX UNITS Voltage on XTAL1 -0.3 VDDA33 V Voltage on XTAL2 -0.3 VDD18 V COMMENTS Table 5.1 DC Electrical Characteristics PARAMETER SYMBOL MIN TYP MAX UNITS 0.8 V COMMENTS I, IS Type Input Buffer Low Input Level VILI High Input Level VIHI 2.0 IIL -10 +10 uA VHYSI 250 350 mV 0.8 V Input Leakage Hysteresis (‘IS’ Only) TTL Levels V VIN = 0 to VDD33 Input Buffer with Pull-Up (IPU) Low Input Level VILI TTL Levels High Input Level VIHI 2.0 Low Input Leakage IILL +35 +90 uA VIN = 0 High Input Leakage IIHL -10 +10 uA VIN = VDD33 0.8 V TTL Levels V Input Buffer with PullDown (IPD) Low Input Level VILI High Input Level VIHI 2.0 Low Input Leakage IILL +10 -10 uA VIN = 0 High Input Leakage IIHL -35 -90 uA VIN = VDD33 0.5 V V ICLK Input Buffer Low Input Level VILCK High Input Level VIHCK 1.4 IIL -10 Input Leakage V +10 uA 0.4 V IOL = 12mA @ VDD33 = 3.3V V IOH = -12mA @ VDD33 = 3.3V VIN = 0 to VDD33 (Note 1) VIN = 0 to VDD33 O12, I/O12 &I/OSD12 Type Buffer Low Output Level VOL High Output Level VOH 2.4 Output Leakage IOL -10 +10 uA VHYSC 250 350 mV Hysteresis (‘SD’ pad only) IO-U (Note 2) SMSC USB2512i 33 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Table 5.1 DC Electrical Characteristics (continued) PARAMETER SYMBOL MIN TYP MAX UNITS 90 80 95 85 mA mA COMMENTS Supply Current Unconfigured High-Speed Host Full-Speed Host ICCINTHS ICCINITFS All supplies combined Supply Current Configured (High-Speed Host) 1 Port HS, 1 Port LS/FS 2 Ports @ LS/FS 2 Ports @ HS IHCH1C1 IHCC2 IHCH2 130 120 135 145 140 210 mA mA mA Supply Current Configured (Full-Speed Host) All supplies combined 1 Port 2 Ports IFCC1 IFCC2 105 105 135 135 mA mA Supply Current Suspend ICSBY 310 540 μA All supplies combined Supply Current Reset ICRST 105 340 μA All supplies combined Notes: 1. Output leakage is measured with the current pins in high impedance. 2. See USB 2.0 Specification for USB DC electrical characteristics. Revision 1.92 (11-28-07) 34 DATASHEET SMSC USB2512i Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet CAPACITANCE TA = 25°C; fc = 1MHz; VDD18, VDDPLL = 1.8V Table 5.2 Pin Capacitance LIMITS PARAMETER Clock Input Capacitance Input Capacitance Output Capacitance SMSC USB2512i SYMBOL MIN TYP MAX UNIT TEST CONDITION CXTAL 2 pF All pins except USB pins (and pins under test tied to AC ground) CIN 10 pF COUT 20 pF 35 DATASHEET Revision 1.92 (11-28-07) Industrial Temperature Rated USB 2.0 High-Speed 2-Port Hub Controller Datasheet Chapter 6 AC Specifications 6.1 Oscillator/Clock Crystal: Parallel Resonant, Fundamental Mode, 24 MHz ±350ppm. External Clock: 50% Duty cycle ± 10%, 24 MHz ± 350ppm, Jitter < 100ps rms. XTAL1 (C S1 = C B + C XTAL ) C1 Crystal 1Meg CL C2 XTAL2 (C S2 = C B + C XTAL ) Figure 6.1 Typical Crystal Circuit Note: CB equals total board/trace capacitance. (C1 + CS1) x (C2 + CS2) = CL (C1 + CS1 + C2 + CS2) Figure 6.2 Formula to find value of C1 and C2 6.1.1 SMBus Interface: The SMSC Hub conforms to all voltage, power, and timing characteristics and specifications as set forth in the SMBus 1.0 Specification for Slave-Only devices (except as noted in Section 4.3). 6.1.2 I2C EEPROM: Frequency is fixed at 58.6KHz ± 20%. 6.1.3 USB 2.0 The SMSC Hub conforms to all voltage, power, and timing characteristics and specifications as set forth in the USB 2.0 Specification. Please refer to the USB 2.0 Specification for more information. Revision 1.92 (11-28-07) 36 DATASHEET SMSC USB2512i Figure 7.1 36-Pin QFN, 6x6mm Body, 0.5mm Pitch Revision 1.92 (11-28-07) SMSC USB2512i 37 DATASHEET Chapter 7 Package Outline