The SMSC USB4640/USB4640i is a Hi-Speed HSIC USB hub
and card reader combo solution with an upstream port
compliant to HSIC 1.0, a supplement to the USB 2.0
specification. The two downstream ports are compliant with the
USB 2.0 specification.
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. The HSIC interface is
an industry standard 2-pin digital interface which uses standard
USB software. The SMSC USB4640/USB4640i provides an
ultra fast interface between an HSIC enabled host and today’s
popular flash media formats. The controller allows read/write
capability to flash media from the following families:
The USB4640/USB4640i offers a versatile, cost-effective, and
energy-efficient hub controller with 2 downstream USB 2.0
ports. This combo solution leverages SMSC’s innovative
technology that delivers industry-leading data throughput in
mixed-speed USB environments. Average sustained transfer
rates exceeding 35 MB/s are possible
Highlights
Upstream HSIC port and 2 exposed Hi-Speed USB 2.0
downstream ports for external peripheral expansion
The dedicated flash media reader is internally attached to a
3rd downstream port of the hub as a USB Compound
Device
— a single or multiplexed flash media reader interface
PortMap
— Flexible port mapping and port disable sequencing supports
multiple platform designs
PortSwap
— Programmable USB differential-pair pin locations eases PCB
design by aligning USB signal traces directly to connectors
PHYBoost
— Programmable USB transceiver drive strength recovers signal
integrity
1.For xD-Picture CardTM support, please obtain a user license
from the xD-Picture Card License Office.
Low-power digital HSIC interface offers a replacement for
onboard host and device connection for analog USB bus
cable
HSIC interface enables printers, mobile PCs, ultra-mobile
PCs, and cell phone products to reduce the total power
budget while taking full advantage of USB connectivity and
compatibility with existing USB drivers and software
External 1.2 V reference allows upstream and downstream
HSIC links to use the same voltage reference
Supports a single external 3.3 V supply source; internal
regulators provide 1.8 V internal core voltage for additional
bill of materials and power savings
The transaction translator (TT) in the hub supports operation
of Full-Speed and Low-Speed peripherals
9 K RAM | 64 K on-chip ROM
Enhanced EMI rejection and ESD protection performance
Hub and flash media reader/writer configuration from a
single source: External I
— Configures internal code using an external I2C EEPROM
— Supports external code using an SPI Flash EEPROM
— Customizable vendor ID, product ID, and language ID if using
an external EEPROM
Up to 9 configurable GPIOs for special functions
The USB4640 supports the commercial temperature range
of 0°C to +70°C
The USB4640i supports the industrial temperature range of
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 withou t prior written approval of an Officer of S MSC and further testing and/or mod ification 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 makes the following part-num bered device available for purchase only by customers who are xD-Picture Card licensees: USB4640/USB4640i.
By purchasing or ordering any of such devices, Buyer represents, warrants, and agrees that Buyer is a duly licensed Licensee under an xD-Picture CardTM License Agreement
with Fuji Photo Film Co., Ltd., Olympus Optical Co., Ltd., and Toshiba Corporation; and that Buyer will maintain in effect such xD-Picture Card license and will give SMSC
reasonable advance notice of any termination or expiration of such xD-Picture Card license, but in no event less than five days advance notice. SMSC may discontinue making
such devices available for purchase by Buyer and/or discontinue further deliveries of such devices if such xD-Picture Card license shall expire, terminate, or cease to be in
force, or if Buyer is or becomes in default of such xD-Picture Card license.
SMSC DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES, INCLUDING WITHOUT LIMITATION ANY AND ALL IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND AGAINST INFRINGEMENT AND THE LIKE, AND ANY AND ALL WARRANTIES ARISING FROM ANY COURSE
OF DEALING OR USAGE OF TRADE. IN NO EVENT SHALL SMSC BE LIABLE FOR ANY DIRECT, INCIDENTAL, INDIRECT, SPECIAL, PUNITIVE, OR CONSEQUENTIAL
DAMAGES; OR FOR LOST DATA, PROFITS, SAVINGS OR REVENUES OF ANY KIND; REGARDLESS OF THE FORM OF ACTION, WHETHER BASED ON CONTRACT;
TORT; NEGLIGENCE OF SMSC OR OTHERS; STRICT LIABILITY; BREACH OF WARRANTY; OR OTHERWISE; WHETHER OR NOT ANY REMEDY OF BUYER IS HELD
TO HAVE FAILED OF ITS ESSENTIAL PURPOSE, AND WHETHER OR NOT SMSC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Revision 1.0 (06-01-09)2SMSC USB4640/USB4640i
DATASHEET
Page 3
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Chapter 1 Overview
The SMSC USB4640/USB4640i is a Hi-Speed HSIC USB hub and card reader combo solution with
an upstream port compliant to HSIC 1.0, a supplement to the USB 2.0 specification. The two
downstream ports are compliant with the USB 2.0 specification. In addition, The dedicated flash
media reader/writer is internally attached to a 3rd downstream port of the hub 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. Please refer to the “High-Speed
Inter-Chip USB Electrical Specification Revision 1.0 as of September 23, 2007” which can be found
at http://www.usb.org/developers/docs/docs. This combo solution supports today’s popular multiformat 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 will attach to an upstream port as a Full-Speed hub or as a Full-/Hi-Speed
hub. The hub supports Low-Speed, Full-Speed, and Hi-Speed (if operating as a Hi-Speed hub)
downstream devices on all of the enabled downstream ports.
All required resistors on the USB ports are integrated into the hub. This includes all series
termination resistors on D+ and D– pins and all required pull-down and pull-up resistors. The overcurrent sense inputs for the downstream facing ports have internal pull-up resistors.
The USB4640/USB4640i includes programmable features such as:
PortMap which 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 automatically
reorders the remaining ports to match the USB host controller’s port numbering scheme.
PortSwap which adds per-port programmability to USB differentialpair pin locations. PortSwap allows direct alignment of USB signals
(D+/D-) to connectors avoiding uneven trace length or crossing of
the USB differential signals on the PCB.
PHYBoost which enables four programmable levels of USB signal
drive strengths in downstream port transceivers. PHYBoost attempts
to restore USB signal integrity. The diagram on the right shows an
example of Hi-Speed USB eye diagrams before (PHYBoost at 0%)
and after (PHYBoost at 12%) signal integrity restoration in a
compromised system environment.
SMSC USB4640/USB4640i7Revision 1.0 (06-01-09)
DATASHEET
Page 8
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Hardware Features
Single chip HSIC hub and flash media controller combo
USB4640 supports the commercial temperature range of 0°C to +70°C
USB4640i supports the industrial temperature range of -40°C to +85°C
Transaction translator (TT) in the hub supports operation of FS and LS peripherals
Full power management with individual or ganged power control of each downstream port
Optional support for external firmware access via SPI interface
Code execution via SPI ROM which must meet
- 30 MHz or 60 MHz operation support
- Single bit or dual bit mode support
- Mode 0 or mode 3 SPI support
Compliance with the following flash media card specifications:
Secure Digital 2.0 / MultiMediaCard 4.2
- SD 2.0, SD-HS, SD-HC
- TransFlash™ and reduced form factor media
- 1/4/8 bit MMC 4.2
Memory Stick 1.43
Memory Stick Pro Format 1.02
Memory Stick Pro-HG Duo Format 1.01
- Memory Stick, MS Duo, MS-HS, MS Pro-HG, MS Pro
Memory Stick Duo 1.10
xD-Picture Card 1.2
Up to 9 GPIOs: Configuration and polarity for special function use
- The number of actual GPIOs depends on the implementation configuration used
- One GPIO available with up to 200 mA drive and protected “fold-back” short circuit current
8051 8-bit microprocessor
- 60 MHz - single cycle execution
- 64 KB ROM | 9 KB RAM
Integrated regulator for 1.8 V core operation
Datasheet
Software Features
Hub and flash media reader/writer configuration from a single source:
External I
If the OEM is using an external EEPROM or an external SPI ROM, the following features are
available:
- Customizable vendor ID, product ID, and device ID
- 12-hex digits maximum for the serial number string
- 28-character manufacturer ID and product strings for the flash media reader/writer
Revision 1.0 (06-01-09)8SMSC USB4640/USB4640i
2
C ROM or external SPI ROM
DATASHEET
Page 9
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
OEM Selectable Hub Features
A default configuration is available in the USB4640/USB4640i following a reset. The
USB4640/USB4640i may also be configured by an external I
2
C EEPROM or via external SPI ROM
flash.
Compound Device support on a port-by-port basis
- a port is permanently hardwired to a downstream USB peripheral device
Select over-current sensing and port power control on an individual or ganged (all ports together)
basis to match the OEM’s choice of circuit board component selection
Port power control and over-current detection/delay features
Configure the delay time for filtering the over-current sense inputs
Configure the delay time for turning on downstream port power
Bus- or self-powered selection
Hub port disable or non-removable configurations
Flexible port mapping and disable sequencing supports multiple platform designs
Programmable USB differential-pair pin location eases PCB layout by aligning USB signal lines
directly to connectors
Programmable USB signal drive strength recovers USB signal integrity using 4 levels of signal drive
strength
Indicate the maximum current that the 2-port hub consumes
Indicate the maximum current required for the hub controller
SMSC USB4640/USB4640i9Revision 1.0 (06-01-09)
DATASHEET
Page 10
Chapter 2 Acronyms
ACK: Handshake packet (positive acknowledgement)
EOF: End of (micro) Frame
FM: Flash Media
FMC: Flash Media Controller
FS: Full-Speed Device
LS: Low-Speed Device
HS: Hi-Speed Device
2C®
I
: Inter-Integrated Circuit
MMC: MultiMediaCard
MS: Memory Stick
MSC: Memory Stick Controller
OCS: Over-current Sense
PHY: Physical Layer
PLL: Phase-Locked Loop
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
1
RXD: Received eXchange Data
SD: Secure Digital
SDC: Secure Digital Controller
TXD: Transmit eXchange Data
UART: Universal Asynchronous Receiver-Transmitter
UCHAR: Unsigned Character
UINT: Unsigned Integer
Standard Microsystems is a registered trademark and SMSC is a trademark of Standard Microsystems Corporation. Other product and company names
are trademarks or registered trademarks of their respective holders.
*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 re present 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 infringe ment 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.
1.I2C is a registered trademark of Philips Corporation.
Revision 1.0 (06-01-09)10SMSC USB4640/USB4640i
DATASHEET
Page 11
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
SD/
SDIO
MMC/
MS
xD*
Flash Media Cards
(require Combo socket)
BUS
INTFC
PROC
AUTO_CBW
CTL
FMDU
BUS
FMI
INTFC
24 MHz
1.8 V
HSIC
1.2 V
MAP
ADDR
SFR
RAM
Serial
Interface
6 K
64 K
RAM
ROM
Controller
EP0 TX
EP0 RX
3 K
RAM
total
EP2 RX
EP2 RX
EP2 TX
BUS
SIE
BRIDGE
INTFC
CTL
support, please obtain a user
TM
license from the xD-Picture Card License office.
*For xD-Picture Card
Port Controller
Crystal
3.3 V
Data & Strobe
PLL
OC Sense/
Serial
Engine
Interface
Translator
Transaction
1.8 V Reg
HSIC
Repeater
HSIC
Impedance
VDDCR
1.8 V Reg
Routing & Port Re-Ordering Logic
OC
Driver
Sense
Switch
Port #2
PHY
OC
Driver
Sense
Switch
Port #3
PHY
Pwr Switch
USB Data
Downstream
OC Sense/
Pwr Switch
USB Data
Downstream
3.3 V
Figure 4.1 USB4640/USB4640i Block Diagram
Revision 1.0 (06-01-09)12SMSC USB4640/USB4640i
DATASHEET
Page 13
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Chapter 5 Pin Table
5.1 48-Pin Table
Table 5.1 USB4640/USB4640i 48-Pin Table
UPSTREAM HSIC INTERFACE (3 PINS)
HSIC_IMPHSIC_DATHSIC_STROBE
DOWNSTREAM USB INTERFACE (3 PINS)
XTAL1 (CLKIN)
USBDN_DP2
USBDN_DP3
SD_D7 /
MS_D6 /
xD_D1
SD_D3 /
MS_D3 /
xD_D6
SD_CLK /
MS_BS /
xD_nWP
XTAL2
DOWNSTREAM 2-PORT USB INTERFACE (6 PINS)
USBDN_DM2PRTCTL2PRTCTL3
USBDN_DM3
SECURE DIGITAL / MEMORY STICK / xD INTERFACE (18 PINS)
SD_D6 /
MS_D7 /
xD_D0
SD_D2 /
xD_D5
SD_CMD /
MS_D0 /
xD_CLE
RBIAS
SD_D5 /
MS_D1 /
xD_ALE
SD_D1 /
MS_D5 /
xD_D3
GPIO15 /
SD_nCD
SD_D4 /
MS_D2 /
xD_D7
SD_D0 /
MS_D4 /
xD_D2
GPIO12 /
MS_INS
GPIO6 /
SD_WP /
MS_SCLK /
xD_D4
xD_nRExD_nCE
SPI_CE_n
SMSC USB4640/USB4640i13Revision 1.0 (06-01-09)
GPIO14 /
xD_nCD
SPI INTERFACE (4 PINS)
SPI_CLK /
GPIO4 /
SCL
DATASHEET
xD_nWExD_nB/R
SPI_DO /
GPIO5 /
SDA /
SPI_SPD_SEL
SPI_DI
Page 14
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Table 5.1 USB4640/USB4640i 48-Pin Table
MISC (5 PINS)
Datasheet
GPIO1 /
nRESETTEST
LED /
TXD
GPIO10 (CRD_PWR)
POWER (9 PINS)
(6) VDD33VDD12CRFILTPLLFILT
TOTAL 48
GPIO2 /
RXD
Revision 1.0 (06-01-09)14SMSC USB4640/USB4640i
DATASHEET
Page 15
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Chapter 6 Pin Descriptions
This section provides a detailed description of each signal. The signals are arranged in functional
groups according to their associated interface. The pin descriptions below are applied when using the
internal default firmware and can be referenced in Chapter 8, "Configuration Options," on page 28.
Please reference Chapter 2, "Acronyms," on page 10 for a list of the acronyms used.
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 in the signal name, the signal is asserted at a 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.
6.1 USB4640/USB4640i Pin Descriptions
Table 6.1 USB4640/USB4640i Pin Descriptions
48-PIN
SYMBOL
HSIC_IMP39IHSIC Impedance Control
HSIC_DAT42I/OHSIC Data
HSIC_STROBE43I/OHSIC Strobe
USBDN_DM
[3:2]
USBDN_DP
[3:2]
QFN
3
1
4
2
BUFFER
TYPE
(Ta bl e 6 .2 )DESCRIPTION
UPSTREAM HSIC INTERFACE
This pin selects the driver impedance of the HSIC_DAT and
HSIC_STROBE pins.
‘1’ = approximately 50
‘0’ = approximately 40 Ω impedance
This is the bi-directional double data rate (DDR) data signal that is
synchronous to the HSIC_STROBE signal as defined in the HighSpeed Inter-Chip USB Specification, Version 1.0.
This pin is the bi-directional data strobe signal that is defined in the
High-Speed Inter-Chip USB Specification, Version 1.0.
DOWNSTREAM USB INTERFACE
I/O-UUSB Bus Data
These pins connect to the downstream USB bus data signals and
can be swapped using the PortSwap feature (See Section 8.4.4.20,
"F1h: Port Swap," on page 47).
Ω impedance
SMSC USB4640/USB4640i15Revision 1.0 (06-01-09)
DATASHEET
Page 16
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
As an output, these pins enable power to downstream USB
peripheral devices and have weak internal pull-up resistors. See
Section 6.3, "Port Power Control" for diagram and usage instructions.
As an input, when the power is enabled, these pins monitor the overcurrent condition. When an over-current condition is detected, the
pins turn the power off.
RBIAS47I-RUSB Transceiver Bias
A 12.0 k
Ω, ±1.0% resistor is attached from VSS to this pin in order
to set the transceiver's internal bias currents.
XTAL1 (CLKIN)45ICLKx24 MHz Crystal Input or External Clock Input
This pin can be connected to one terminal of the crystal or it can be
connected to an external 24 MHz clock when a crystal is not used.
XTAL244OCLKx24 MHz Crystal Output
This is the other terminal of the crystal or it is left open when an
external clock source is used to drive XTAL1(CLKIN).
SECURE DIGITAL INTERFACE
SD_D[7:0]19
I/O8PUSecure Digital Data 7-0
20
23
30
These are the bi-directional data signals SD_D0 - SD_D7 with weak
pull-up resistors.
32
33
17
18
SD_CLK21O8Secure Digital Clock
This is an output clock signal to the SD/MMC device.
SD_CMD24I/O8PUSecure Digital Command
This is a bi-directional signal that connects to the CMD signal of the
SD/MMC device. The bi-directional signal has a weak internal pull-
up resistor.
GPIO15 /
14I/O6This general purpose pin may be used either as input, edge sensitive
interrupt input, or output. Custom firmware is required to activate this
function.
SD_nCD
I/O8PUSecure Digital Card Detect GPIO
This is a GPIO designated by the default firmware as the Secure
Digital card detection pin and has an internal pull-up.
Revision 1.0 (06-01-09)16SMSC USB4640/USB4640i
DATASHEET
Page 17
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
13I/O6This general purpose pin may be used either as input, edge sensitive
BUFFER
TYPE
(Ta bl e 6 .2 )DESCRIPTION
interrupt input, or output. Custom firmware is required to activate this
function.
SD_WP
I/O8Secure Digital Write Protected GPIO
This is a GPIO designated by the default firmware as the Secure
Digital card interface mechanical write protect detect pin.
MEMORY STICK INTERFACE
MS_BS21O8Memory Stick Bus State
This pin is connected to the bus state pin of the MS device. It is used
to control the Bus States 0, 1, 2, and 3 (BS0, BS1, and BS3) of the
MS device.
GPIO12 /
31I/O8This general purpose pin may be used either as input, edge sensitive
interrupt input, or output. Custom firmware is required to activate this
function.
MS_INS
IPUMemory Stick Card Insertion GPIO
This is a GPIO designated by the default software as the Memory
Stick card detection pin and has a weak internal pull-up resistor.
MS_SCLK13O8Memory Stick System Clock
This pin is an output clock signal to the MS device.
MS_D[7:0]20
I/O8PDMemory Stick System Data In/Out
19
17
18
32
30
These pins are the bi-directional data signals for the MS device. In
serial mode, the most significant bit (MSB) of each byte is
transmitted first by either the memory stick controller MSC or the MS
device on MS_D0.
23
24
MS_D0, MS_D2, and MS_D3 have weak pull-down resistors. MS_D1
has a pull-down resistor if it is in parallel mode. Otherwise, it is
disabled. In 4- or 8-bit parallel modes, all MS_D7 - MS_D0 signals
have weak pull-down resistors.
xD-PICTURE CARD INTERFACE
xD_D[7:0]30
I/O8PDxD-Picture Card Data 7-0
32
33
13
These pins are the bi-directional data signals xD_D7 - xD_D0 and
have weak internal pull-down resistors.
17
18
19
20
xD_ALE23O8PDxD-Picture Card Address Strobe
This pin is an active high Address Latch Enable (ALE) signal for the
xD-Picture Card device. This pin has a weak pull-down resistor that
is permanently enabled.
SMSC USB4640/USB4640i17Revision 1.0 (06-01-09)
DATASHEET
Page 18
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
This pin requires a 1.0 μF (or greater) ± 20% (ESR <0.1Ω) capacitor
to VSS.
VDD12411.2 V Power for HSIC pads and buffers
VDD335
3.3 V Power and Regulator Input
12
16
25
Please see Chapter 10, "DC Parameters," on page 56 for more
information.
34
48
Pins 16 and 48 each require an external bypass capacitor of 4.7 μF
minimum.
VSSePadThe ground pad is the only VSS for the device and must be tied to
ground with multiple vias.
Revision 1.0 (06-01-09)20SMSC USB4640/USB4640i
DATASHEET
Page 21
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
6.2 Buffer Type Descriptions
Table 6.2 USB4640/USB4640i Buffer Type Descriptions
BUFFERDESCRIPTION
IInput.
I/OInput/output.
IPUInput with weak internal pull-up.
ISInput with Schmitt trigger.
I/O6Input/output buffer with 6 mA sink and 6 mA source.
I/OD6PUInput/open drain output buffer with a 6 mA sink.
O8Output buffer with an 8 mA sink and an 8 mA source.
O8PDOutput buffer with an 8 mA sink and an 8 mA source with a weak internal pull-down resistor.
O8PUOutput buffer with an 8 mA sink and an 8 mA source with a weak internal pull-up resistor.
I/O8Input/output buffer with an 8 mA sink and an 8 mA source.
I/O8PDInput/output buffer with an 8 mA sink and an 8 mA source with a weak internal pull-down resistor.
I/O8PUInput/output buffer with an 8 mA sink and an 8 mA source with a weak internal pull-up resistor.
O12Output buffer with a 12 mA sink and a 12 mA source.
I/O12Input/output buffer with 12 mA sink and 12 mA source.
I/O12PDInput/output buffer with 12 mA sink and 12 mA source with a weak internal pull-down resistor.
I/O200Input/output buffer 12 mA with FET disabled, 100/200 mA source only when the FET is enabled.
ICLKxXTAL clock input.
OCLKxXTAL clock output.
I/O-UAnalog input/output as defined in the USB 2.0 Specification.
I-RRBIAS.
SMSC USB4640/USB4640i21Revision 1.0 (06-01-09)
DATASHEET
Page 22
6.3 Port Power Control
Port Power control using a USB Power Switch
The USB4640/USB4640i has a single port power control and over-current sense signal for each
downstream port. When disabling port power, the driver will actively drive a '0'. To avoid unnecessary
power dissipation, the internal pull-up resistor will be disabled at that time. When port power is enabled,
the output driver is disabled, and the pull-up resistor is enabled creating an open drain output.
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.
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
5 V
PRTCTL3
USB4640/40i
PRTCTL2
OCS
USB Power
Switch
EN
USB
Device
5 V
OCS
USB Power
Switch
EN
USB
Device
Figure 6.1 Port Power Control with USB Power Switch
Revision 1.0 (06-01-09)22SMSC USB4640/USB4640i
DATASHEET
Page 23
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Port Power control using a Poly Fuse
When using the USB4640/USB4640i with a poly fuse, an external diode must be used (See
Figure 6.2). When disabling port power, the USB4640/USB4640i will drive a '0'. This procedure will
have no effect since the external diode will isolate the pin from the load. When port power is enabled,
the USB4640/USB4640i output driver is disabled, and the pull-up resistor is enabled which creates an
open drain output. This open drain output condition means that the pull-up resistor is providing 3.3
volts to the anode of the diode. If there is an over-current situation, the poly fuse will open. This will
cause the cathode of the diode to go to zero volts. The anode of the diode will be at 0.7 volts, and
the Schmitt trigger input will register this as a low resulting in an over-current detection. The open drain
output does not interfere.
PRTCTL3
5 V
USB
Device
USB4640/40i
PRTCTL2
5V
USB
Device
Figure 6.2 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.
5 V
PRTCTL3
Poly Fuse
USB4640/40i
PRTCTL2
USB
Device
USB
Device
Figure 6.3 Port Power with Ganged Control with Poly Fuse
SMSC USB4640/USB4640i23Revision 1.0 (06-01-09)
DATASHEET
Page 24
6.4 ROM BOOT Sequence
After power-on reset, the internal firmware checks for an external SPI flash device that contains a valid
signature of "2DFU" (device firmware upgrade) beginning at address 0xFFFA. If a valid signature is
found, then the external ROM is enabled and code execution begins at address 0x0000 in the external
SPI device. Otherwise, code execution continues from the internal ROM.
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 17Ch17Fh in the I
internally. Please refer to Section 8.3.2, "EEPROM Data Descriptor," on page 29 for the details of the
configuration options.
The SPI ROM required for the USB4640/USB4640i is a recommended minimum of 1 Mbit 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.
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 pulldown will be disabled.
The firmware can determine the speed of operation on the SPI port by checking the SPI_SPEED in
the SPI_CTL register (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.
2
C ROM. The firmware reads in the I2C ROM to configure the hardware and software
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
USB4640/40i
Figure 6.4 SPI ROM Connection
USB4640/40i
SPI_CE_n
SPI_CLK / GPIO4 / SCL
SPI_DO / GPIO5 / SDA / SPI_SPD_SEL
SPI_DI
3. 3 V
10 K
3. 3 V
10 K
CE#
CLK
SPI ROM
DO
DI
SCL
I2C ROM
SDA
2
Figure 6.5 I
Revision 1.0 (06-01-09)24SMSC USB4640/USB4640i
C Connection
DATASHEET
Page 25
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Chapter 7 Pin Reset States
Voltage
Signal
(v)
V
DD33
V
SS
Hardware
Initialization
RESET
Firmware
Operational
Figure 7.1 Pin Reset States
Table 7.1 Legend for Pin Reset States Table
SYMBOL DESCRIPTION
0Output driven low
1Output driven high
IPInput enabled
PUHardware enables pull-up
PDHardware enables pull-down
RESET
Time
(t)
noneHardware disables pad
--Hardware disables function
ZHardware disables pad. Both output
driver and input buffers are disabled.
7.1 Pin Reset States
Table 7.2 USB4640/USB4640i Reset States Table
RESET STATE
PINPIN NAMEFUNCTION
1USBDN_DM2USBDN_DM2IPPD
2USBDN_DP2USBDN_DP2IPPD
3USBDN_DM3USBDN_DM3IPPD
4USBDN_DP3USBDN_DP3IPPD
6PRTCTL2PRTCTL0--
7PRTCTL3PRTCTL0--
INPUT/
OUTPUT
PU/
PD
SMSC USB4640/USB4640i25Revision 1.0 (06-01-09)
DATASHEET
Page 26
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Table 7.2 USB4640/USB4640i Reset States Table (continued)
RESET STATE
Datasheet
PINPIN NAMEFUNCTION
8SPI_CE_nSPI_CE_n1--
9SPI_CLK / GPIO4 / SCLGPIO0--
10SPI_DO / GPIO5 / SDA / SPI_SPD_SELGPIO0--
11SPI_DISPI_DIIPPD
13GPIO6 / SD_WP / MS_SCLK / xD_D4GPIO0--
14GPIO15 / SD_nCDGPIO
17SD_D1 / MS_D5 / xD_D3noneZ--
18SD_D0 / MS_D4 / xD_D2noneZ--
19SD_D7 / MS_D6 / xD_D1none
20SD_D6 / MS_D7 / xD_D0noneZ--
21SD_CLK / MS_BS / xD_nWPnoneZ--
22xD_nWExD_nWEZ--
23SD_D5 / MS_D1 / xD_ALEnoneZ--
INPUT/
OUTPUT
IP
Z
PU/
PD
PU
--
24SD_CMD / MS_D0 / xD_CLEnoneZ--
26xD_nCExD_nCEZ--
27xD_nRExD_nREZ--
28xD_nB/RxD_nB/RZ--
29GPIO14 / xD_nCDGPIO
30SD_D4 / MS_D2 / xD_D7noneZ--
31GPIO12 / MS_INSGPIOIP
32SD_D3 / MS_D3 / xD_D6none
33SD_D2 / xD_D5noneZ--
35GPIO10 (CRD_PWR)GPIOZ
36GPIO2 / RXDGPIO
37GPIO1 / LED / TXDGPIO
38nRESETnRESET
39HSIC_IMPHSIC_IMP
IP
Z
0--
0--
IP--
Z--
PU
PU
--
--
40TESTTEST
IPPD
Revision 1.0 (06-01-09)26SMSC USB4640/USB4640i
DATASHEET
Page 27
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Table 7.2 USB4640/USB4640i Reset States Table (continued)
RESET STATE
PINPIN NAMEFUNCTION
42HSIC_DATHSIC_DAT
43HSIC_STROBEHSIC_STROBE
INPUT/
OUTPUT
IP--
IP--
PU/
PD
SMSC USB4640/USB4640i27Revision 1.0 (06-01-09)
DATASHEET
Page 28
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Chapter 8 Configuration Options
8.1 Hub
SMSC’s USB 2.0 hub is fully compliant to the Universal Serial Bus Specification available from the
USB Implementer’s Forum found at http://www.usb.org (Revision 2.0 April 27, 2000 and the 12/7/2000
and 5/28/2002 Errata). Please reference Chapter 11 (Hub Specification) for general details regarding
hub operation and functionality.
For performance reasons, 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.
8.1.1Hub 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 two principal
ways to configure the hub:
via the internal default settings or
by settings stored in an external EEPROM or SPI Flash device.
Datasheet
8.1.1.1Power Switching Polarity
The hub will only support active high power controllers.
8.2 Card Reader
The SMSC USB4640/USB4640i is fully compliant with the following flash media card reader
specifications:
Secure Digital 2.0 / MultiMediaCard 4.2
-SD 2.0, HS-SD, HC-SD
-TransFlash™ and reduced form factor media
-1/4/8 bit MMC 4.2
Memory Stick 1.43
Memory Stick Pro Format 1.02
Memory Stick Pro-HG Duo Format 1.01
-Memory Stick, MS Duo, HS-MS, MS Pro-HG, MS Pro
Memory Stick Duo 1.10
xD-Picture Card 1.2
8.3 System Configurations
8.3.1EEPROM/SPI Interface
The USB4640/USB4640i can be configured via a 2-wire (I2C) EEPROM (512x8) or an external SPI
flash device containing the firmware for the USB4640/USB4640i. If an external configuration device
does not exist the internal default values will be used. If one of the external devices is used for
configuration, the OEM can update the values through the USB interface. The hub will then “attach”
to the upstream USB host.
Revision 1.0 (06-01-09)28SMSC USB4640/USB4640i
DATASHEET
Page 29
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
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, please visit:
to go to the OBJ Hub Card Reader Software Download Agreement. Review the license, and if you
agree, check the "I agree" box and then select “Confirm”. You will then be able to download USB264x
Hub Card reader combo release package zip file containing the USBDM tool set.
Please note that the following applies to the system values and descriptions when used:
N/A = Not applicable to this part
Reserved = For internal use
8.3.2EEPROM Data Descriptor
Table 8.1 Internal Flash Media Controller Configurations
ADDRESSREGISTER NAME DESCRIPTIONINTERNAL DEFAULT VALUE
Note 8.1This value is a UNICODE UTF-16LE encoded string value that meets the USB 2.0
Note 8.2A value of “SM” will be overridden with “xD” once an xD-Picture Card has been identified.
Note 8.3For a list of the most current 16-bit language ID’s defined by the USB-IF, please visit
DYN_NUM_
EXT_LUN
specification (Revision 2.0, 2000). Values in double quotations without this note are ASCII
values.
http://www.unicode.org or consult
(Version 4.0), The Unicode Consortium, Addison-Wesley Publishing Company, Reading,
Massachusetts.
Dynamic Number of Extended
LUNs
The Unicode Standard, Worldwide Character Encoding,
01h
8.4.1EEPROM Data Descriptor Register Descriptions
8.4.1.100h: USB Serial String Descriptor Length
BYTE NAMEDESCRIPTION
0USB_SER_LENUSB serial string descriptor length as defined by Section 9.6.7 “String” of the
USB 2.0 Specification (Revision 2.0, 2000). This field is the “bLength” which
describes the size of the string descriptor (in bytes).
8.4.1.201h: USB Serial String Descriptor Type
BYTE NAMEDESCRIPTION
1USB_SER_TYPUSB serial string descriptor type as defined by Section 9.6.7 “String” of the
Revision 1.0 (06-01-09)32SMSC USB4640/USB4640i
USB 2.0 Specification (Revision 2.0, 2000). This field is the
“bDescriptorType” which is a constant value associated with a string
descriptor type.
DATASHEET
Page 33
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
8.4.1.302h-19h: USB Serial Number Option
BYTE NAMEDESCRIPTION
25:2USB_SER_NUMMaximum string length is 12 hex digits. Must be unique to each device.
8.4.1.41Ah-1Bh: USB Vendor ID Option
BYTE NAMEDESCRIPTION
1:0USB_VIDThis ID is unique for every vendor. The vendor ID is assigned by the USB
Implementer’s Forum.
8.4.1.51Ch-1Dh: USB Product ID Option
BYTE NAMEDESCRIPTION
1:0USB_PIDThis ID is unique for every product. The product ID is assigned by the vendor.
8.4.1.61Eh: USB Language Identifier Descriptor Length
BYTENAMEDESCRIPTION
0USB_LANG_LENUSB language ID string descriptor length as defined by Section 9.6.7 “String”
of the USB 2.0 Specification (Revision 2.0, 2000). This field is the “bLength”
which describes the size of the string descriptor (in bytes).
8.4.1.71Fh: USB Language Identifier Descriptor Type
BYTENAMEDESCRIPTION
1USB_LANG_TYPUSB language ID string descriptor type as defined by Section 9.6.7 “String”
of the USB 2.0 Specification (Revision 2.0, 2000). This field is the
“bDescriptorType” which is a constant value associated with a string
descriptor type.
8.4.1.820h: USB Language Identifier Least Significant Byte
BYTENAMEDESCRIPTION
2USB_LANG_ID
_LSB
English language code = ‘0409’. See Note 8.3 to reference additional
language ID’s defined by the USB-IF.
8.4.1.921h: USB Language Identifier Most Significant Byte
BYTENAMEDESCRIPTION
3USB_LANG_ID
_MSB
SMSC USB4640/USB4640i33Revision 1.0 (06-01-09)
English language code = ‘0409’. See Note 8.3 to reference additional
language ID’s defined by the USB-IF.
DATASHEET
Page 34
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
8.4.1.1022h: USB Manufacturer String Descriptor Length
BYTENAMEDESCRIPTION
Datasheet
0USB_MFR_STR
_LEN
USB manufacturer string descriptor length as defined by Section 9.6.7 “String”
of the USB 2.0 Specification (Revision 2.0, 2000). This field is the “bLength”
which describes the size of the string descriptor (in bytes).
8.4.1.1123h: USB Manufacturer String Descriptor Type
BYTENAMEDESCRIPTION
1USB_MFR_STR
_TYP
USB manufacturer string descriptor type as defined by Section 9.6.7 “String”
of the USB 2.0 Specification (Revision 2.0, 2000). This field is the
“bDescriptorType” which is a constant value associated with a string
descriptor type.
8.4.1.1224h-31h: USB Manufacturer String Option
BYTENAMEDESCRIPTION
15:2USB_MFR_STR The maximum string length is 28 characters.
8.4.1.1332h-5Dh: Reserved
BYTENAMEDESCRIPTION
59:16ReservedReserved.
8.4.1.145Eh: USB Product String Descriptor Length
BYTENAMEDESCRIPTION
0USB_PRD_STR
_LEN
USB product string descriptor length as defined by Section 9.6.7 “String” of
the USB 2.0 Specification (Revision 2.0, 2000). This field is the “bLength”
which describes the size of the string descriptor (in bytes).
8.4.1.155Fh: USB Product String Descriptor Type
BYTENAMEDESCRIPTION
1USB_PRD_STR
_TYP
USB product string descriptor type as defined by Section 9.6.7 “String” of the
USB 2.0 Specification (Revision 2.0, 2000). This field is the
“bDescriptorType” which is a constant value associated with a string
descriptor type.
8.4.1.1660h-99h: USB Product String Option
BYTENAMEDESCRIPTION
59:2USB_PRD_STR This string will be used during the USB enumeration process in the
Windows
®
operating system. Maximum string length is 28 characters.
Revision 1.0 (06-01-09)34SMSC USB4640/USB4640i
DATASHEET
Page 35
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
8.4.1.179Ah: USB BmAttribute (1 byte)
BIT NAMEDESCRIPTION
7:0USB_BM_ATTSelf- 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 SMSC hub consumes less
than 100 mA 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 100 mA per externally available
downstream port) must consume no more than 500 mA of current. The
current consumption is system dependent, and the OEM must ensure that
the USB 2.0 Specification is not violated.
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 = Bus-powered operation (default)
C0 = Self-powered operation
A0 = Bus-powered operation with remote wake-up
E0 = Self-powered operation with remote wake-up
8.4.1.189Bh: USB MaxPower (1 byte)
BITNAMEDESCRIPTION
7:0USB_MAX_PWRUSB Max Power per the USB 2.0 Specification. Do NOT set this value
greater than 100 mA.
SMSC USB4640/USB4640i35Revision 1.0 (06-01-09)
DATASHEET
Page 36
8.4.1.199Ch-9Fh: Attribute Byte Descriptions
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
BYTE
NAMEBIT DESCRIPTION
0ATT_LB3:0Always reads ‘0’.
4Inquire Manufacturer and Product ID Strings
‘1’ - Use the Inquiry Manufacturer and Product ID Strings.
‘0’ (default) - Use the USB Descriptor Manufacturer and Product ID Strings.
5Always reads ‘0’.
6Reverse SD Card Write Protect Sense
‘1’ (default) - SD cards will be write protected when SW_nWP is high, and
writable when SW_nWP is low.
‘0’ - SD cards will be write protected when SW_nWP is low, and writable
when SW_nWP is high.
7Extended Configuration Enable
'1' - This bit must be set to '1' to enable editing, updating, and reading from
registers 100h-17Fh.
'0' - The internal configuration is loaded. When this bit is not set (and it
equals '0'). It will not read from registers 100h-17Fh.
1ATT_HLB3:0Always reads ‘0’.
4Activity LED True Polarity
BYTE
‘1’ - Activity LED to Low True.
‘0’ (default) - Activity LED polarity to High True.
5Common Media Insert / Media Activity LED
‘1’ - The activity LED will function as a common media inserted/media
access LED.
‘0’ (default) - The activity LED will remain in its idle state until media is
accessed.
6Always reads ‘0’.
7Reverse SD2 Card Write Protect Sense
‘1’ (default) - SD cards in LUN 1 will be write protected when SW_nWP is
high, and writable when SW_nWP is low.
‘0’ - SD cards in LUN 1 will be write protected when SW_nWP is low, and
writable when SW_nWP is high.
Revision 1.0 (06-01-09)36SMSC USB4640/USB4640i
DATASHEET
Page 37
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
BYTE
BYTE
2ATT_LHB0Attach on Card Insert / Detach on Card Removal
3ATT_HB6:0Always reads ‘0’.
NAMEBIT DESCRIPTION
‘1’ - Attach on Insert is enabled.
‘0’ (default) - Attach on Insert is disabled.
1Always reads ‘0’.
2Enable Device Power Configuration
‘1’ - Custom Device Power Configuration stored in the NVSTORE is used.
‘0’ (default) - Default Device Power Configuration is used.
7:3Always reads ‘0’.
7xD Player Mode
8.4.2A0h-A7h: Device Power Configuration
The USB4640/USB4640i has one internal FET which can be utilized for card power. This section
describes the default internal configuration. The settings are stored in NVSTORE and provide the
following features:
1. A card can be powered by an external FET or by an internal FET.
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 8.4.1.19, "9Ch-9Fh: Attribute Byte Descriptions," on
page 36.
8.4.2.1A0h-A1h: Memory Stick Device Power Configuration
FETTYPEBITSBIT TYPEDESCRIPTION
0FET Lo Byte
MS_PWR_LB
17:4High Nibble
2FET Hi Byte
MS_PWR_HB
37:4High Nibble0000b Disabled
3:0Low Nibble0000b Disabled
3:0Low Nibble0000b Disabled
0001b External FET enabled
1000b Internal FET with 100 mA power limit
1010b Internal FET with 200 mA power limit
8.4.2.2A2h-A3h: Not Applicable
BYTENAMEDESCRIPTION
1:0Not ApplicableNot applicable.
SMSC USB4640/USB4640i37Revision 1.0 (06-01-09)
DATASHEET
Page 38
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
8.4.2.3A4h-A5h: Smart Media Device Power Configuration
FETTYPEBITSBIT TYPEDESCRIPTION
Datasheet
0FET Lo Byte
SM_PWR_LB
17:4High Nibble
2FET Hi Byte
SM_PWR_HB
37:4High Nibble0000b Disabled
3:0Low Nibble0000b Disabled
3:0Low Nibble0000b Disabled
0001b External FET enabled
1000b Internal FET with 100 mA power limit
1010b Internal FET with 200 mA power limit
8.4.2.4A6h-A7h: Secure Digital Device Power Configuration
FETTYPEBITSBIT TYPEDESCRIPTION
0FET Lo Byte
SD_PWR_LB
17:4High Nibble
2FET Hi Byte
SD_PWR_HB
37:4High Nibble0000b Disabled
3:0Low Nibble0000b Disabled
3:0Low Nibble0000b Disabled
0001b External FET enabled
1000b Internal FET with 100 mA power limit
1010b Internal FET with 200 mA power limit
8.4.2.5A8h: LED Blink Interval
BYTENAMEDESCRIPTION
0LED_BLK_INTThe 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.
8.4.2.6A9h: LED Blink Duration
BYTENAMEDESCRIPTION
1LED_BLK_DURLED Blink After Access. This byte is used to designate 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.
Revision 1.0 (06-01-09)38SMSC USB4640/USB4640i
DATASHEET
Page 39
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
8.4.3Device ID Strings
These bytes are used to specify the LUN descriptor returned by the device. These bytes are used in
combination with the device to LUN mapping bytes in applications where the OEM wishes to reorder
and rename the LUNs. If multiple devices are mapped to the same LUN (a COMBO LUN), then the
CLUN#_ID_STR will be used to name the COMBO LUN instead of the individual device strings. When
applicable, the "SM" value will be overridden with xD once an xD-Picture Card has been identified.
8.4.3.1AAh-B0h: Device 0 Identifier String
BYTE NAMEDESCRIPTION
6:0DEV0_ID_STRNot applicable.
8.4.3.2B1h-B7h: Device 1 Identifier String
BYTE NAMEDESCRIPTION
6:0DEV1_ID_STRThis ID string is associated with the Memory Stick device.
8.4.3.3B8h-BEh: Device 2 Identifier String
BYTE NAMEDESCRIPTION
6:0DEV2_ID_STRThis ID string is associated with the Smart Media (Note 8.2) device.
8.4.3.4BFh-C5h: Device 3 Identifier String
BYTE NAMEDESCRIPTION
6:0DEV3_ID_STRThis ID string is associated with the Secure Digital / MultiMediaCard device.
8.4.3.5C6h-CDh: Inquiry Vendor String
BYTE NAMEDESCRIPTION
7:0INQ_VEN_STRIf bit 4 of the 1st 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.
8.4.3.6CEh-D2h: Inquiry Product String
BYTE NAMEDESCRIPTION
4:0INQ_PRD_STRIf bit 4 of the 1st 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.
SMSC USB4640/USB4640i39Revision 1.0 (06-01-09)
DATASHEET
Page 40
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
8.4.3.7D3h: Dynamic Number of LUNs
BIT NAMEDESCRIPTION
Datasheet
7:0DYN_NUM_LUNThese 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 and the OEM wishes to have 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.
8.4.3.8D4h-D7h: Device to LUN Mapping
BYTENAMEDESCRIPTION
3:0DEV_LUN_MAPThese registers map a device controller (SD/MMC, SM (Note 8.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 OEM board layout.
The number of unique LUNs mapped must match the value in the Section
8.4.3.7, "D3h: Dynamic Number of LUNs," on page 40.
8.4.3.9D8h-DDh: Reserved
BYTE NAMEDESCRIPTION
2:0ReservedReserved.
8.4.4Hub Controller Configurations
8.4.4.1DEh: Vendor ID (LSB)
BIT BYTE NAMEDESCRIPTION
7:0VID_LSBLeast Significant Byte of the Vendor ID. This is a 16-bit value that uniquely
8.4.4.2DFh: Vendor ID (MSB)
BIT BYTE NAMEDESCRIPTION
7:0VID_MSBMost Significant Byte of the Vendor ID. This is a 16-bit value that uniquely
identifies the vendor of the user device (assigned by USB Implementer’s
Forum).
identifies the vendor of the user device (assigned by USB Implementer’s
Forum).
Revision 1.0 (06-01-09)40SMSC USB4640/USB4640i
DATASHEET
Page 41
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
8.4.4.3E0h: Product ID (LSB)
BIT NAMEDESCRIPTION
7:0PID_LSBLeast Significant Byte of the Product ID. This is a 16-bit value that the vendor
can assign that uniquely identifies this particular product.
8.4.4.4E1h: Product ID (MSB)
BIT NAMEDESCRIPTION
7:0PID_MSBMost Significant Byte of the Product ID. This is a 16-bit value that the vendor
can assign that uniquely identifies this particular product.
8.4.4.5E2h: Device ID (LSB)
BITNAMEDESCRIPTION
7:0DID_LSBLeast Significant Byte of the Device ID. This is a 16-bit device release
number in BCD (binary coded decimal) format.
8.4.4.6E3h: Device ID (MSB)
BIT NAMEDESCRIPTION
7:0DID_MSBMost Significant Byte of the Device ID. This is a 16-bit device release
number in BCD format.
8.4.4.7E4h: Configuration Data Byte 1 (CFG_DAT_BYT1)
BITNAMEDESCRIPTION
7SELF_BUS_PWRSelf- 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 SMSC hub consumes less
than 100 mA 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 100 mA per externally available
downstream port) must consume no more than 500 mA of 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, <1 mA of current is consumed
and all ports are available, with each port being capable of sourcing 500 mA
of current.
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
BITNAMEDESCRIPTION
4:3ReservedReserved
Datasheet
2:1CURRENT_SNSOver-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 per port or ganged basis is dependent upon the
hardware implementation.
‘00’ = Ganged sensing (all ports together)
‘01’ = Individual (port-by-port)
‘1x’ = Over-current sensing not supported (must only be used with buspowered configurations!)
0PORT_PWRPort 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 dependent upon the hardware implementation.
3COMPOUNDCompound 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”.
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, the hub is part of a compound device
2:0ReservedReserved
8.4.4.9E6h: Configuration Data Byte 3 (CFG_DAT_BYT3)
BITNAMEDESCRIPTION
7:4ReservedReserved
Revision 1.0 (06-01-09)42SMSC USB4640/USB4640i
DATASHEET
Page 43
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
BITNAMEDESCRIPTION
3PRTMAP_ENPort 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:0ReservedReserved
8.4.4.10E7h: Non-Removable Device
BIT BYTE NAMEDESCRIPTION
7:0NR_DEVICEIndicates 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. 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 7= Reserved
Bit 6= Reserved
Bit 5= Reserved
Bit 4= Reserved
Bit 3= Controls physical port 3
Bit 2= Controls physical port 2
Bit 1= Controls physical port 1
Bit 0= Reserved
Note:Bit 1 must be set to a ‘1’ by the firmware for proper identification of
the card reader as a non-removable device.
SMSC USB4640/USB4640i43Revision 1.0 (06-01-09)
DATASHEET
Page 44
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
8.4.4.11E8h: Port Disable For Self-Powered Operation
BIT BYTE NAMEDESCRIPTION
7:0PORT_DIS_SPDisables 1 or more ports.
‘0’ = Port is available
‘1’ = Port is disabled
Datasheet
During self-powered operation
permanently disabled. The ports are unavailable to be enabled or
enumerated by a host controller. The ports can be disabled in any order
since 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 7= Reserved
Bit 6= Reserved
Bit 5= Reserved
Bit 4= Reserved
Bit 3= Controls physical port 3
Bit 2= Controls physical port 2
Bit 1= Controls physical port 1
Bit 0= Reserved
this register selects the ports which will be
8.4.4.12E9h: Port Disable For Bus-Powered Operation
BIT BYTE NAMEDESCRIPTION
7:0PORT_DIS_BPDisables 1 or more ports.
‘0’ = Port is available
‘1’ = Port is disabled
During self-powered operation
permanently disabled. The ports are unavailable 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.
, this register selects the ports which will be
When using the internal default option, the PRT_DIS[1:0] pins will disable the
appropriate ports.
Bit 7= Reserved
Bit 6= Reserved
Bit 5= Reserved
Bit 4= Reserved
Bit 3= Controls physical port 3
Bit 2= Controls physical port 2
Bit 1= Controls physical port 1
Bit 0 is Reserved
8.4.4.13EAh: Max Power For Self-Powered Operation
BIT BYTE NAMEDESCRIPTION
7:0MAX_PWR_SPValue in 2 mA increments that the hub consumes when operating as a self-
Revision 1.0 (06-01-09)44SMSC USB4640/USB4640i
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:The USB 2.0 Specification does not permit this value to exceed 100
mA.
DATASHEET
Page 45
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
8.4.4.14EBh: Max Power For Bus-Powered Operation
BIT BYTE NAMEDESCRIPTION
7:0MAX_PWR_BPValue 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.
8.4.4.15ECh: Hub Controller Max Current For Self-Powered Operation
BIT BYTE NAMEDESCRIPTION
7:0HC_MAX_C_SPValue 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:The USB 2.0 Specification does not permit this value to exceed 100
mA.
A value of 50 (decimal) indicates 100 mA, which is the default value.
8.4.4.16EDh: Hub Controller Max Current For Bus-Powered Operation
BIT BYTE NAMEDESCRIPTION
7:0HC_MAX_C_BPValue 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.
8.4.4.17EEh: Power-On Time
BIT BYTE NAMEDESCRIPTION
7:0PWR_ON_TIMEThe length of time that it takes (in 2 ms intervals) from the time the host
SMSC USB4640/USB4640i45Revision 1.0 (06-01-09)
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
Page 46
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
8.4.4.18EFh: Boost_Up
BIT NAMEDESCRIPTION
7:2ReservedReserved
1:0BOOST_IOUTUSB electrical signaling drive strength boost bit for the upstream port ‘A’.
Note:“Boost” could result in non-USB Compliant parameters. OEM
should use a ‘00’ value unless specific implementation issues
require additional signal boosting to correct for degraded USB
signaling levels.
1:0ReservedAlways reads ‘0’.
Revision 1.0 (06-01-09)46SMSC USB4640/USB4640i
DATASHEET
Page 47
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
8.4.4.20F1h: Port Swap
BIT BYTE NAMEDESCRIPTION
7:0PRT_SWPSwaps 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= Reserved
Bit 6= Reserved
Bit 5= Reserved
Bit 4= Reserved
Bit 3= Controls physical port 3
Bit 2= Controls physical port 2
Bit 1= Reserved
Bit 0= Controls physical port 0
SMSC USB4640/USB4640i47Revision 1.0 (06-01-09)
DATASHEET
Page 48
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
8.4.4.21F2h: Port Map 12
BIT BYTE NAMEDESCRIPTION
7:0PRTM12PortMap 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 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.
Table 8.5 Port Map Register for Ports 1 & 2
Datasheet
Bit [7:4]‘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’Physical port 2 is mapped to Logical port 3
‘0100’
Illegal; Do not use
to
‘1111’
Bit [3:0]‘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’Physical port 1 is mapped to Logical port 3
‘0100’
Illegal; Do not use
to
‘1111’
Revision 1.0 (06-01-09)48SMSC USB4640/USB4640i
DATASHEET
Page 49
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
8.4.4.22F3h: Port Map 3
BIT BYTE NAMEDESCRIPTION
7:0PRTM3PortMap register for port 3.
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 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.
Table 8.6 Port Map Register for Port 3
Bit [7:4]‘0000’Reserved
‘0001’Reserved
‘0010’Reserved
‘0011’Reserved
‘0100’
to
‘1111’
Bit [3:0]‘0000’Physical port 3 is disabled
‘0001’Physical port 3 is mapped to Logical port 1
‘0010’Physical port 3 is mapped to Logical port 2
‘0011’Physical port 3 is mapped to Logical port 3
‘0100’
to
‘1111’
8.4.4.23F4h-F6h: Reserved
BYTEBYTE NAMEDESCRIPTION
Illegal; Do not use
Illegal; Do not use
6:0ReservedReserved.
SMSC USB4640/USB4640i49Revision 1.0 (06-01-09)
DATASHEET
Page 50
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
8.4.4.24F7h-FBh: Not Applicable
BIT BYTE NAMEDESCRIPTION
7:0Not ApplicableNot applicable.
8.4.4.25FCh-FFh: Non-Volatile Storage Signature
BYTE NAMEDESCRIPTION
Datasheet
3:0NVSTORE_SIGThis 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.
8.4.5Internal Flash Media Controller Extended Configurations
Enable Registers 100h - 17Fh by setting bit 7 of bmAttribute.
8.4.5.1100h-106h: Combo LUN 0 Identifier String
BYTE NAMEDESCRIPTION
6:0CLUN0_ID_STRIf the device to LUN mapping bytes have configured this LUN to be a combo
8.4.5.2107h-10Dh: Combo LUN 1 Identifier String
BYTE NAMEDESCRIPTION
6:0CLUN1_ID_STRIf the device to LUN bytes have configured this LUN to be a combo LUN,
LUN, then these strings will be used to identify the LUN rather than the
device identifier strings.
then these strings will be used to identify the LUN rather than the device
identifier strings.
8.4.5.310Eh-114h: Combo LUN 2 Identifier String
BYTE NAMEDESCRIPTION
6:0CLUN2_ID_STRIf 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.
8.4.5.4115h-11Bh: Combo LUN 3 Identifier String
BYTE NAMEDESCRIPTION
6:0CLUN3_ID_STRIf the device to LUN mapping bytes have configured this LUN to be a combo
Revision 1.0 (06-01-09)50SMSC USB4640/USB4640i
LUN, then these strings will be used to identify the LUN rather than the
device identifier strings.
DATASHEET
Page 51
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
8.4.5.511Ch-122h: Combo LUN 4 Identifier String
BYTENAMEDESCRIPTION
6:0CLUN4_ID_STRIf 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.
8.4.5.6123h-145h: Not Applicable
BYTE NAMEDESCRIPTION
34:0Not ApplicableNot applicable.
8.4.5.7146h: Dynamic Number of Extended LUNs
BITNAMEDESCRIPTION
7:0DYN_NUM_
EXT_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 and the OEM wishes to have 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.
8.4.5.8147h-14Bh: Device to LUN Mapping
BYTENAMEDESCRIPTION
4:0DEV_LUN_MAPThese registers map a device controller (SD/MMC, SM (Note 8.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 OEM board layout.
The number of unique LUNs mapped must match the value in the Section
8.4.3.7, "D3h: Dynamic Number of LUNs," on page 40.
8.4.5.914Ch-17Bh: Not Applicable
BIT NAMEDESCRIPTION
49:0Not ApplicableNot applicable.
8.4.5.1017Ch -17Fh: Non-Volatile Storage Signature for Extended Configuration
BYTENAMEDESCRIPTION
3:0NVSTORE_SIG2This signature is used to verify the validity of the data in the upper 256 bytes
if a 512 byte (4 kilobytes) EEPROM is used, otherwise this bank is a read-only
configuration area. The signature must be set to 'ecf1'.
SMSC USB4640/USB4640i51Revision 1.0 (06-01-09)
DATASHEET
Page 52
8.4.6I2C EEPROM
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
The I2C EEPROM interface implements a subset of the I2C Master Specification (Please refer to the
Philips Semiconductor Standard I
2
I
C EEPROM interface is designed to attach to a single “dedicated” I2C EEPROM, and it conforms to
the Standard-mode I
electrical compatibility.
Note: Extensions to the I
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.
2
C Specification (100 kbps transfer rate and 7-bit addressing) for protocol and
2
C-Bus Specification for details on I2C bus protocols). The device’s
2
C Specification are not supported. The device acts as the master and
8.4.6.1Implementation Characteristics
The device will only access an EEPROM using the sequential read protocol.
8.4.6.2Pull-Up Resistor
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 and EEPROM manufacturer guidelines) to VDD33 in order to assure proper operation.
8.4.7In-Circuit EEPROM Programming
The EEPROM can be programmed via automatic test equipment (ATE). Pulling nRESET low tri-states
the device’s EEPROM interface and allows an external source to program the EEPROM.
8.5 Default Configuration Option
The SMSC device can be configured via its internal default configuration. Please see Section 8.3.2,
"EEPROM Data Descriptor" for specific details on how to enable default configuration. Please refer to
Table 8.1 for the internal default values that are loaded when this option is selected.
8.6 Reset
There are three different resets that the device experiences. One is a hardware reset from the internal
power-on reset (POR) circuit, another reset is via the nRESET pin, and the third is a USB bus reset.
8.6.1Internal POR Hardware Reset
All reset timing parameters are guaranteed by design.
8.6.2External Hardware nRESET
A valid hardware reset is defined as assertion of nRESET for a minimum of 1 μs after all power
supplies are within operating range. While reset is asserted, the device (and its associated external
circuitry) consumes less than 500
Assertion of nRESET (external pin) causes the following:
1. All downstream ports are disabled and PRTCTL 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.
μA of current.
4. All internal registers return to the default state (in most cases, 00h).
5. The external crystal oscillator is halted.
Revision 1.0 (06-01-09)52SMSC USB4640/USB4640i
DATASHEET
Page 53
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
6. The PLL is halted.
8.6.2.1nRESET for EEPROM Configuration
Hardware
reset
asserted
Device
Recovery/
Stabilization
8051 Sets
Configuration
Registers
Attach
USB
Upstream
USB Reset
recovery
Idle
Start
completion
request
response
t4
t6t7
μsec
μsec
nRESET
VSS
t1
t2
t3
t5
Figure 8.1 nRESET Timing for EEPROM Mode
Table 8.7 nRESET Timing for EEPROM Mode
NAMEDESCRIPTIONMINTYPMAXUNITS
t1nRESET asserted1
t2Device recovery/stabilization500
t38051 programs device configuration2050msec
t4USB attach (See Note)100msec
t5Host acknowledges attach and signals USB reset100msec
t6USB idleUndefinedmsec
t7Completion time for requests (with or without data
5msec
stage)
Note: All power supplies must have reached the operating levels mandated in Chapter 10, DC
Parameters, prior to (or coincident with) the assertion of nRESET.
8.6.3USB Bus Reset
In response to the upstream port signaling a reset to the device, the device does the following:
Note: The device does not propagate the upstream USB reset to downstream devices.
1. Sets default address to ‘0’.
2. Sets configuration to: Unconfigured.
3. Negates PRTCTL[3:2] to all downstream ports.
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 device and the device’s downstream port devices in accordance with the
USB 2.0 Specification.
SMSC USB4640/USB4640i53Revision 1.0 (06-01-09)
DATASHEET
Page 54
Chapter 9 AC Specifications
9.1 Oscillator/Crystal
Parallel Resonant, Fundamental Mode, 24 MHz ± 350 ppm.
Figure 9.1 Typical Crystal Circuit
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Table 9.1 Crystal Circuit Legend
SYMBOLDESCRIPTIONIN ACCORDANCE WITH
C
C
C
C
C
C
C
0
L
B
S
XTAL
1
2
Crystal shunt capacitance
Crystal load capacitance
Total board or trace
Crystal manufacturer’s specification (See Note 9.1)
OEM board design
capacitance
Stray capacitanceSMSC IC and OEM board design
XTAL pin input capacitanceSMSC IC
Load capacitors installed on
OEM board
C1 = 2 x (CL – C0) – C
C2 = 2 x (CL – C0) – C
Calculated values based on Figure 9.2,
"Capacitance Formulas" (See Note 9.2)
S1
S2
Figure 9.2 Capacitance Formulas
Note 9.1C
is usually included (subtracted by the crystal manufacturer) in the specification for C
0
and should be set to ‘0’ for use in the calculation of the capacitance formulas in Figure 9.2,
"Capacitance Formulas". However, the OEM PCB itself may present a parasitic
capacitance between XTAL1 and XTAL2. For an accurate calculation of C
the parasitic capacitance between traces XTAL1 and XTAL2 into account.
and C
1
L
take
2,
Note 9.2Each of these capacitance values is typically approximately 18 pF.
Revision 1.0 (06-01-09)54SMSC USB4640/USB4640i
DATASHEET
Page 55
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
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.
9.3.1I2C EEPROM
Frequency is fixed at 58.6 kHz ± 20%
9.3.2USB 2.0
The SMSC device 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.
SMSC USB4640/USB4640i55Revision 1.0 (06-01-09)
DATASHEET
Page 56
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Chapter 10 DC Parameters
10.1 Maximum Guaranteed Ratings
PARAMETERSYMBOLMINMAXUNITSCOMMENTS
Datasheet
Storage
Temperature
Lead
Temperature
3.3 V supply
voltage
Voltage on
USB+ and
USB- pins
Voltage on
GPIO10
Voltage on
any signal pin
Voltage on
XTAL1
Voltage on
XTAL2
T
STOR
-55150°C
VDD33-0.54.0V
-0.5(3.3 V supply voltage + 2)
≤ 6V
-0.5VDD33 + 0.3VWhen internal power FET
-0.5VDD33 + 0.3V
-0.53.6V
-0.52.0V
°CPlease refer to JEDEC
specification J-STD-020D.
operation of these pins are
enabled, these pins may be
simultaneously shorted to
ground or any voltage up to
3.63 V indefinitely, without
damage to the device as
long as VDD33 is less than
3.63 V and T
o
70
C.
is less than
A
Note: Stresses above the specified parameters may cause permanent damage to the device. This is
a stress rating only. 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 the absolute maximum ratings must 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, a clamp circuit should be used.
Voltage
VDD33
VSS
10%
t
10%
t
RT
3.3 V
100%
90%
t
Time
90%
Figure 10.1 Supply Rise Time Model
Revision 1.0 (06-01-09)56SMSC USB4640/USB4640i
DATASHEET
Page 57
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
10.2 Operating Conditions
PARAMETERSYMBOLMINMAXUNITSCOMMENTS
Commercial
USB4640
T
A
070°CAmbient temperature in still air.
Operating
Temperature
Industrial
USB4640i
T
A
-4085°CAmbient temperature in still air.
Operating
Temperature
3.3 V supply voltageVDD333.03.6VA 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.
3.3 V supply rise timet
Voltage on
USB+ and USB- pins
RT
0400μs(Figure 10.1)
-0.35.5VIf any 3.3 V supply voltage drops
below 3.0 V, then the MAX
becomes:
Voltage on any signal
(3.3 V supply voltage) + 0.5
-0.3VDD33V
≤ 5.5
pin
Voltage on XTAL1 -0.32.0V
Voltage on XTAL2-0.32.0V
10.3 DC Electrical Characteristics
PARAMETERSYMBOLMINTYPMAXUNITSCOMMENTS
I, IPU, IPD Type Input Buffer
V
V
ILI
V
IHI
PD
PU
V
ILI
V
IHI
HYSI
2.0
2.0
Low Input Level
High Input Level
Pull Down
Pull Up
IS Type Input Buffer
Low Input Level
High Input Level
Hysteresis
72
58
420
0.8V
μA
μA
0.8V
mV
TTL Levels
V
TTL Levels
V
SMSC USB4640/USB4640i57Revision 1.0 (06-01-09)
DATASHEET
Page 58
PARAMETERSYMBOLMINTYPMAXUNITSCOMMENTS
ICLK Input Buffer
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Low Input Level
High Input Level
Input Leakage
Input Leakage
(All I and IS buffers)
Low Input Leakage
High Input Leakage
I/O6, I/OD6PU Type Buffers
Low Output Level
High Output Level
Output Leakage
Pull Down
Pull Up
V
V
V
V
ILCK
IHCK
I
IL
I
IL
I
IH
OL
OH
I
OL
PD
PU
1.4
-10
-10
-10
V
DD33
- 0.4
-10
72
58
0.5
+10
+10
+10
0.4
+10
V
V
μA
μA
μA
V
V
µA
μA
μA
V
= 0 to VDD33
IN
= 0
V
IN
V
= VDD33
IN
= 6 mA @
I
OL
VDD33 = 3.3 V
I
= -6 mA @
OH
VDD33 = 3.3 V
V
= 0 to VDD33
IN
(Note 10.1)
O8, O8PD, 08PU, I/O8, I/O8PD, and
I/O8PU Type Buffers
Low Output Level
High Output Level
Output Leakage
Pull Down
Pull Up
V
V
OL
OH
I
OL
PD
PU
V
DD33
- 0.4
-10
72
58
0.4
+10
V
V
µA
μA
μA
= 8 mA @
I
OL
VDD33 = 3.3 V
= -8 mA @
I
OH
VDD33 = 3.3 V
= 0 to VDD33
V
IN
(Note 10.1)
Revision 1.0 (06-01-09)58SMSC USB4640/USB4640i
DATASHEET
Page 59
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
PARAMETERSYMBOLMINTYPMAXUNITSCOMMENTS
O12, I/O12, and I/O12PD
Type Buffers
Low Output Level
V
OL
0.4
V
= 12 mA @
I
OL
VDD33 = 3.3 V
High Output Level
Output Leakage
V
OH
V
DD33
V
- 0.4
I
OL
-10
+10
µA
= -12 mA @
I
OH
VDD33 = 3.3 V
= 0 to VDD33
V
IN
(Note 10.1)
Pull Down
Pull Up
PD
PU
72
58
μA
μA
IO-UNote 10.2
I-RNote 10.3
I/O200 Integrated Power FET for
GPIO10
High Output Current
Low Output Current
(Note 10.4)
I
OUT
I
OUT
200
100
mA
mA
Vdrop
Vdrop
FET
FET
= 0.46 V
= 0.23 V
On Resistance
(Note 10.4)
Output Voltage Rise Time
Integrated Power FET Set to 100 mA
Output Current (Note 10.4)
Short Circuit Current Limit
On Resistance (Note 10.4)
Output Voltage Rise Time
Integrated Power FET Set to 200 mA
Output Current (Note 10.4)
Short Circuit Current Limit
On Resistance (Note 10.4)
Output Voltage Rise Time
R
DSON
t
DSON
I
R
DSON
t
DSON
I
R
DSON
t
DSON
OUT
I
SC
OUT
I
SC
100
200
2.1
800
140
2.1
800
181
2.1
800
Ω
μs
mA
mA
Ω
μs
mA
mA
Ω
μ
I
= 70 mA
FET
C
= 10 μF
LOAD
Vdrop
Vout
I
FET
C
LOAD
Vdrop
Vout
I
FET
s
C
LOAD
= 0.22 V
FET
= 0 V
FET
= 70 mA
= 10 μF
= 0.46 V
FET
= 0 V
FET
= 70 mA
= 10 μF
SMSC USB4640/USB4640i59Revision 1.0 (06-01-09)
DATASHEET
Page 60
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
PARAMETERSYMBOLMINTYPMAXUNITSCOMMENTS
Supply Current Unconfigured
Hi-Speed Host
USB4640
USB4640i
Full Speed Host
USB4640
USB4640i
Supply Current Configured
Hi-Speed Host, 1 downstream port
USB4640
USB4640i
Supply Current Configured
Hi-Speed Host, each additional
downstream port
USB4640
USB4640i
Supply Current Configured
Full-Speed Host, 1 downstream port
USB4640
USB4640i
Supply Current Configured
Full-Speed Host, each additional
downstream port
I
CCINTHS
I
CCINTHS
I
CCINITFS
I
CCINITFS
I
HCH1
I
HCH1
I
FCC1
I
FCC1
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
TBD
Note 10.6
mA
mA
mA
mA
Note 10.6
mA
mA
mA
mA
mA
mA
USB4640
USB4640i
HSIC_DAT, HSIC_STROBE
Driver Impedance
Supply Current ActiveI
Supply Current SuspendI
Supply Current ResetI
Note 10.1 Output leakage is measured with the current pins in high impedance.
Note 10.2 See the USB 2.0 Specification, Chapter 7, for USB DC electrical characteristics
Note 10.3 RBIAS is a 3.3 V tolerant analog pin.
Note 10.4 Output current range is controlled by program software. The software disables the FET
during short circuit condition.
Note 10.5 Please refer to the USB 2.0 supplement “High-Speed Inter-Chip USB Electrical
Specification Revision 1.0 as of September 23, 2007” which can be obtained from
http://www.usb.org/developers/docs/docs.
Note 10.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
I
D
CC
CSBY
RST
TBD
TBD
TBDTBD
TBD
TBD
mA
mA
Ω
Note 10.5
TBDTBDmANote 10.6
TBDTBDµA
TBDTBDµA
Revision 1.0 (06-01-09)60SMSC USB4640/USB4640i
DATASHEET
Page 61
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
10.4 Capacitance
TA = 25°C; fc = 1 MHz; VDD33= 3.3 V
Table 10.1 Pin Capacitance
LIMITS
PARAMETERSYMBOL
Clock Input CapacitanceC
Input CapacitanceC
Output CapacitanceC
XTAL
IN
OUT
UNITTEST CONDITIONMINTYPMAX
2pFAll pins (except USB pins
and pins under test) are tied
to AC ground.
10pF
20pF
SMSC USB4640/USB4640i61Revision 1.0 (06-01-09)
DATASHEET
Page 62
Chapter 11 GPIO Usage
Table 11.1 USB4640/USB4640i GPIO Usage
ACTIVE
NAME
GPIO1HLED / TxDLED indicator / Serial port transmit line
GPIO2HRxD Serial port receive line
GPIO4HSCLSerial EEPROM clock
GPIO5HSDASerial EEPROM data
GPIO6LSD_WPSecure Digital card write protect assertion
GPIO10LCRD_PWR_CTRLCard power control
GPIO12LMS_nCDMemory Stick card detect
GPIO14LxD_nCDxD-Picture card detect
GPIO15LSD_nCDSecure Digital card detect
LEVELSYMBOLDESCRIPTION AND NOTE
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Revision 1.0 (06-01-09)62SMSC USB4640/USB4640i
DATASHEET
Page 63
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Chapter 12 Package Specifications
Figure 12.1 USB4640/USB4640i 48-Pin QFN
SMSC USB4640/USB4640i63Revision 1.0 (06-01-09)
DATASHEET
Page 64
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
12.1 Tape and Reel Specifications
Datasheet
Figure 12.2 48-Pin Package Tape Specifications
Revision 1.0 (06-01-09)64SMSC USB4640/USB4640i
DATASHEET
Page 65
High Speed Inter-Chip USB 2.0 Hub and Flash Media Controller
Datasheet
Figure 12.3 48-Pin Package Reel Specifications
SMSC USB4640/USB4640i65Revision 1.0 (06-01-09)
DATASHEET
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.