Microchip Tech USB4640 HZH 03 - C220292
Microchip Tech USB4640 HZH 03 - C220292
Microchip Tech USB4640 HZH 03 - C220292
Datasheet
Order Number(s):
USB4640/USB4640i-HZH-xx for 48-pin, QFN lead-free RoHS compliant package
USB4640/USB4640i-HZH-TR-xx for 48-pin, QFN lead-free RoHS compliant tape and reel package
“XX” in the order number indicates the internal ROM firmware revision level. Please contact SMSC for more information.
This product meets the halogen maximum concentration values per IEC61249-2-21
For RoHS compliance and environmental information, please visit www.smsc.com/rohs
Please contact your SMSC sales representative for additional documentation related to this product
such as application notes, anomaly sheets, and design guidelines.
Datasheet
Conventions
Within this manual, the following abbreviations and symbols are used to improve readability.
Example Description
BIT Name of a single bit within a field
FIELD.BIT Name of a single bit (BIT) in FIELD
x…y Range from x to y, inclusive
BITS[m:n] Groups of bits from m to n, inclusive
PIN Pin Name
zzzzb Binary number (value zzzz)
0xzzz Hexadecimal number (value zzz)
zzh Hexadecimal number (value zz)
rsvd Reserved memory location. Must write 0, read value indeterminate
N/A Not applicable
code Instruction code, or API function or parameter
Used for multiple words that are considered a single unit, such as:
Multi Word Name
Resource Allocate message, or Connection Label, or Decrement Stack Pointer instruction.
Section Name Section or Document name.
VAL Over-bar indicates active low pin or register bit
x Don’t care
<Parameter> <> indicate a Parameter is optional or is only used under some conditions
{,Parameter} Braces indicate Parameter(s) that repeat one or more times.
Brackets indicate a nested Parameter. This Parameter is not real and actually decodes
[Parameter]
into one or more real parameters.
Datasheet
Table of Contents
Chapter 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.1 Hardware Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2 Software Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.3 OEM Selectable Hub Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 5 AC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.1 Oscillator/Crystal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.2 Ceramic Resonator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.3 External Clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.3.1 I2C EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.3.2 USB 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Chapter 6 DC Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.1 Maximum Guaranteed Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.2 Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
6.3 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.4 Capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Datasheet
Datasheet
List of Tables
Table 3.1 USB4640/USB4640i 48-Pin List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 3.2 USB4640/USB4640i Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 3.3 USB4640/USB4640i Buffer Type Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 3.4 Legend for Pin Reset States Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 3.5 USB4640/USB4640i Reset States Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 4.1 Internal Flash Media Controller Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 4.2 Hub Controller Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 4.3 Other Internal Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 4.4 Internal Flash Media Controller Extended Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 4.5 Port Map Register for Ports 1 and 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Table 4.6 Port Map Register for Port 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Table 4.7 nRESET Timing for EEPROM Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Table 5.1 Crystal Circuit Legend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Table 6.1 Pin Capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Table 7.1 USB4640/USB4640i GPIO Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Datasheet
List of Figures
Figure 2.1 USB4640/USB4640i Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 3.1 USB4640/USB4640i 48-Pin QFN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 3.2 Port Power Control with USB Power Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 3.3 Port Power Control with a Single Poly Fuse and Multiple Loads . . . . . . . . . . . . . . . . . . . . . 21
Figure 3.4 Port Power with Ganged Control with Poly Fuse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 3.5 SPI ROM Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 3.6 I2C Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 3.7 Pin Reset States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 4.1 nRESET Timing for EEPROM Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Figure 5.1 Typical Crystal Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Figure 5.2 Capacitance Formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Figure 5.3 Ceramic Resonator Usage with SMSC IC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Figure 6.1 Supply Rise Time Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Figure 8.1 USB4640/USB4640i 48-Pin QFN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Figure 8.2 48-Pin Package Tape Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Figure 8.3 48-Pin Package Reel Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Datasheet
Chapter 1 Overview
The USB4640/USB4640i is a Hi-Speed HSIC USB hub and card reader combo solution with an
upstream port compliant to the High-Speed Inter-Chip USB Electrical Specification Revision 1.0 [2].
The two downstream ports are USB 2.0 compliant, and the dedicated flash media reader/writer is
internally attached to a 3rd downstream port as a USB compound device.
High-Speed Inter-Chip (HSIC) is a digital interconnect bus that enables the use of USB technology
as a low-power chip-to-chip interconnect at speeds up to 480 Mb/s (see the High-Speed Inter-Chip
USB Electrical Specification Revision 1.0). This combo solution supports several multi-format flash
media cards. This multi-format flash media controller and USB hub combo features two exposed
downstream USB ports available for external peripheral expansion.
The USB4640/USB4640i can attach to an upstream port as a Full- or Full/Hi-Speed hub. The hub
supports Low-Speed, Full-Speed, and Hi-Speed downstream devices (if operating as a Hi-Speed
hub) on all of the enabled downstream ports.
All required resistors on the USB ports are integrated into the hub, including all series termination
resistors on D+ and D– pins and all required pull-down and pull-up resistors. The over-current sense
inputs for the downstream facing ports have internal pull-up resistors.
The USB4640/USB4640i includes programmable features, such as:
PortMap: provides flexible port mapping and disable sequences. The downstream ports of a
USB4640/USB4640i hub can be reordered or disabled in any sequence to support multiple
platform designs with minimum effort. For any port that is disabled, the USB4640/USB4640i hub
controllers automatically reorder the remaining ports to match the USB host controller’s port
numbering scheme.
PortSwap: adds per-port programmability to USB differential-
pair pin locations. PortSwap also allows direct alignment of USB
signals (D+/D-) to connectors to avoid uneven trace length or
crossing of the USB differential signals on the PCB.
PHYBoost: enables 4 programmable levels of USB signal drive
strength in downstream port transceivers. PHYBoost will also
attempt to restore USB signal integrity.
Datasheet
Serial
1.8 V Reg PLL
Interface 8051
1.8 V Reg
XDATA BRIDGE
VDDCR + BUS ARBITER
Chapter 2 Block Diagram
EP0 TX
EP0 RX
10
3K BUS
High-Speed Inter-Chip (HSIC) USB 2.0 Hub and Flash Media Controller
total RAM
INTFC
DATASHEET
Routing & Port Re-Ordering Logic AUTO_CBW
EP2
EP2 RX
RX PROC
EP2 TX
BUS FMDU
INTFC CTL
Port #3 Port #2
OC OC
Sense Sense SIE BUS
BRIDGE
SD/
xD* MS MMC/
SDIO
SMSC USB4640/USB4640i
High-Speed Inter-Chip (HSIC) USB 2.0 Hub and Flash Media Controller
Datasheet
This chapter outlines the pinning configuration, followed by a corresponding pin list grouped by
function. The detailed pin descriptions are listed then outlined in Section 3.3, on page 13.
SD_D3/MS_D3/xD_D6
SD_D4/MS_D2/xD_D7
GPIO10 (CRD_PWR)
GPIO14/xD_nCD
GPIO12/MS_INS
SD_D2/xD_D5
GPIO2/RXD
xD_nB/R
xD_nRE
xD_nCE
VDD33
VDD33
36
35
34
33
32
31
30
29
28
27
26
25
GPIO1/LED/TXD 37 24 SD_CMD/MS_D0/xD_CLE
nRESET 38 23 SD_D5/MS_D1/xD_ALE
HSIC_IMP 39 22 xD_nWE
TEST 40 21 SD_CLK/MS_BS/xD_nWP
VDD12 41 20 SD_D6/MS_D7/xD_D0
HSIC_DAT 42
SMSC 19 SD_D7/MS_D6/xD_D1
USB4640/40i
HSIC_STROBE 43 18 SD_D0/MS_D4/xD_D2
(Top View QFN-48)
XTAL2 44 17 SD_D1/MS_D5/xD_D3
XTAL1 (CLKIN) 45 16 VDD33
PLLFILT 46 15 CRFILT
Ground Pad
RBIAS 47 (must be connected to VSS) 14 GPIO15/SD_nCD
VDD33 48 13 GPIO6/SD_WP/MS_SCLK/xD_D4
10
11
12
1
2
3
4
5
6
7
8
9
SPI_CLK/GPIO4/SCL
USBDN_DM2
PRTCTL2
PRTCTL3
USBDN_DP2
USBDN_DM3
USBDN_DP3
VDD33
VDD33
SPI_CE_n
SPI_DO/GPIO5/SDA/SPI_SPD_SEL
SPI_DI
Datasheet
USBDN_DP3 USBDN_DM3
GPIO6/
SD_WP/ GPIO14/
xD_nWE xD_nB/R
MS_SCLK/ xD_nCD
xD_D4
xD_nRE xD_nCE
SPI_DO/
SPI_CLK/
GPIO5/
SPI_CE_N GPIO4/ SPI_DI
SDA/
SCL
SPI_SPD_SEL
MISC (5 PINS)
GPIO1/
GPIO2/
nRESET TEST LED/
RXD
TXD
GPIO10 (CRD_PWR)
POWER (9 PINS)
TOTAL 48
Datasheet
An n in the signal name indicates that the active (asserted) state occurs when the signal is at a low
voltage level. When the n is not present, the signal is asserted when it is at a high voltage level. The
terms assertion and negation are used exclusively in order 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.
48-PIN BUFFER
SYMBOL QFN TYPE DESCRIPTION
Datasheet
48-PIN BUFFER
SYMBOL QFN TYPE DESCRIPTION
Datasheet
48-PIN BUFFER
SYMBOL QFN TYPE DESCRIPTION
Datasheet
48-PIN BUFFER
SYMBOL QFN TYPE DESCRIPTION
SPI INTERFACE
Datasheet
48-PIN BUFFER
SYMBOL QFN TYPE DESCRIPTION
GPIO5/ I/O6 This pin may be used either as an input; edge sensitive interrupt
input; or output. Custom firmware is required to activate this function.
MISC
TXD This signal can be configured as the TXD output of the internal
UART. Custom firmware is required to activate this function.
RXD This signal can be configured as input to the RXD of the internal
UART. Custom firmware is required to activate this function.
Datasheet
48-PIN BUFFER
SYMBOL QFN TYPE DESCRIPTION
BUFFER DESCRIPTION
I Input.
I/O Input/output
O8PD Output buffer with an 8 mA sink and an 8 mA source with a weak internal pull-down resistor
O8PU Output buffer with an 8 mA sink and an 8 mA source with a weak internal pull-up resistor
Datasheet
BUFFER DESCRIPTION
I/O8PD Input/output buffer with an 8 mA sink and an 8 mA source with a weak internal pull-down resistor
I/O8PU Input/output buffer with an 8 mA sink and an 8 mA source with a weak internal pull-up resistor
I/O12PD Input/output buffer with 12 mA sink and 12 mA source with a weak internal pull-down resistor
I/O200 Input/output buffer 12 mA with FET disabled, 100/200 mA source only when the FET is enabled
I-R RBIAS
Datasheet
If there is an over-current situation, the USB Power Switch will assert the open drain OCS signal. The
Schmitt trigger input will detect this event as a low. The open drain output does not interfere. The
internal over-current sense filter handles the transient conditions, such as low voltage, while the device
is powering up.
5V
PRTCTL3
OCS
USB Power
Switch
EN
USB
USB4640/40i Device
5V
PRTCTL2
OCS
USB Power
Switch
EN
USB
Device
Datasheet
Schmitt trigger input will register this as a low resulting in an over-current detection. The open drain
output does not interfere.
5V
PRTCTL3
USB
Device
USB4640/40i 5V
PRTCTL2
USB
Device
Figure 3.3 Port Power Control with a Single Poly Fuse and Multiple Loads
When using a single poly fuse to power all devices, note that for the ganged situation, all power control
pins must be tied together.
5V
USB4640/40i
PRTCTL2 USB USB
Device Device
Figure 3.4 Port Power with Ganged Control with Poly Fuse
If there is no SPI ROM detected, the internal firmware then checks for the presence of an I2C ROM.
The firmware looks for the signature ATA2 at the offset of FCh-FFh and ecf1 at the offset of 17Ch-
17Fh in the I2C ROM. The firmware reads in the I2C ROM to configure the hardware and software
internally. Please refer to Section 4.3.2: EEPROM Data Descriptor on page 26 for the details of the
configuration options.
The SPI ROM required for the USB4640/USB4640i is a recommended minimum of 1 Mb and support
either 30 MHz or 60 MHz. The frequency used is set using the SPI_SPD_SEL. For 30 MHz operation,
this pin must be pulled to ground through a 100 kΩ resistor. For 60 MHz operation, this pin must pulled
up through a 100 kΩ resistor.
Datasheet
The SPI_SPD_SEL pin is used to choose the speed of the SPI interface. During nRESET assertion,
this pin will be tri-stated with the weak pull-down resistor enabled. When nRESET is negated, the value
on the pin will be internally latched, and the pin will revert to SPI_DO functionality. The internal pull-
down will be disabled.
The firmware can determine the speed of operation on the SPI port by checking the
SPI_CTL.SPI_SPEED bit (0x2400 - RESET = 0x02). Both 1- and 2-bit SPI operation is supported. For
optimum throughput, a 2-bit SPI ROM is recommended. Both mode 0 and mode 3 SPI ROMS are also
supported.
SPI_CE_N CE#
SPI_CLK/GPIO4/SCL CLK
USB4640/40i SPI_DO/GPIO5/SDA/SPI_SPD_SEL
SPI ROM
SI
SPI_DI SO
3. 3 V
10 K
SCL
3. 3 V
I2C ROM
USB4640/40i 10 K
SDA
RESET
VDD33
Time
VSS (t)
Datasheet
SYMBOL DESCRIPTION
IP Input enabled
RESET STATE
INPUT/ PU/
PIN PIN NAME FUNCTION
OUTPUT PD
1 USBDN_DM2 USBDN_DM2 IP PD
2 USBDN_DP2 USBDN_DP2 IP PD
3 USBDN_DM3 USBDN_DM3 IP PD
4 USBDN_DP3 USBDN_DP3 IP PD
6 PRTCTL2 PRTCTL 0 --
7 PRTCTL3 PRTCTL 0 --
8 SPI_CE_n SPI_CE_n 1 --
9 SPI_CLK/GPIO4/SCL GPIO 0 --
10 SPI_DO/GPIO5/SDA/SPI_SPD_SEL GPIO 0 --
11 SPI_DI SPI_DI IP PD
13 GPIO6/SD_WP/MS_SCLK/xD_D4 GPIO 0 --
14 GPIO15/SD_nCD GPIO IP PU
17 SD_D1/MS_D5/xD_D3 none Z --
18 SD_D0/MS_D4/xD_D2 none Z --
19 SD_D7/MS_D6/xD_D1 none Z --
Datasheet
RESET STATE
INPUT/ PU/
PIN PIN NAME FUNCTION
OUTPUT PD
20 SD_D6/MS_D7/xD_D0 none Z --
21 SD_CLK/MS_BS/xD_nWP none Z --
22 xD_nWE xD_nWE Z --
23 SD_D5/MS_D1/xD_ALE none Z --
24 SD_CMD/MS_D0/xD_CLE none Z --
26 xD_nCE xD_nCE Z --
27 xD_nRE xD_nRE Z --
28 xD_nB/R xD_nB/R Z --
29 GPIO14/xD_nCD GPIO IP PU
30 SD_D4/MS_D2/xD_D7 none Z --
31 GPIO12/MS_INS GPIO IP PU
32 SD_D3/MS_D3/xD_D6 none Z --
33 SD_D2/xD_D5 none Z --
36 GPIO2/RXD GPIO 0 --
37 GPIO1/LED/TXD GPIO 0 --
38 nRESET nRESET IP --
39 HSIC_IMP HSIC_IMP Z --
40 TEST TEST IP PD
42 HSIC_DAT HSIC_DAT IP --
43 HSIC_STROBE HSIC_STROBE IP --
Datasheet
4.1 Hub
SMSC’s USB 2.0 hub is fully compliant to the Universal Serial Bus Specification [1].
The hub provides 1 transaction translator (TT) that is shared by both downstream ports defined as a
single-TT configuration. The TT contains 4 non-periodic buffers. The 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 two principal ways to configure the hub:
Internal default settings
External EEPROM or SPI Flash device
Note: See Chapter 11 (Hub Specification) of the USB specification for general details regarding hub
operation and functionality.
The USBDM tool set is available in the USB264x Hub Card reader combo software release package.
To download the software package from SMSC's website, visit:
https://www2.smsc.com/mkt/CW_SFT_PUB.nsf/Agreements/OBJ+Hub+Card+Reader
Review the license and select the I agree checkbox, followed by the Confirm button. Download the
USB264x Hub Card reader combo Release Package zip file with the USBDM tool set will then be
available for download.
Datasheet
Datasheet
D4h - D7h DEV_LUN_MAP Device to LUN Mapping FFh, 00h, 00h, 00h
Note 4.1 This value is a UNICODE UTF-16LE encoded string value that meets the USB 2.0
Specification [1].
Note 4.2 A value of SM will be overridden with xD once an xD-Picture Card has been identified.
Note 4.3 Current 16-bit language ID’s are defined by the USB-IF, see The Unicode Standard,
Worldwide Character Encoding [4].
Datasheet
Datasheet
0 USB_SER_LEN USB serial string descriptor length as defined by Section 9.6.7: String of the
USB 2.0 Specification [1]. This field is the bLength, which describes the size
of the string descriptor (in bytes).
1 USB_SER_TYP USB serial string descriptor type as defined by Section 9.6.7: String of the
USB 2.0 Specification [1]. This field is the bDescriptorType, a constant value
associated with a string descriptor type.
25:2 USB_SER_NUM Maximum string length is 12 hex digits. Must be unique to each device.
1:0 USB_VID This ID is unique for every vendor. The vendor ID is assigned by the USB
Implementer’s Forum.
1:0 USB_PID The product ID: assigned by the vendor; unique for every product.
Datasheet
0 USB_LANG_LEN USB language ID string descriptor length as defined by Section 9.6.7: String
of the USB 2.0 Specification [1]. This field is the bLength, which describes the
size of the string descriptor (in bytes).
1 USB_LANG_TYP USB language ID string descriptor type as defined by Section 9.6.7: String of
the USB 2.0 Specification [1]. This field is the bDescriptorType, a constant
value associated with a string descriptor type.
2 USB_LANG_ID English language code = 0409. See Note 4.3 for additional language IDs
_LSB defined by the USB-IF.
3 USB_LANG_ID English language code = 0409. See Note 4.3 for additional language IDs
_MSB defined by the USB-IF.
0 USB_MFR_STR USB manufacturer string descriptor length as defined by Section 9.6.7 String
_LEN of the USB 2.0 Specification [1]. This field is the bLength which describes the
size of the string descriptor (in bytes).
1 USB_MFR_STR USB manufacturer string descriptor type as defined by Section 9.6.7 String of
_TYP the USB 2.0 Specification [1]. This field is the bDescriptorType, a constant
value associated with a string descriptor type.
Datasheet
59:16 rsvd
0 USB_PRD_STR USB product string descriptor length as defined by Section 9.6.7 String of the
_LEN USB 2.0 Specification [1]. This field is the bLength, which describes the size
of the string descriptor (in bytes).
1 USB_PRD_STR USB product string descriptor type as defined by Section 9.6.7 String of the
_TYP USB 2.0 Specification [1]. This field is the bDescriptorType, a constant value
associated with a string descriptor type.
59:2 USB_PRD_STR This string will be used during the USB enumeration process in the Windows®
operating system. Maximum string length is 28 characters.
7:0 USB_BM_ATT Self- or Bus-Power: selects between self- and bus-powered operation.
The hub is either self-powered (draws less than 2 mA) or bus-powered
(limited to 100 mA maximum power prior to being configured by the host
controller).
When configured as a bus-powered device, the hub consumes less than
100 mA of current prior to being configured. After configuration, the bus-
powered SMSC hub (along with all associated hub circuitry, any embedded
devices if part of a compound device, and 100 mA per externally available
downstream port) must consume no more than 500 mA of current. The
current consumption is system dependent and must follow the USB 2.0
Specification requirements.
When configured as a self-powered device, <1 mA of current is consumed
and all ports are available, with each port being capable of sourcing 500 mA
of current.
80 : (default) Bus-powered operation
C0 : Self-powered operation
A0 : Bus-powered operation with remote wake-up
E0 : Self-powered operation with remote wake-up
Datasheet
7:0 USB_MAX_PWR USB Max Power per the USB 2.0 Specification [1]. Do NOT set this value
greater than 100 mA.
BYTE
BYTE NAME BIT DESCRIPTION
5 Always read as 0
6 Always read as 0
Datasheet
BYTE
BYTE NAME BIT DESCRIPTION
1 Always read as 0
7 xD Player Mode
2. The power limit can be set to 100 mA or 200 mA (default) for the internal FET.
Each media uses two bytes to store its device power configuration. Bit 3 selects between internal or
external card power FET options. For internal FET card power control, bits 0 through 2 are used to
set the power limit. The Device Power Configuration bits are ignored unless the Enable Device Power
Configuration bit is set. See Section 4.4.1.19 on page 32.
1:0 N/A
Datasheet
0 LED_BLK_INT The blink rate is programmable in 50 ms intervals. The high bit (7) indicates
an idle state:
0 : off
1 : on
The remaining bits (6:0) are used to determine the blink interval up to a max
of 128 x 50 ms.
1 LED_BLK_DUR LED Blink After Access: designates the number of seconds that the GPIO1
LED will continue to blink after a drive access. Setting this byte to 05 will
cause the GPIO 1 LED to blink for 5 seconds after a drive access.
Datasheet
6:0 DEV2_ID_STR ID string is associated with the Smart Media (Note 4.2) device
7:0 INQ_VEN_STR If bit 4 of the first attribute byte is set, the device will use these strings in
response to a USB inquiry command, instead of the USB descriptor
manufacturer and product ID strings.
4:0 INQ_PRD_STR If bit 4 of the first attribute byte is set, the device will use these strings in
response to a USB inquiry command, instead of the USB descriptor
manufacturer and product ID strings.
Datasheet
7:0 DYN_NUM_LUN These bytes are used to specify the number of LUNs the device exposes to
the host. These bytes are also used for icon sharing by assigning more than
one LUN to a single icon. This is used in applications where the device
utilizes a combo socket with only a single icon displayed for one or more
interfaces.
If this field is set to FF, the program assumes that you are using the default
value and icons will be configured per the default configuration.
3:0 DEV_LUN_MAP These registers map a device controller (SD/MMC, SM (Note 4.2), and MS)
to a Logical Unit Number (LUN). The device reports the mapped LUNs to
the USB host in the USB descriptor during enumeration. The icon installer
associates custom icons with the LUNs specified in these fields.
Setting a register to FF indicates that the device is not mapped. Setting all
of the DEV_LUN_MAP registers for all devices to FF forces the use of the
default mapping configuration. Not all configurations are valid. Valid
configurations depend on the hardware, packaging, and the board layout.
The number of unique LUNs mapped must match the value in the Section
4.4.3.7 on page 36.
2:0 rsvd
7:0 VID_LSB Least Significant Byte of the Vendor ID: a unique 16-bit value that identifies
the vendor of the user device (assigned by USB Implementer’s Forum).
7:0 VID_MSB Most Significant Byte of the Vendor ID: a unique 16-bit value that identifies
the vendor of the user device (assigned by USB Implementer’s Forum).
Datasheet
7:0 PID_LSB Least Significant Byte of the Product ID: a unique 16-bit value that identifies
a particular product (vender assigned).
7:0 PID_MSB Most Significant Byte of the Product ID. a unique 16-bit value that identifies
a particular product (vender assigned).
7:0 DID_LSB Least Significant Byte of the Device ID: a 16-bit device release number in
BCD (binary coded decimal) format.
7:0 DID_MSB Most Significant Byte of the Device ID: a 16-bit device release number in
BCD format.
6:3 rsvd
Datasheet
7:6 rsvd
3 COMPOUND Compound Device: allows OEM to indicate that the hub is part of a
compound device (per the USB 2.0 Specification). The applicable port(s)
must also be defined as having a “non-removable device”.
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, the hub is part of a compound device
2:0 rsvd
Datasheet
7:4 rsvd
3 PRTMAP_EN Port Mapping Enable: selects the method used by the hub to assign port
numbers and disable ports.
0 : Standard Mode. Strap options or the following registers are used to define
which ports are enabled, and the ports are mapped as port ‘n’ on the hub is
reported as port ‘n’ to the host, unless one of the ports is disabled, then the
higher numbered ports are remapped in order to report contiguous port
numbers to the host.
Register 300Ah: Port disable for self-powered operation (Reset = 0x00)
Register 300Bh: Port disable for bus-powered operation (Reset = 0x00)
1 : Port Map mode. The mode enables remapping via the registers defined
below.
Register 30FBh: Port Map 12 (Reset = 0x00)
Register 30FCh: Port Map 3 (Reset = 0x00)
2:0 rsvd
Datasheet
7:0 MAX_PWR_SP Value in 2 mA increments that the hub consumes when operating as a self-
powered hub. This value includes the hub silicon along with the combined
power consumption 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 0 mA in its descriptors.
Note: Per USB 2.0 Specification: this value cannot exceed 100 mA.
Datasheet
7:0 MAX_PWR_BP Value in 2 mA increments that the hub consumes when operating as a bus-
powered hub. This value includes the hub silicon along with the combined
power consumption 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 0 mA in its descriptors.
7:0 HC_MAX_C_SP Value in 2 mA increments that the hub consumes when operating as a self-
powered hub. This value includes the hub silicon along with the combined
power consumption 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: Per USB 2.0 Specification: this value cannot exceed 100 mA.
A value of 50 (decimal) indicates 100 mA, which is the default value.
7:0 HC_MAX_C_BP Value in 2 mA increments that the hub consumes when operating as a bus-
powered hub. This value will include the hub silicon along with the combined
power consumption 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 100 mA, which is the default value.
7:0 PWR_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 adequate on that
port. If the host requests the power-on time, the system software uses this
value to determine how long to wait before accessing a powered-on port.
Datasheet
7:2 rsvd
1:0 BOOST_IOUT USB electrical signaling drive strength boost bit for the upstream port A.
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: Boost could result in non-USB compliant parameters. Therefore, a
value of 00 should be implemented unless specific implementation
issues require additional signal boosting to correct for degraded
USB signalling levels.
7:6 rsvd
5:4 BOOST_IOUT_3 Upstream USB electrical signaling drive strength boost bit for downstream
port 3.
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)
3:2 BOOST_IOUT_2 Upstream 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: Boost could result in non-USB compliant parameters. Therefore, a
value of 00 should be implemented unless specific implementation
issues require additional signal boosting to correct for degraded
USB signalling levels.
Datasheet
7:0 PRT_SWP 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 7 : rsvd
Bit 6 : rsvd
Bit 5 : rsvd
Bit 4 : rsvd
Bit 3 : controls physical port 3
Bit 2 : controls physical port 2
Bit 1 : rsvd
Bit 0 : controls physical port 0
Datasheet
7:0 PRTM12 PortMap Register for Ports 1 and 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 reports having.
The host's port number is called the Logical Port Number and the physical
port on the hub is the Physical Port Number. When mapping mode is
enabled (see PORTMAP12.PRTMAP_EN) the hub's downstream port numbers
can be mapped to different logical port numbers (assigned by the host).
Note: Contiguous logical port numbers must be implemented, starting
from number 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.
Datasheet
7:0 PRTM3 PortMap Register for Ports 1 and 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 reports having.
The host's port number is called the Logical Port Number and the physical
port on the hub is the Physical Port Number. When mapping mode is
enabled (see PORTMAP12.PRTMAP_EN: Configuration Data Byte 3) the hub's
downstream port numbers can be remapped to different logical port numbers
(assigned by the host).
Note: Contiguous logical port numbers must be implemented, starting
from number 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.
0001 rsvd
0010 rsvd
0011 rsvd
6:0 rsvd .
Datasheet
7:0 N/A
3:0 NVSTORE_SIG This signature is used to verify the validity of the data in the first 256 bytes of
the configuration area. The signature must be set to ATA2 for
USB4640/USB4640i.
6:0 CLUN0_ID_STR If the device to LUN mapping bytes have configured this LUN to be a combo
LUN, then these strings will be used to identify the LUN rather than the device
identifier strings.
116:0 N/A
3:0 NVSTORE_SIG2 This signature is used to verify the validity of the data in the upper 256 bytes
if a 512 byte EEPROM is used, otherwise this bank is a read-only configuration
area. The signature must be set to ecf1.
Note: Extensions to the I2C Specification are not supported. The device acts as the master and
generates the serial clock SCL, controls the bus access (determines which device acts as the
transmitter and which device acts as the receiver), and generates the START and STOP
conditions.
Datasheet
The hub will only access an EEPROM using the sequential read protocol as outlined in Chapter 8 of
the MicroChip 24AA02/24LC02B Data Sheet [8].
The circuit board designer is required to place external pull-up resistors (10 kΩ recommended) on the
SPI_DO/GPIO5/SDA/SPI_SPD_SEL and SPI_CLK/GPIO4/SCL lines (per SMBus 1.0 Specification [7]
and EEPROM manufacturer guidelines) to VDD33 in order to assure proper operation.
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, 00h)
5. The external crystal oscillator is halted
6. The PLL is halted
t4
t1 t2 t3 t5 t6 t7
nRESET
VSS
Datasheet
Note: All power supplies must have reached the operating levels mandated in Chapter 6 on page 51,
prior to (or coincident with) the assertion of nRESET.
Note: The device does not propagate the upstream USB reset to downstream devices.
The host then configures the device and the device’s downstream port devices in accordance with the
USB 2.0 Specification.
Datasheet
Chapter 5 AC Specifications
5.1 Oscillator/Crystal
Parallel Resonant, Fundamental Mode, 24 MHz ± 350 ppm.
Datasheet
The external clock is recommended to conform to the signaling level designated in the JESD76-2
Specification on 1.8 V CMOS Logic. XTAL2 should be treated as a no connect.
Datasheet
Chapter 6 DC Parameters
Notes:
Stresses above the specified parameters could cause permanent damage to the device. This is a
stress rating only. Therefore, functional operation of the device at any condition above those
indicated in the operation sections of this specification are 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.
Datasheet
1.2 V supply voltage VDD12 1.1 1.3 V The ripple on VDD12 must be
less than 50 mV peak to peak.
1.2 V supply rise time tRT12 0 400 μs Under all conditions the voltage
on the 1.2 V supply must be
below the 3.3 V supply.
(Figure 6.1)
3.3 V supply voltage VDD33 3.0 3.6 V A 3.3 V regulator with an output
tolerance of 1% must be used if
the output of the internal power
FET’s must support a 5%
tolerance.
Voltage
tRTxx
VDD33 3.3 V 100%
90%
1.2 V
VDD12 100%
90%
10%
VSS
Datasheet
SYMBO
PARAMETER L MIN TYP MAX UNITS COMMENTS
Pull Down PD 72 μA
Pull Up PU 58 μA
Input Leakage
(All I and IS buffers)
Pull Down PD 72 μA
Pull Up PU 58 μA
Datasheet
SYMBO
PARAMETER L MIN TYP MAX UNITS COMMENTS
Pull Down PD 72 μA
Pull Up PU 58 μA
Pull Down PD 72 μA
Pull Up PU 58 μA
Datasheet
SYMBO
PARAMETER L MIN TYP MAX UNITS COMMENTS
USB4640 ICCINTHS 58 60 mA
USB4640i ICCINTHS 58 62 mA
USB4640 30 35 mA
USB4640i 30 40 mA
Note 6.1 Output leakage is measured with the current pins in high impedance.
Note 6.2 See the USB 2.0 Specification, Chapter 7, for USB DC electrical characteristics
Note 6.4 Output current range is controlled by program software. The software disables the FET
during short circuit condition.
Note 6.5 Refer to the High-Speed Inter-Chip USB Electrical Specification Revision 1.0 [2].
Note 6.6 Typical and maximum values were characterized using the following temperature ranges:
The USB4640 supports the commercial temperature range of 0°C to +70°C
The USB4640i supports the industrial temperature range of -40°C to +85°C
Datasheet
6.4 Capacitance
TA = 25°C; fc = 1 MHz; VDD33 = 3.3 V
LIMITS
Datasheet
ACTIVE
NAME LEVEL SYMBOL DESCRIPTION AND NOTE
Datasheet
Datasheet
Datasheet
Datasheet
Appendix A (Acronyms)
*Note: In order to develop, make, use, or sell readers and/or other products using or incorporating any of the SMSC devices made the subject of this
document or to use related SMSC software programs, technical information and licenses under patent and other intellectual property rights from or through
various persons or entities, including without limitation media standard companies, forums, and associations, and other patent holders may be required.
These media standard companies, forums, and associations include without limitation the following: Sony Corporation (Memory Stick, Memory Stick Pro);
SD3 LLC (Secure Digital); MultiMedia Card Association (MultiMediaCard); the SSFDC Forum (SmartMedia); the Compact Flash Association (Compact
Flash); and Fuji Photo Film Co., Ltd., Olympus Optical Co., Ltd., and Toshiba Corporation (xD-Picture Card). SMSC does not make such licenses or
technical information available; does not promise or represent that any such licenses or technical information will actually be obtainable from or through
the various persons or entities (including the media standard companies, forums, and associations), or with respect to the terms under which they may
be made available; and is not responsible for the accuracy or sufficiency of, or otherwise with respect to, any such technical information.
SMSC's obligations (if any) under the Terms of Sale Agreement, or any other agreement with any customer, or otherwise, with respect to infringement,
including without limitation any obligations to defend or settle claims, to reimburse for costs, or to pay damages, shall not apply to any of the devices
made the subject of this document or any software programs related to any of such devices, or to any combinations involving any of them, with respect
to infringement or claimed infringement of any existing or future patents related to solid state disk or other flash memory technology or applications (“Solid
State Disk Patents”). By making any purchase of any of the devices made the subject of this document, the customer represents, warrants, and agrees
that it has obtained all necessary licenses under then-existing Solid State Disk Patents for the manufacture, use and sale of solid state disk and other
flash memory products and that the customer will timely obtain at no cost or expense to SMSC all necessary licenses under Solid State Disk Patents;
that the manufacture and testing by or for SMSC of the units of any of the devices made the subject of this document which may be sold to the customer,
and any sale by SMSC of such units to the customer, are valid exercises of the customer's rights and licenses under such Solid State Disk Patents; that
SMSC shall have no obligation for royalties or otherwise under any Solid State Disk Patents by reason of any such manufacture, use, or sale of such
units; and that SMSC shall have no obligation for any costs or expenses related to the customer's obtaining or having obtained rights or licenses under
any Solid State Disk Patents. SMSC MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, IN REGARD TO INFRINGEMENT OR OTHER
VIOLATION OF INTELLECTUAL PROPERTY RIGHTS. SMSC DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES AGAINST
INFRINGEMENT AND THE LIKE.
No license is granted by SMSC expressly, by implication, by estoppel or otherwise, under any patent, trademark, copyright, mask work right, trade secret,
or other intellectual property right.
**To obtain this software program the appropriate SMSC Software License Agreement must be executed and in effect. Forms of these Software License
Agreements may be obtained by contacting SMSC.
Datasheet
Appendix B (References)
[1] Universal Serial Bus Specification, Version 2.0, April 27, 2000 (12/7/2000 and 5/28/2002 Errata)
USB Implementers Forum, Inc. http://www.usb.org
[2] USB 2.0 Supplement High-Speed Inter-Chip USB Electrical Specification Revision 1.0. 09/23/07.
USB Implementers Forum, Inc. http://www.usb.org/developers/docs/
[3] HSIC ECN. May 25, 2010
USB Implementers Forum, Inc. http://www.usb.org/developers/docs/
[4] The Unicode Standard, Worldwide Character Encoding Version 4.0
The Unicode Consortium. http://www.unicode.org
[5] JEDEC Specification J-STD-020D
JEDEC Global Standards for the Microelectronics Industry.http://www.jedec.org/standards-documents
[6] I2C-Bus Specification Version 1.1
NXP (formerly a division of Philips). http://www.nxp.com/products/interface_control/i2c/
[7] System Management Bus Specification, version 1.0
SMBus. http://smbus.org/specs/
[8] MicroChip 24AA02/24LC02B
Microchip Technology Inc. http://www.microchip.com/