SMSC USB2640i Datasheet

Ultra fast usb 2.0 multi-format flash media controller/usb hub combo
Table of Contents

Advertisement

Quick Links

PRODUCT FEATURES

General Description
The SMSC USB2640/USB2641 is a USB 2.0 compliant, Hi-
Speed hub for USB port expansion with an attached mass
storage class peripheral controller. The controller allows
read/write capability to popular flash media formats from the
following families:
TM
xD-Picture Card
(xD)
TM
Memory Stick
(MS)
TM
Secure Digital
(SD)
TM
MultiMediaCard
(MMC)
The USB2640/USB2641 is a fully integrated, single chip
solution providing USB expansion and integrated flash card
media reader/writer capability of ultra high performance
operation. Average sustained transfer rates exceeding 35 MB/s
are possible if the media and host can support those rates.
Highlights
48-pin QFN package
Hub controller with internally connected ultra fast flash
media reader/writer and 2 exposed downstream ports for
external peripheral expansion
Flash media reader/writer employs multiplexed card
interfaces which are optimized for use with single card
insertion combo sockets
Hardware-controlled data flow architecture for all self-
mapped media
Optional support for external firmware access via SPI
interface
1.xD-Picture Card not applicable to USB2641.
SMSC USB2640/USB2641
Ultra Fast USB 2.0 Multi-Format
Flash Media Controller/USB
Hub Combo
1
USB2640/USB2641
Features
Single chip flash media controller
Transaction translator (TT) in the hub supports operation of
FS and LS peripherals
Over 30 port configuration options
Customizable vendor ID, product ID, language ID
On board 24 MHz crystal driver circuit
Optional external 24 MHz clock input
GPIO configuration and polarity: Up to 8 GPIOs for special
function use
Internal card power FET
8051 8-bit microprocessor
Internal regulator for 1.8V core operation
Optimized pinout improves signal flow, easing
implementation and allowing for improved signal integrity
treatment
Optimized for low latency interrupt handling
Hub and flash media reader/writer configuration from a
single source: External I
EEPROM update via USB
Please see the USB2640/USB2641 Software Release Notes
for additional software features
Applications
Printers
Desktop and Mobile PCs
Consumer A/V
Media Players/Viewers
Vista ReadyBoost
DATASHEET
2
C ROM or external SPI ROM
Revision 2.0 (10-03-08)
Datasheet

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USB2640i and is the answer not in the manual?

Questions and answers

