SMSC USB20H04 User Manual

USB20H04
4-Port USB 2.0 Hub Controller
Datasheet
Product Features
General Features
Compliant with USB 2.0 Specification Hub controller IC with four downstream ports Four transaction translators ensure maximum USB
throughput
Enables bus-powered Hi-Speed hub design Compatible with On-The-Go (OTG) USB devices Integrated Session Request Protocol (SRP)
operates with dual-role OTG hosts
Default configuration with pin selectable options Serial interface for configuration from EEPROM or
microcontroller when default is not used
Flexible OEM configuration options Available in a 64-pin TQFP package
Hardware Features
Detects removal of self-power and automatically
changes mode to bus-power
Integrated termination and pull-up/pull-down
resistors
Internal short circuit protection of DP and DM lines On-chip oscillator uses low cost 24MHz crystal Supports individual or ganged over-current
protection and power control
LED drivers for each downstream port
OEM Selectable Features
Configure as a bus-powered or self-powered
Hi-Speed USB hub
Configure port power switching and current
sensing on an individual or ganged basis
Enable LED indicator support Enable multiple transaction translators Enable compound device support on a port by port
basis
Enable downstream facing ports on a port by port
basis
Pin Selectable Options for Default Configuration
Select operation as either a Bus-Powered hub or a
Self-Powered hub
ORDERING INFORMATION
Order Number(s):
USB20H04-JD for 64 pin, 10x10x1.4 TQFP package
USB20H04-JT for 64 pin, 10x10x1.4 TQFP Lead-Free RoHS Compliant Package
SMSC USB20H04 Page 1 Revision 1.63 (03-30-07)
DATASHEET
4-Port USB 2.0 Hub Controller
Datasheet
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. SMS C is a regi ste red t rademark 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.63 (03-30-07) Page 2 SMSC USB20H04
DATASHEET
4-Port USB 2.0 Controller
Datasheet
Table of Contents
Chapter 1 General Description.............................................................................................................5
1.1 Applications.........................................................................................................................................5
1.2 OEM Selectable Features...................................................................................................................6
1.3 Pin Selectable Options to the Default Configuration...........................................................................6
Chapter 2 Functional Block Diagram ..................................................................................................7
Chapter 3 Pinout ....................................................................................................................................8
Chapter 4 Interface Signal Definition ..................................................................................................9
4.1 Pin Descriptions ..................................................................................................................................9
4.2 Buffer Type Descriptions...................................................................................................................11
Chapter 5 Limiting Values..................................................................................................................12
Chapter 6 Electrical Characteristics ..................................................................................................13
6.1 Dynamic Characteristics: Analog I/O Pins (DP/DM).........................................................................15
Chapter 7 Functional Overview..........................................................................................................16
7.1 Bus-Power Detect .............................................................................................................................16
7.2 Upstream PHY ..................................................................................................................................16
7.3 Clock/PLL..........................................................................................................................................16
7.4 Internal Configuration Select.............................................................................................................16
7.5 Serial Interface..................................................................................................................................17
7.5.1 SMBus Slave..........................................................................................................................................17
7.5.2 I2C Memory Interface..............................................................................................................................17
7.6 Repeater............................................................................................................................................17
7.7 SIE.....................................................................................................................................................17
7.8 Controller...........................................................................................................................................17
7.9 Transaction Translator (TT) ..............................................................................................................18
7.10 Port Controller................................................................................................................................18
7.11 Downstream PHY...........................................................................................................................18
7.12 OC Sense/Switch Driver................................................................................................................18
7.12.1 Over-Current Sense............................................................................................................................18
7.12.2 Switch Driver.......................................................................................................................................18
7.13 LED Drivers....................................................................................................................................18
Chapter 8 Implementation Notes........................................................................................................20
8.1 Configuration Implementations .........................................................................................................20
8.1.1 Interfacing a 2-wire Serial EEPROM.......................................................................................................20
8.1.2 Internal Default Configuration.................................................................................................................21
8.2 EEPROM Programming Values........................................................................................................21
8.3 Default Configuration Values ............................................................................................................23
8.4 Reset.................................................................................................................................................24
8.4.1 External Hardware Reset........................................................................................................................24
8.4.2 USB Reset..............................................................................................................................................27
Chapter 9 Hub Descriptors .................................................................................................................28
Chapter 10 Application Diagrams.....................................................................................................33
Chapter 11 Package Outline ..............................................................................................................35
SMSC USB20H04 Page 3 Revision 1.63 (03-30-07)
DATASHEET
4-Port USB 2.0 Hub Controller
Datasheet
List of Figures
Figure 2.1 - Block Diagram.............................................................................................................................................7
Figure 3.1– 64 Pin TQFP ...............................................................................................................................................8
Figure 8.1 - 2-Wire EEPROM Interface........................................................................................................................20
Figure 8.2 - Internal Default Mode................................................................................................................................21
Figure 8.3 - Timing for Configuration from SMBus.......................................................................................................25
Figure 8.4 - Timing to Complete Configuration from EEPROM....................................................................................26
Figure 10.1 - High Level Block Diagram of a Self-Powered Hub..................................................................................33
Figure 10.2 - USB Downstream Port Connection.........................................................................................................34
Figure 11.1 - 64 Pin TQFP Package Outline, 10 x 10 x 1.4 Body, 2 MM Footprint ......................................................35
List of Tables
Table 4.1 - System Interface Signals .............................................................................................................................9
Table 4.2 – Configuration Select and Serial Port Interface.............................................................................................9
Table 4.3 - USB I/O Signals.........................................................................................................................................10
Table 4.4 - Biasing and Clock Oscillator Signals..........................................................................................................11
Table 4.5 - Power and Ground Signals ........................................................................................................................11
Table 4.6 – USB20H04 Buffer Type Descriptions........................................................................................................11
Table 5.1 - Absolute Maximum Ratings (In accordance with the Absolute Maximum Rating system (IEC 60134).......12
Table 5.2 - Recommended Operating Conditions ........................................................................................................12
Table 5.3 - Recommended Crystal/External Clock Conditions.....................................................................................12
Table 6.1 - Electrical Characteristics: Supply Pins.......................................................................................................13
Table 6.2 - DC Electrical Characteristics: Digital Pins..................................................................................................13
Table 6.3 - Pin Capacitance.........................................................................................................................................14
Table 6.4 - DC Electrical Characteristics: Analog I/O Pins (DP/DM)............................................................................15
Table 7.1 - Automatic Mode Port Indicators.................................................................................................................19
Table 7.2 - Manual Mode Port Indicators .....................................................................................................................19
Table 8.1 - Summary of OEM Value Programming......................................................................................................21
Table 8.2 - Address 6; Config_Byte_3..........................................................................................................................22
Table 8.3 - Address 7; Config_Byte_2..........................................................................................................................22
Table 8.4 - Address 8; Config_Byte_1..........................................................................................................................23
Table 8.5 - Addresses 9 - 11........................................................................................................................................23
Table 8.6 - Default Configuration Values......................................................................................................................24
Table 8.7 - Time Values to Configure from SMBus......................................................................................................25
Table 8.8 - Time Values to Configure From EEPROM.................................................................................................26
Table 9.1 - Device Descriptor.......................................................................................................................................28
Table 9.2 - Device Qualifier Descriptor ........................................................................................................................28
Table 9.3 - Standard Configuration Descriptor.............................................................................................................29
Table 9.4 - Other_Speed_Configuration Descriptor .....................................................................................................29
Table 9.5 - Standard Interface Descriptor ....................................................................................................................30
Table 9.6 - Standard Endpoint Descriptor....................................................................................................................30
Table 9.7 - Interface Descriptor (present if multiple-TT)...............................................................................................31
Table 9.8 - On-The-GO (OTG) Descriptor....................................................................................................................31
Table 9.9 - Class-Specific Hub Descriptor (Full-Speed and High-Speed) ....................................................................31
Table 11.1 - 64 Pin TQFP Package Parameters..........................................................................................................35
Revision 1.63 (03-30-07) Page 4 SMSC USB20H04
DATASHEET
4-Port USB 2.0 Controller
Datasheet
Chapter 1 General Description
The USB20H04 four-port hub controller is fully compliant with the USB 2.0 Specification and does not require firmware development. When connected to a high-speed host, the four downstream facing ports can operate at low-speed (1.5Mb/s), full-speed (12Mb/s), or high-speed (480Mb/s). As required by the USB
2.0 Specification, the USB20H04 is fully backward compatible with legacy full-speed hosts. A dedicated Transaction Translator (TT) is available for each downstream facing port. This architecture ensures maximum USB throughput for each connected device when operating with mixed-speed peripherals.
The USB20H04 supports both bus-powered and self-powered configurations. For self-powered operation, an external supply is used to power the downstream facing ports. In bus-powered mode, all power is derived from the upstream facing port and no external power supply is required. An external USB power distribution switch device is used to control V sense over-current conditions.
A default configuration is available in the USB20H04 following a reset. This configuration may be sufficient for some applications when it is desired to save the expense of an EEPROM. The controller may also be configured from a microcontroller or an external EEPROM. When using the microcontroller interface, the USB20H04 appears as an SMBus slave device. The EEPROM interface supports a 2-wire I
All required resistors on the USB ports are integrated into the USB20H04. This includes all series termination resistors on D+ and D– pins and all required pull-down and pull-up resistors on D+ and D– pins. The over-current sense inputs for the downstream facing ports have internal pull-up resistors.
switching to downstream ports, and to limit current and
BUS
2
C device.
Throughout this document the upstream facing port of the hub will be referred to as the upstream port, and the four downstream facing ports will be called the downstream ports.
1.1 Applications
The Universal Serial Bus (USB) hub may be used in a number of applications:
 Standalone hubs  Keyboards  Monitors  Motherboard hubs  Docking stations and port replicators  Printers and scanners  External storage devices  Auxiliary battery docks
SMSC USB20H04 Page 5 Revision 1.63 (03-30-07)
DATASHEET
1.2 OEM Selectable Features
The 4-Port Hub supports several OEM selectable features: Operation as a bus-powered, self-powered or dynamic-powered hub. (When configured for dynamic
operation, the controller automatically switches to bus-powered mode if a local power source is unavailable).
Configure downstream facing port power switching on an individual or ganged basis.  Configure downstream facing port over-current sensing on an individual or ganged basis.  Enable downstream facing port LED indicators.  Select multiple or single transaction translator mode.  Select whether the hub is part of a compound device (when any downstream facing port is
permanently hardwired to a USB peripheral device, the hub is part of a compound device).
Select the presence of a permanently hardwired USB peripheral device on a port by port basis.  Enable downstream facing ports a port by port basis.  Enable EOP generation of EOF1 when operating in full-speed mode, as described in Section 11.3.1 of
the USB 2.0 Specification.
Enable USB On-The-Go Session Request Protocol (SRP) support.  Configure the delay time for filtering the over-current sense inputs.  Configure the delay time until port power is good after the SetPortPower command is received.  Indicate the maximum current that the 4-port hub consumes from an upstream port.  Indicate the maximum current required for the hub controller.
4-Port USB 2.0 Hub Controller
Datasheet
1.3 Pin Selectable Options to the Default Configuration
The USB20H04 includes a default configuration for those applications where an external EEPROM or SMBus device is not available to provide the configuration. This configuration may be adequate in some applications. A pin selectable feature supports configuration as either a bus-powered hub or a self-powered hub determined by the logic level of the SELF_PWR pin following reset.
Revision 1.63 (03-30-07) Page 6 SMSC USB20H04
DATASHEET
4-Port USB 2.0 Controller
Datasheet
Chapter 2 Functional Block Diagram
To Upstream
V
BUS
Upstream USB Data
24 MHz
Crystal
Pin
Selectable
Options
To EEPROM or
SMBus Master
SCKSD
Bus-Power
Detect/
Pulse
V
BUS
Downstream
PHY #1
Upstream
PHY
Repeater
Routing Logic
Port #1
OC Sense
Switch Driver
LED Drivers
Internal
PLL
Configuration
TT#1TT#2TT#3TT
#4
Downstream
PHY #4
Select
ControllerSIE
Controller
Port #4
OC Sense
Switch Driver
LED Drivers
Serial
Interface
Port
Downstream
USB DataOCSense
SMSC USB20H04 Page 7 Revision 1.63 (03-30-07)
Switch/LED
Downstream
Drivers
Figure 2.1 - Block Diagram
USB DataOCSense
Switch/LED
Drivers
DATASHEET
Chapter 3 Pinout
VSS
RBIAS
ATEST
VDDA33
VDDA18
VSS
XTAL1/CLKIN
4-Port USB 2.0 Hub Controller
Datasheet
XTAL2
VDDA18
VSS
VDD18
VSS
VBUSDET
SELF_PWR
SMB_SEL_N
RESET_N
VDDA33
USBDP0
USBDM0
VSS
USBDM1
USBDP1
VDDA33
USBDP2
USBDM2
VSS
USBDM3
USBDP3
VDDA33
USBDP4
USBDM4
VSS
1 2 3
4 5 6
7 8 9
10 11 12 13 14 15 16
646362
17
18
NC
NC
61
6059585756555453525150
USB20H04
2122232425262728293031
20
19
VSS
AM4_N
GR4_N
AM3_N
GR3_N
AM2_N
GR2_N
AM1_N
GR1_N
VDD33
VSS
VDD18
49
48
TEST_P3 CLKIN_EN
47 46
OCS1_N
45
VBUS1_N
44
OCS2_N
43
VBUS2_N
42
VDD18 VSS
41 40 39 38
37
36 35 34 33
32
TEST_P0
TEST_P1
OCS3_N VBUS3_N
OCS4_N VBUS4_N CS/EESEL SCK/SCL SD/SDA TEST_P2
Figure 3.1– 64 Pin TQFP
Revision 1.63 (03-30-07) Page 8 SMSC USB20H04
DATASHEET
4-Port USB 2.0 Controller
Datasheet
Chapter 4 Interface Signal Definition
4.1 Pin Descriptions
Table 4.1 - System Interface Signals
NAME
RESET_N IS Low
SELF_PWR I High
TEST_P0 IPD N/A TEST_P1 IPD N/A TEST_P2 IPD N/A TEST_P3 IPD N/A
ATEST AO N/A
NAME
SMB_SEL_N I N/A
CS/EE_SEL IO8 N/A
SD/SDA IOSD12 N/A
SCK/SCL IOSD12 N/A
BUFFER
TYPE
BUFFER
TYPE
ACTIVE
LEVEL
Chip Reset. The minimum active low pulse is 100ns. See section 8.4 for a complete description of operation following a reset.
Self-power Detect. Detects availability of local self-power source:
0: Self/local power source is NOT available (i.e., 4- Port Hub gets all power
from Upstream USB V
1: Self/local power source is available.
Test Pin. Do Not Connect
Test Pin. Do Not Connect Test Pin. Do Not Connect Test Pin. Do Not Connect Test Pin. Do Not Connect
Table 4.2 – Configuration Select and Serial Port Interface
ACTIVE
LEVEL
SMBus Select. Selects between configuration via the SMBus interface, or
from an external EEPROM or using the internal default, as described in the table below.
SMB_SEL_N CS/EE_SEL SMBus or EEPROM interface
Chip Select. This multifunction pin is sampled on the rising edge of RESET_N. If SMB_SEL_N = 1, the internal default configuration will be used when this pin is low, or the external I2C EEPROM will supply the configuration when this pin is high. When SMB_SEL_N = 0, this pin selects the SMBus slave address, as described in the table above. Connect a 1k ohm resistor in series with the input when connecting this pin to either VDD or VSS.
Serial Data. Data I/O on the 2-Wire interface. Serial Clock. Clock for the 2-Wire interface.
DESCRIPTION
).
BUS
DESCRIPTION
configuration. 0 0 SMBus slave. Address: 0101100 0 1 SMBus slave. Address: 0101101 1 0 Internal default configuration. 1 1 2-wire EEPROM interface.
SMSC USB20H04 Page 9 Revision 1.63 (03-30-07)
DATASHEET
4-Port USB 2.0 Hub Controller
Table 4.3 - USB I/O Signals
Datasheet
NAME
USBDP0 IO-U N/A Upstream USB Positive Data Pin. USBDM0 IO-U N/A Upstream USB Negative Data Pin.
VBUSDET IO8 N/A
BUFFER
TYPE
ACTIVE
LEVEL
DESCRIPTION
Detects state of upstream V
power. When designing a detachable
BUS
hub, this pin must be connected to the V
power pin of the USB port
BUS
that is upstream of the hub. For self-powered applications with a permanently attached upstream
host, this pin must be connected to either 3.3V or 5.0V (typically VDD3.3).
The USB20H04 monitors VBUSDET to determine when to assert the internal D+ pull-up resistor (signaling a connect event). When using the SRP feature, it is necessary to add a 100k ohm resistor from this pin to VSS in order to properly dissipate the upstream V an 8mA drive capability).
USBDP1 IO-U N/A USB Positive Data Pin to downstream port 1. USBDM1 IO-U N/A USB Negative Data Pin to downstream port 1.
VBUS1_N O8 Low Enables power to downstream port 1.
OCS1_N IPU Low Over-Current Sense input. Internal pull-up resistor to 3.3V.
GR1_N OD8 Low Enables green indicator to downstream port 1.
AM1_N OD8 Low Enables amber indicator to downstream port 1. USBDP2 IO-U N/A USB Positive Data Pin to downstream port 2. USBDM2 IO-U N/A USB Negative Data Pin to downstream port 2.
VBUS2_N O8 Low Enables power to downstream port 2.
OCS2_N IPU Low Over-Current Sense input. Internal pull-up resistor to 3.3V.
GR2_N OD8 Low Enables green indicator to downstream port 2.
AM2_N OD8 Low Enables amber indicator to downstream port 2. USBDP3 IO-U N/A USB Positive Data Pin to downstream port 3. USBDM3 IO-U N/A USB Negative Data Pin to downstream port 3.
VBUS3_N O8 Low Enables power to downstream port 3.
OCS3_N IPU Low Over-Current Sense input. Internal pull-up resistor to 3.3V.
GR3_N OD8 Low Enables green indicator to downstream port 3.
AM3_N OD8 Low Enables amber indicator to downstream port 3. USBDP4 IO-U N/A USB Positive Data Pin to downstream port 4. USBDM4 IO-U N/A USB Negative Data Pin to downstream port 4.
VBUS4_N O8 Low Enables power to downstream port 4.
OCS4_N IPU Low Over-Current Sense input. Internal pull-up resistor to 3.3V.
GR4_N OD8 Low Enables green indicator to downstream port 4.
AM4_N OD8 Low Enables amber indicator to downstream port 4.
Pulse (pulsed with
BUS
Revision 1.63 (03-30-07) Page 10 SMSC USB20H04
DATASHEET
4-Port USB 2.0 Controller
Datasheet
Table 4.4 - Biasing and Clock Oscillator Signals
NAME
RBIAS I-R N/A
XTAL1/CLKIN ICLKx N/A
XTAL2 OCLKx N/A
CLKIN_EN I High
NAME
VDD3.3 N/A N/A VDD1.8 N/A N/A
VSS N/A N/A
VDDA3.3 N/A N/A VDDA1.8 N/A N/A
BUFFER
TYPE
BUFFER
TYPE
ACTIVE
LEVEL
External 1% bias resistor. Requires a 12KΩ resistor to ground. Used for setting HS transmit current level and on-chip termination impedance.
External crystal. 24MHz crystal or external clock input when a crystal is not
used. Connect a 5M ohm resistor from this pin to XTAL2 when a crystal is used.
External crystal. 24MHz crystal. Not connected when using an external clock. Clock Input Enable. When high, an external CMOS clock drives XTAL1.
Table 4.5 - Power and Ground Signals
ACTIVE
LEVEL
3.3V Digital Supply. Powers digital pads.
1.8V Digital Supply. Powers digital core. Signal Ground.
3.3V Analog Supply. Powers analog I/O and 3.3V analog circuitry.
1.8V Analog Supply. Powers 1.8V analog circuitry.
4.2 Buffer Type Descriptions
Table 4.6 – USB20H04 Buffer Type Descriptions
DESCRIPTION
DESCRIPTION
BUFFER DESCRIPTION
I Input IPU Input with weak internal pull-up resistor. IPD Input with weak internal pull-down resistor
IS Input with Schmitt trigger
IO8 Input/Output with 8mA drive
IOSD12 Open drain with 12mA sink with Schmitt
trigger. Meets I2C-Bus Spec Version 2.1
O8 Output with 8mA drive
OD8 Open drain with 8mA sink
ICLKx XTAL clock input
OCLKx XTAL clock output
IO-U Defined in USB specification
AO Analog Output I-R 3.3V Tolerant Analog Pin
SMSC USB20H04 Page 11 Revision 1.63 (03-30-07)
DATASHEET
Loading...
+ 24 hidden pages