background image

 4-Port USB 2.0 Hub Controller 

 

Datasheet  

Revision 1.63 (03-30-07)

 

Page 28

 

SMSC USB20H04 

 

DATASHEET

 

 

Chapter 9

 

Hub Descriptors 

The USB20H04 will not electrically attach to the USB until after it has loaded valid data for all user-defined 
descriptor fields. A default configuration is present immediately after RESET_N negation. User defined 
configuration values can be loaded from either an external microcontroller or an external EEPROM. 

A hub returns different descriptors based on whether it is operating at high-speed or full-/low-speed. A hub 
can report three different sets of the descriptors: one descriptor set for full-/low-speed operation and two 
sets for high-speed operation. The descriptors reported by the USB20H04 are summarized in the following 
tables. The host retrieves this information by using the GetDescriptor request with the corresponding 
descriptor type values. 

Table 9.1 - Device Descriptor 

OFFSET 

FULL 

SPEED 

HIGH 

SPEED 

FIELD NAME 

DESCRIPTION 

0 12h  12h 

bLength 

Size of this descriptor in bytes 

1 01h  01h 

bDescriptorType 

DEVICE Descriptor Type 

2,3 0200h  0200h 

bcdUSB 

USB Specification Number 

4 09h  09h 

bDeviceClass 

Class code assigned by USB-IF for Hubs 

5 00h  00h 

bDeviceSubClass 

Class code assigned by USB-IF for Hubs 

6 00h 01h* 

bDeviceProtcol 

Protocol code assigned by the USB-IF 

7 40h  40h 

bMaxPacketSize0 

64-byte packet size 

8,9 user  user 

idVendor 

Vendor ID; OEM value  

10,11 user 

user 

idProduct 

Product ID; OEM value  

12,13 user 

user 

bcdDevice 

Device ID; OEM value 

14 00h  00h 

iManufacturer 

This optional string is not supported. 

15 00h  00h 

iProduct 

This optional string is not supported. 

16 00h  00h 

iSerialNumber 

This optional string is not supported. 

17 01h  01h 

iNumConfigurations 

Supports 1 configuration 

* 02h for multiple-TT 

Table 9.2 - Device Qualifier Descriptor 

OFFSET 

FULL 

SPEED 

HIGH 

SPEED 

FIELD NAME 

DESCRIPTION 

0 0Ah  0Ah 

bLength 

Size of this descriptor in bytes 

1 06h  06h 

bDescriptorType 

DEVICE Qualifier Type 

2 00h  00h 

bcdUSB 

USB Specification Version Number (LSB) 

3 02h  02h 

bcdUSB 

USB Specification Version Number (MSB) 

4 09h  09h 

bDeviceClass 

Class code assigned by USB-IF for Hubs 

5 00h  00h 

bDeviceSubClass 

Class code assigned by USB-IF for Hubs 

Protocol code. 

6 00h 01h* 

bDeviceProtcol 

 

7 40h  40h 

bMaxPacketSize0 

64-byte packet size for other speed 

8 01h  01h 

bNumConfigurations 

Supports 1 other speed configuration 

9 00h  00h 

bReserved 

Reserved 

* 02h for multiple-TT 

Summary of Contents for USB20H04

Page 1: ...ly 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 individ...

Page 2: ...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 whe...

Page 3: ...ect 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 I 2 C Memory Interface 17 7 6 Repeater 17 7 7 SIE 17 7 8 Controller...

Page 4: ...tions 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 Capacitanc...

Page 5: ...used to control VBUS switching to downstream ports and to limit current and sense over current conditions A default configuration is available in the USB20H04 following a reset This configuration may...

Page 6: ...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...

Page 7: ...24 MHz Crystal To EEPROM or SMBus Master Routing Logic SCK SD TT 1 TT 2 TT 3 TT 4 Port Controller Downstream PHY 1 Port 1 OC Sense Switch Driver LED Drivers Downstream PHY 4 Port 4 OC Sense Switch Dri...

Page 8: ...DA18 VSS VDD18 VSS VBUSDET SELF_PWR SMB_SEL_N RESET_N 64 63 62 61 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 USBDP0 USBDM0 VSS USBDM1 USBDP1 VDDA33 USBDP2 USBDM2 VSS USBDM3 USBDP3 VDDA33 USBDP...

Page 9: ...elect and Serial Port Interface NAME BUFFER TYPE ACTIVE LEVEL DESCRIPTION SMB_SEL_N I N A SMBus Select Selects between configuration via the SMBus interface or from an external EEPROM or using the int...

Page 10: ...ver 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 Posi...

Page 11: ...Table 4 5 Power and Ground Signals NAME BUFFER TYPE ACTIVE LEVEL DESCRIPTION VDD3 3 N A N A 3 3V Digital Supply Powers digital pads VDD1 8 N A N A 1 8V Digital Supply Powers digital core VSS N A N A S...

Page 12: ...125 oC Table 5 2 Recommended Operating Conditions PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS 1 8V Supply Voltage VDD1 8 and VDDA1 8 VDD1 8 1 74 1 8 2 0 V 3 3V Supply Voltage VDD3 3 and VDDA3 3 VDD...

Page 13: ...orts Low Speed Full Speed ICC3 3FS3 3 downstream ports active 55 mA ICC1 8HS3 105 mA 3 Ports High Speed ICC3 3HS3 3 downstream ports active 115 mA ICC1 8FS4 100 mA 4 Ports Low Speed Full Speed ICC3 3F...