Summary of Contents for SMSC USB2640i

  • Page 1: Product Features

    PRODUCT FEATURES General Description The SMSC USB2640/USB2641 is a USB 2.0 compliant, Hi- Speed hub for USB port expansion with an attached mass storage class peripheral controller. The controller allows read/write capability to popular flash media formats from the following families:...
  • Page 2: Order Numbers

    Any and all such uses without prior written approval of an Officer of SMSC and further testing and/or modification will be fully at the risk of the customer. Copies of this document or other SMSC literature, as well as the Terms of Sale Agreement, may be obtained by visiting SMSC’s website at http://www.smsc.com.
  • Page 3: Table Of Contents

    Chapter 11 Package Outline ........... 59 SMSC USB2640/USB2641 DATASHEET Revision 2.0 (10-03-08)
  • Page 4 Chapter 12 GPIO Usage ............60 Revision 2.0 (10-03-08) SMSC USB2640/USB2641 DATASHEET...
  • Page 5 Table 12.1 USB2640/USB2641 GPIO Usage ..........60 SMSC USB2640/USB2641 Revision 2.0 (10-03-08)
  • Page 6 Figure 6.1 Port Power Control with USB Power Switch ....... .
  • Page 7: Chapter 1 Overview

    Ultra Fast USB 2.0 Multi-Format Flash Media Controller/USB Hub Combo Chapter 1 Overview The SMSC USB2640/USB2641 is an integrated USB 2.0 compliant, Hi-Speed hub for USB port expansion with an attached bulk only mass storage class peripheral controller. This multi-format flash...
  • Page 8: Device Features

    Hub and flash media reader/writer configuration from a single source: External I SPI ROM EEPROM update via USB Please see the USB2640/USB2641 Software Release Notes for additional software features Revision 2.0 (10-03-08) Ultra Fast USB 2.0 Multi-Format Flash Media Controller/USB Hub Combo DATASHEET C ROM or external SMSC USB2640/USB2641...
  • Page 9: Oem Selectable Features

    12-hex digit (max) serial number string Customizable vendor specific data by optional use of external serial EEPROM 28-character manufacturer ID and product string for flash media reader/writer LED blink interval or duration SMSC USB2640/USB2641 C EEPROM or via external SPI flash. DATASHEET Revision 2.0 (10-03-08)
  • Page 10: Chapter 2 Acronyms

    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;...
  • Page 11: Chapter 3 Pin Configurations

    TEST VDDA33 USB+ USB- XTAL2 XTAL1 (CLKIN) VDD18PLL RBIAS VDDA33 SMSC USB2640/USB2641 SMSC USB2640 (Top View QFN-48) Thermal Slug (must be connected to VSS) Indicates pins on the bottom of the device . Figure 3.1 USB2640 48-Pin QFN DATASHEET xD_CLE / SD_CMD / MS_D0...
  • Page 12: Figure 3.2 Usb2641 48-Pin Qfn

    Indicates pins on the bottom of the device . Figure 3.2 USB2641 48-Pin QFN DATASHEET SD_CMD / MS_D0 SD_D5 / MS_D1 SD_CLK / MS_BS SD_D6 / MS_D7 SD_D7 / MS_D6 SD_D0 / MS_D4 SD_D1 / MS_D5 VDD33 VDD18 GPIO15 / SD_nCD GPIO6 / SD_WP / MS_SCLK SMSC USB2640/USB2641...
  • Page 13: Chapter 4 Pin Tables

    GPIO15 / SD_nCD USB+ RBIAS USBDN_DP2 USBDN_DP3 SPI_CE_N SPI_CLK / GPIO4 / SCL nRESET GPIO10 (CRD_PWR) (4) VDD33 SMSC USB2640/USB2641 Table 4.1 USB2640 48-Pin Table xD_D2 / xD_D1 / SD_D0 / SD_D7 / MS_D4 MS_D6 xD_ALE / xD_CLE / SD_D5 /...
  • Page 14: Table 4.2 Usb2641 48-Pin Table

    SPI INTERFACE (4 PINS) SPI_DO / GPIO5 / SDA / SPI_SPD_SEL MISC (5 PINS) TEST GPIO1 / LED1 / TXD VDD18 (4) NC TOTAL 48 DATASHEET SD_D6 / MS_D7 SD_D4 / MS_D2 GPIO14 XTAL2 PRTCTL3 SPI_DI GPIO2 / RXD SMSC USB2640/USB2641...
  • Page 15: Chapter 5 Block Diagrams

    Ultra Fast USB 2.0 Multi-Format Flash Media Controller/USB Hub Combo Chapter 5 Block Diagrams Figure 5.1 USB2640 Block Diagram SMSC USB2640/USB2641 Revision 2.0 (10-03-08) DATASHEET...
  • Page 16: Figure 5.2 Usb2641 Block Diagram

    Ultra Fast USB 2.0 Multi-Format Flash Media Controller/USB Hub Combo Figure 5.2 USB2641 Block Diagram Revision 2.0 (10-03-08) SMSC USB2640/USB2641 DATASHEET...
  • Page 17: Chapter 6 Pin Descriptions

    Strobe xD Command xD_CLE Strobe xD Data 7-0 xD_D[7:0] xD Read Enable xD_nRE SMSC USB2640/USB2641 48-PIN BUFFER TYPE DESCRIPTION O12PD This pin is an active low write protect signal for the xD device. This pin has a weak pull-down resistor that is permanently enabled.
  • Page 18: Memory Stick Interface

    MS_INS: This is a GPIO designated as the Memory Stick card detection Pin. This pin is an output clock signal to the MS device. The clock frequency is software configurable. DATASHEET SMSC USB2640/USB2641...
  • Page 19: Usb Interface

    USB Bus Data USB- USB+ USB Bus Data USBDN_DM [3:2] USBDN_DP [3:2] SMSC USB2640/USB2641 48-PIN BUFFER TYPE DESCRIPTION I/O12PD 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 MSC or MS device on MS_D0.
  • Page 20 SPI INTERFACE This is the active low chip enable output. If the SPI interface is enabled, this pin must be driven high in power down states. DATASHEET Section for diagram and usage 1.0% resistor is attached from VSSA SMSC USB2640/USB2641...
  • Page 21 SPI_CLK / GPIO4 / SPI Data Out SPI_DO / GPIO5 / SDA / SPI_SPD_SEL SPI Data In SPI_DI SMSC USB2640/USB2641 48-PIN BUFFER TYPE DESCRIPTION I/O12 SPI_CLK: This is the SPI clock out to the serial ROM. See Section 6.4, "ROM BOOT Sequence"...
  • Page 22 +1.8V Core power bypass. This requires an external bypass capacitor of 1.0 μF minimum. 3.3V Power & Regulator Input. SLUG Ground Reference No connect pins only apply to the USB2641. No trace or signal should be routed/attached to these pins. DATASHEET SMSC USB2640/USB2641...
  • Page 23: Buffer Type Descriptions

    Output buffer with 12 mA sink and 12 mA source, with a pull-down resistor. O12PU Output buffer with 12 mA sink and 12 mA source, with a pull-up resistor. ICLKx XTAL clock input. OCLKx XTAL clock output. I/O-U Analog input/output defined in USB specification. RBIAS. SMSC USB2640/USB2641 DESCRIPTION DATASHEET Revision 2.0 (10-03-08)
  • Page 24: Port Power Control

    If there is an over-current situation, the USB Power Switch will assert the open drain OCS signal. The Schmitt trigger input will recognize this situation as a low. The open drain output does not interfere.
  • Page 25: Figure 6.2 Port Power Control With 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. USB2640/ USB2641 Figure 6.3 Port Power with Ganged Control with Poly Fuse SMSC USB2640/USB2641 PRTCTL3 USB2640/ USB2641 PRTCTL2...
  • Page 26: Rom Boot Sequence

    Ultra Fast USB 2.0 Multi-Format Flash Media Controller/USB Hub Combo for the details of the configuration options. SPI_CE_N SPI_CLK / GPIO4 / SCL SPI_DO / GPIO5 / SDA / SPI_SPD_SEL SPI_DI 3.3V 3.3V C Connection DATASHEET C ROM. C ROM. The firmware 7.3.2 SPI ROM C ROM SMSC USB2640/USB2641...
  • Page 27: Chapter 7 Configuration Options

    Ultra Fast USB 2.0 Multi-Format Flash Media Controller/USB Hub Combo Chapter 7 Configuration Options 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) .
  • Page 28: Eeprom Data Descriptor

    Lun 3 Identifer String Inquiry Vendor String DATASHEET (Table 7.1, DEFAULT VALUE "0000002640001" (Unicode) 0424 4050 0409 “Generic” (Unicode) "Ultra Fast Media Reader" (Unicode) 30h (96 mA) 40h (Reverse SD_WP only) “COMBO” “MS” “SM” (See Note 7.1) “SD/MMC” “Generic” SMSC USB2640/USB2641...
  • Page 29: Table 7.2 Hub Controller Configurations

    HC_MAX_C_SP HC_MAX_C_BP PWR_ON_TIME BOOST_UP BOOST_3:0 PRT_SWP PRTR12 PRTR3 SMSC USB2640/USB2641 REGISTER DESCRIPTION Inquiry Product String Dynamic Number of Luns Lun to Device Mapping Table 7.2 Hub Controller Configurations REGISTER DESCRIPTION Vendor ID Least Significant Byte Vendor ID Most Significant Byte...
  • Page 30: Table 7.3 Other Internal Configurations

    This ID is unique for every product. The product ID is assigned by the vendor. DESCRIPTION USB LANGUAGE ID English Language Code = ‘0409’. Please refer to the USB 2.0 specification for Other Language Codes. DATASHEET DEFAULT VALUE “ATA2” SMSC USB2640/USB2641...
  • Page 31 Bus-Powered (limited to a 100 mA maximum of upstream power prior to being configured by the host controller). When configured as a Bus-Powered device, the SMSC hub consumes less than 100 mA of current prior to being configured. After configuration, the...
  • Page 32 Always reads ‘0’. Use Lun Power Configuration. 1 - Custom LUN Power Configuration stored in the NVSTORE is used. 0 (default) - Default LUN Power Configuration is used. Always reads ‘0’. Always reads ‘0’. xD Player Mode DATASHEET SMSC USB2640/USB2641...
  • Page 33: Lun Id Strings

    There are four LUN ID strings corresponding to LUN# 0, 1, 2, and 3: Number of Icons to Display, SM LUN #, MS LUN #, SD/MMC LUN #. The SM value will be overridden with xD once an xD-Picture Card has been identified. SMSC USB2640/USB2641 Table 7.4 FET Configuration BIT TYPE Low Nibble Unused.
  • Page 34 If 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. DATASHEET DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION SMSC USB2640/USB2641...
  • Page 35 D4h-D7h: Lun to Device Mapping BYTE NUMBER BYTE NAME LUN_DEV_MAP SMSC USB2640/USB2641 UINT 2640 If 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.
  • Page 36 Vendor of the user device (assigned by USB Implementers Forum). DESCRIPTION Least Significant Byte of the Product ID. This is a 16-bit value that the Vendor can assign that uniquely identifies this particular product. DATASHEET DESCRIPTION DESCRIPTION SMSC USB2640/USB2641...
  • Page 37 Bus-Powered (limited to a 100 mA maximum of upstream power prior to being configured by the host controller). When configured as a Bus-Powered device, the SMSC hub consumes less than 100 mA of current prior to being configured. After configuration, the...
  • Page 38 0 = Ganged switching (all ports together) 1 = Individual port-by-port switching DESCRIPTION Always reads ‘0’. OverCurrent Timer: Over-current Timer delay. 00 = 50 ns 01 = 100 ns 10 = 200 ns 11 = 400 ns DATASHEET SMSC USB2640/USB2641...
  • Page 39 BIT NAME Reserved PRTMAP_EN Reserved SMSC USB2640/USB2641 DESCRIPTION Compound Device: Allows OEM to indicate that the hub is part of a compound (see the USB Specification for definition) device. The applicable port(s) must also be defined as having a "Non-Removable Device".
  • Page 40 Bit 7= Reserved Bit 6= Reserved Bit 5= Reserved Bit 4= Reserved Bit 3= 1; Port 3 is disabled Bit 2= 1; Port 2 is disabled Bit 1= 1; Port 1 is disabled Bit 0= Reserved, always = ‘0’ DATASHEET SMSC USB2640/USB2641...
  • Page 41 7.3.3.24 EBh: Max Power For Bus-Powered Operation NUMBER BYTE NAME MAX_PWR_BP SMSC USB2640/USB2641 DESCRIPTION Port Disable Bus-Powered: Disables 1 or more ports. ‘0’ = port is available, ‘1’ = port is disabled. During Self-Powered operation this register selects the ports which will be permanently disabled.
  • Page 42 Power-On Time: The length of time that it takes (in 2 ms intervals) from the time the host initiated power-on sequence begins on a port until power is adequate on that port. System software uses this value to determine how long to wait before accessing a powered-on port. DATASHEET SMSC USB2640/USB2641...
  • Page 43 BIT NAME Reserved BOOST_IOUT_3 BOOST_IOUT_2 Reserved SMSC USB2640/USB2641 DESCRIPTION Reserved 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’...
  • Page 44 Bit 6= Reserved Bit 5= Reserved Bit 4= Reserved Bit 3= ‘1’; Port 3 DP/DM is swapped Bit 2= ‘1’; Port 2 DP/DM is swapped Bit 1= Reserved Bit 0= ‘1’:Upstream Port DP/DM is swapped Revision 2.0 (10-03-08) SMSC USB2640/USB2641 DATASHEET...
  • Page 45: Table 7.5 Port Remap Register For Ports 1 & 2

    F2h: Port Remap 12 NUMBER BYTE NAME PRTR12 SMSC USB2640/USB2641 DESCRIPTION Port remap register for ports 1 & 2. When a hub is enumerated by a USB Host Controller, the hub is only permitted to report how many ports it has; the hub is not permitted to select a numerical range or assignment.
  • Page 46: Table 7.6 Port Remap Register For Port 3

    Physical Port 3 is mapped to Logical Port 2 ‘0011’ Physical Port 3 is mapped to Logical Port 3 ‘0100’ ‘1111’ DATASHEET Reserved Reserved Reserved Reserved Illegal; Do Not Use Physical Port 3 is Disabled Illegal; Do Not Use SMSC USB2640/USB2641...
  • Page 47: I 2 C Eeprom

    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. SMSC USB2640/USB2641 BITS 0: MS - 60 MHz -- Default, no limit...
  • Page 48: In-Circuit Eeprom Programming

    The EEPROM can be programmed via ATE by pulling RESET_N low (which tri-states the device’s EEPROM interface and allows an external source to program the EEPROM). Default Configuration Option: The SMSC device can be configured via its internal default configuration. Please see "EEPROM Data Descriptor" Please refer to Table 7.1...
  • Page 49: Usb Bus Reset

    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 Specification. SMSC USB2640/USB2641 8051 Sets Attach USB Reset...
  • Page 50: Chapter 8 Pin Reset States

    Revision 2.0 (10-03-08) Ultra Fast USB 2.0 Multi-Format Flash Media Controller/USB Hub Combo Hardware Firmware Initialization Operational RESET Figure 8.1 Pin Reset States DESCRIPTION Table 8.2 USB2640 Pin Reset States FUNCTION USBDN_DM2 USBDN_DP2 DATASHEET RESET Time RESET STATE OUTPUT INPUT SMSC USB2640/USB2641...
  • Page 51: Reset State

    / SD_CMD / MS_D0 xD_nCE xD_nRE xD_nB/R GPIO14 / xD_nCD xD_D7 / SD_D4 / MS_D2 GPIO12 / MS_INS xD_D6 / SD_D3 / MS_D3 xD_D5 / SD_D2 GPIO10(CARD_PWR) SMSC USB2640/USB2641 RESET STATE FUNCTION OUTPUT USBDN_DM3 USBDN_DP3 PRTCTL PRTCTL SPI_CE_N GPIO...
  • Page 52: Table 8.3 Usb2641 Pin Reset States

    Ultra Fast USB 2.0 Multi-Format Flash Media Controller/USB Hub Combo FUNCTION GPIO GPIO1 nRESET VBUS_DET TEST USB+ USB- Table 8.3 USB2641 Pin Reset States FUNCTION USBDN_DM2 USBDN_DP2 USBDN_DM3 USBDN_DP3 PRTCTL PRTCTL SPI_CE_N GPIO GPIO SPI_DI GPIO GPIO none DATASHEET RESET STATE OUTPUT INPUT RESET STATE OUTPUT INPUT SMSC USB2640/USB2641...
  • Page 53 GPIO12 / MS_INS SD_D3 / MS_D3 SD_D2 GPIO10(CARD_PWR) GPIO2 / RXD GPIO1 / LED1 / TXD nRESET VBUS_DET TEST USB+ USB- XTAL2 XTAL1 (CLKIN) RBIAS SMSC USB2640/USB2641 RESET STATE FUNCTION OUTPUT none none none none none none GPIO none GPIO none...
  • Page 54: Chapter 9 Dc Parameters

    3.63V indefinitely, without damage to the device as long as V and V DD33 DDA33 are less than 3.63V and T is less than 70 1.8V 100% Time SMSC USB2640/USB2641...
  • Page 55: Operating Conditions

    High Input Level Pull Down Pull Up IS Type Input Buffer Low Input Level High Input Level Hysteresis ICLK Input Buffer Low Input Level High Input Level Input Leakage SMSC USB2640/USB2641 UNITS °C μs μs -0.3 -0.3 DD33 -0.3 -0.3 SYMBOL...
  • Page 56 = 12 mA @ = 3.3V DD33 = -12 mA @ = 3.3V DD33 µA = 0 to V DD33 (Note 9.3) μA μA Vdrop = 0.22V Vout = 0V Ω = 70 mA μs = 10 μF LOAD SMSC USB2640/USB2641...
  • Page 57: Capacitance

    The 3.3V supply should be at least at 75% of its operating condition before the 1.8V supply is allowed to ramp up. Capacitance = 25°C; fc = 1 MHz; V PARAMETER SYMBOL Clock Input Capacitance Input Capacitance Output Capacitance SMSC USB2640/USB2641 SYMBOL DSON DSON CCINTHS CCINITFS CSBY = 3.3V , V = 1.8V...
  • Page 58: Chapter 10 Ac Specifications

    Figure 10.2 Formula to find value of C Revision 2.0 (10-03-08) Ultra Fast USB 2.0 Multi-Format Flash Media Controller/USB Hub Combo 1Meg Crystal Figure 10.1 Typical Crystal Circuit ) x (C and C DATASHEET XTAL1 S1 = XTAL XTAL2 S2 = XTAL SMSC USB2640/USB2641...
  • Page 59: Chapter 11 Package Outline

    Ultra Fast USB 2.0 Multi-Format Flash Media Controller/USB Hub Combo Chapter 11 Package Outline Figure 11.1 USB2640/USB2641 48-Pin QFN SMSC USB2640/USB2641 Revision 2.0 (10-03-08) DATASHEET...
  • Page 60: Chapter 12 Gpio Usage

    DESCRIPTION AND NOTE Serial port transmit line / LED indicator Serial port receive line Serial EEPROM clock Serial EEPROM data SD card write protect detect Card power control Memory Stick card detect xD card detect Secure Digital card detect SMSC USB2640/USB2641...

This manual is also suitable for:

Usb2640

Table of Contents