Page 14: ...Level Output Leakage VOL VOH IOL IOL 8 mA VDD3 3 3 3V IOH 4mA VDD3 3 3 3V VIN 0 to VDD3 3 Note 6 1 2 4 10 0 8 10 V V uA OD8 and IOD8 Buffer Low Output Level Output Leakage VOL IOL IOL 8 mA VDD3 3 3 3...

Page 15: ...V HS FUNCTIONALITY Input levels HS Differential Input Sensitivity VDIHS VI DP VI DM 100 mV HS Data Signaling Common Mode Voltage Range VCMHS 50 500 mV Squelch Threshold 100 mV HS Squelch Detection Th...

Page 16: ...al role OTG host on the upstream port the USB20H04 has the ability to attach a 1 5K ohm resistor to the DP0 pin for 5 to 10ms This is defined as data line pulsing in the OTG specification 7 3 Clock PL...

Page 17: ...ial clock and the START and STOP conditions 7 6 Repeater The hub repeater is responsible for managing connectivity between upstream and downstream facing ports which are operating at the same speed Th...

Page 18: ...am of a Self Powered Hub for a typical implementation 7 12 1 Over Current Sense An external device monitors the current being provided to attached peripherals and generates an output during over curre...

Page 19: ...utomatic Mode Port Indicators COLOR DEFINITION Off Disconnected Disabled Not Configured Resetting Testing Suspending or Resuming Amber Over Current Condition Green Enabled Transmit or TransmitR In man...

Page 20: ...mode please see Application Note 9 29 USB20H04 4 Port USB 2 0 Hub Controller Configuration Programming The Application Note also discusses designing a Hub system that supports In Circuit Programming o...

Page 21: ...al EEPROM following reset The values to be programmed into the EEPROM are summarized in Table 8 1 Summary of OEM Value Programming Table 8 1 Summary of OEM Value Programming ADDRESS FIELD NAME DESCRIP...

Page 22: ...ed mode 0 EOP generation at EOF1 1 EOP generation at EOF1 disabled 2 Current Sensing Selects whether current sensing is ganged on all ports or on an individual port by port basis 0 Individual port by...

Page 23: ...ort enabled 5 4 Reserved Set to zero 3 0 Over Current Timer Selects the over current timer delay in 2 ms increments for the active ports 0101 delay is 2ms 1010 delay is 4ms 1111 delay is 6ms Note All...

Page 24: ...re Reset A valid hardware reset is initiated by the assertion of RESET_N for a minimum of 100ns after all power supplies are within operating range Assertion of RESET_N external pin causes the followi...

Page 25: ...Bus NAME DESCRIPTION MIN TYP MAX UNITS T1 RESET_N asserted 100 nsec T2 USB20H04 recovery stabilization until first external SCK SCL activity 16 32 nsec T3 Implementation dependent load time T4 Configu...

Page 26: ...NAME DESCRIPTION MIN TYP MAX UNITS T1 RESET_N asserted 100 nsec T2 I 2 C USB20H04 recovery stabilization until first rising edge of SCK SCL 24 30 sec T3 I 2 C EEPROM configuration to final SCK SCL act...

Page 27: ...devices 1 Sets default address to 0 2 Sets configuration to un configured 3 Negates VBUSx_N where x stands for the port number to all downstream ports 4 Clears all TT buffers 5 Moves device from susp...

Page 28: ...ication Number 4 09h 09h bDeviceClass Class code assigned by USB IF for Hubs 5 00h 00h bDeviceSubClass Class code assigned by USB IF for Hubs 6 00h 01h bDeviceProtcol Protocol code assigned by the USB...

Page 29: ...for Bus Powered E0h for Self Powered 7 user signal Bitmap user signal Bitmap bmAttibutes All other values are reserved If Dynamic Power support is disabled this value is derived from the OEM value fo...

Page 30: ...Number of this interface 3 00h 00h bAlternateSetting Value used to select this alternate setting for the interface 4 01h 01h bNumEndpoints Number of endpoints used by this interface not including endp...

Page 31: ...is descriptor in bytes 1 09h 09h bDescriptorType OTG Descriptor Type Attribute Fields D 7 2 Reserved D1 HNP Support not supported 2 01h 01h wMaxPacketSize D0 SRP Support Table 9 9 Class Specific Hub D...

Page 32: ...IELD NAME VALUE DESCRIPTION 6 HubContrCurrent user Maximum current requirements of the hub controller electronics in mA Derived from OEM value 7 DeviceRemovable user Indicates if port has a removable...

Page 33: ...l over current protection and power switching on each downstream port VBUS D D GND GR AM VBUS D D GND GR AM VBUS D D GND GR AM VBUS D D GND GR AM OUT1 OUT2 OUT3 OUT4 EN1 OC1 EN2 OC2 EN3 OC3 EN4 OC4 3...

Page 34: ...age 34 SMSC USB20H04 DATASHEET USB20H04 Port 1 Downstream VBUS Power Source VDD3 3 Power Switch OC Sense IN EN OC OUT VBUS1_N OCS1_N GR1_N AM1_N USBDP1 USBDM1 VBUS D D Green Indicator Amber Indicator...

Page 35: ...09 0 20 Lead Frame Thickness L 0 45 0 60 0 75 Lead Foot Length L1 1 00 Lead Length e 0 50 Basic Lead Pitch 0 o 7 o Lead Foot Angle W 0 17 0 22 0 27 Lead Width R1 0 08 Lead Shoulder Radius R2 0 08 0 2...

Reviews: