AU6336 USB2.0 SD/MMC Single LUN Card Reader Controller Technical Reference Manual AU6336 USB2.0 SD/MMC Single LUN Card Reader Controller Copyright Copyright © 1997 - 2007. Alcor Micro, Corp. All Rights Reserved. No part of this data sheet may be reproduced, transmitted, transcribed, stored in a retrieval system or translated into any language or computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without prior written permission from Alcor Micro, Corp. Trademark Acknowledgements The company and product names mentioned in this document may be the trademarks or registered trademarks of their manufacturers. Disclaimer Alcor Micro, Corp. reserves the right to change this product without prior notice. Alcor Micro, Corp. makes no warranty for the use of its products and bears no responsibility for any error that appear in this document. Specifications are subject to change without prior notice. Revision History Date Revision Description Aug 2007 0.9W Preliminary Release. Oct 2007 1.00W Official Release Contact Information: Web site: http://www.alcormicro.com/ Taiwan Alcor Micro, Corp. 4F, No 200 Kang Chien Rd., Nei Hu, Taipei, Taiwan, R.O.C. Phone: 886-2-8751-1984 Fax: 886-2-2659-7723 China ShenZhen Office Rm.2407-08, Industrial Bank Building No.4013, Shennan Road, ShenZhen,China. 518026 Phone: (0755) 8366-9039 Fax: (0755) 8366-9101 Santa Clara Office 2901 Tasman Drive, Suite 206 Santa Clara, CA 95054 USA Phone: (408) 845-9300 Fax: (408) 845-9086 Los Angeles Office 9070 Rancho Park Court Rancho Cucamonga, CA 91730 USA Phone: (909) 483-8821 Fax: (909) 944-0464 <Memo> Table of Contents 1. Introduction ............................................................ 1 1.1 Description...................................................................................1 1.2 Features........................................................................................1 2. Application Block Diagram ................................... 2 3. Pin Assignment ...................................................... 3 4. System Architecture and Reference Design ....... 7 4.1 AU6336 Block Diagram ...............................................................7 5. Electrical Characteristics ...................................... 8 5.1 Absolute Maximum Ratings........................................................8 5.2 Recommended Operating Conditions .......................................8 5.3 General DC Characteristics ........................................................8 5.4 DC Electrical Characteristics of 3.3V I/O Cells..........................9 5.5 USB Transceiver Characteristics ...............................................9 5.6 Power Switch Feature .................................................................13 6. Mechanical Information ......................................... 14 7. Abbreviations ......................................................... 16 i List of Figures Figure 2.1 Block Diagram..................................................................2 Figure 3.1 AU6336-MAS Pin Assignment Diagram .........................3 Figure 3.2 AU6336-MDF Pin Assignment Diagram .........................5 Figure 4.1 AU6336 Block Diagram ...................................................7 Figure 5.1 Card Detect Power-in Timing..........................................13 Figure 6.1 28 SSOP Mechanical Information Diagram ...................14 Figure 6.2 24 QFN Mechanical Information Diagram ......................15 List of Tables Table 3.1 AU6336-MAS Pin Descriptions.........................................4 Table 3.2 AU6336-MDF Pin Descriptions .........................................6 Table 5.1 Absolute Maximum Ratings .............................................8 Table 5.2 Recommended Operating Conditions .............................8 Table 5.3 General DC Characteristics ..............................................8 Table 5.4 DC Electrical Characteristics of 3.3V I/O Cells ...............9 Table 5.5 Electrical characteristics ..................................................9 Table 5.6 Static characteristic:Digital pin .....................................10 Table 5.7 Static characteristic:Analog I/O pins(DP/DM)..........10 Table 5.8 Dynamic characteristic:Analog I/O pins(DP/DM).....11 ii 1. Introduction 1.1 Description AU6336 is an USB2.0 high-speed transmission controller, which is designed as a bridge between USB and SD compatible flash card interface, such as SD, HS-SD, MMC, HS-MMC, RS-MMC, MMCmicro…etc. AU6336 can read digital contents stored on memory card designed to cover a wide area of applications such as digital cameras, PDAs, MP3 players and smart phones…etc. AU6336 inherits the high-performance and cost-efficiency character from Alcor’s products, included power switch integration, dynamic icon utility support, and DMA engine integration. 1.2 Features Support USB V2.0 specification and USB Device Class Definition for Mass Storage, Bulk-Transport V1.0 Support SD/MMC compatible flash card Support the latest flash card specification: SD2.0 (SDHC), MSPro parallel mode (4-bit) Alcor DMA engine integrated for performance enhancement Work with default driver from Windows ME/2000/XP/Vista and Mac OS X; Windows 98/2000(SP1/SP2) and Mac OS 9 are supported by vendor driver from Alcor. Compliant to xD 1.2 spec. Ping-pong FIFO implementation for concurrent bus operation. Support multiple sectors transfer optimize performance Support Dynamic Icon Utility Support LED for bus operating indication Power switch integrated to reduce production BOM cost 5 3.3 and 3.3 1.8V regulators built in 28-SSOP package for SD/MMC 24-QFN package for SD/MMC AU6336 USB2.0 SD/MMC Single LUN Card Reader Controller V1.00W 1 2. Application Block Diagram Following application diagram demonstrates a typical card reader using the AU6336 chip. By connecting the card reader to a desktop or notebook PC through USB bus, the AU6336 becomes a bus-powered, high speed USB card reader, which can be used as a bridge for data transfer between Desktop PC and Notebook PC. Figure 2.1 Block Diagram Digital Camera MP3 Player PC with USB Host Controller PDA SD/MMC AU6336 Moble Phones PC 2 AU6336 USB2.0 SD/MMC Single LUN Card Reader V1.00W 3. Pin Assignment There are two different form factor packages available to choose from. The following figure shows signal names for each pin and the table in the page after describes each pin in details. Figure 3.1 AU6336-MAS Pin Assignment Diagram GPI4 1 28 SDCLK GND 2 27 SDDATA0 VDD 3 26 SDDATA3 REXT 4 25 CLED VD33P 5 24 SDDATA2 DP 6 23 SDWP DM 7 22 SDDATA1 VS33P 8 21 SDCMD XI 9 20 SD_V33 XO 10 19 VDD33C VDDU 11 18 SDCDN AGND5V 12 17 VSSHM AVDD5V 13 16 VDDHM VDD3V 14 15 V18 Alcor Micro AU6336-MAS 28-PIN SSOP AU6336 USB2.0 SD/MMC Single LUN Card Reader Controller V1.00W 3 Table 3.1 AU6336-MAS Pin Descriptions Pin # Pin Name I/O 1 GPI4 I 2 GND I Force to full speed '1' for normal [default] '0' for force to full speed. Core ground 3 VDD I Core 1.8V power input 4 REXT I UTMI reference resistor 5 VD33P I UTMI 3.3V power input 6 DP I/O USB DP 7 DM I/O USB DM 8 VS33P I UTMI 3.3V ground 9 XI I 12MHz crystal input 10 XO O 12MHz crystal output 11 VDDU I UTMI 1.8V input 12 AGND5V I 5 to 3.3 regulator ground 13 AVDD5V I 5 to 3.3 regulator 5V input 14 VDD3V O 5 to 3.3 regulator 3.3V output 15 V18 I 3.3 to 1.8 regulator 1.8V output 16 VDDHM I IO 3.3V power / 3.3 to 1.8 regulator 3.3V input 17 VSSHM I IO 3.3V ground 18 SDCDN I SD card detect 19 VDD33C I Card power switch 3.3V input 20 SD_V33 O Card power switch output 21 SDCMD I/O SD command 22 SDDATA1 I/O SD data 1 23 SDWP I 24 SDDATA2 I/O SD data 2 25 CLED O Card Access LED 26 SDDATA3 I/O SD data 3 27 SDDATA0 I/O SD data 0 28 SDCLK O SD clock 4 Description SD write protect AU6336 USB2.0 SD/MMC Single LUN Card Reader V1.00W The following figure shows signal names of each pin of the 24 QFN package and the table in the page after describes each pin in details. Figure 3.2 AU6336-MDF Pin Assignment Diagram REXT VDD SDCLK SDDATA0 SDDATA3 CLED 24 23 22 21 20 19 VD33P 1 18 SDDATA2 DP 2 17 SDWP DM 3 16 SDDATA1 VS33P 4 15 SDCMD XI 5 14 SD_V33 XO 6 13 VDD33C ALCOR MICRO AU6336 24PIN QFN 7 8 9 10 11 12 VDDU AVDD5V VDD3V V18 VDDHM SDCDN AU6336 USB2.0 SD/MMC Single LUN Card Reader Controller V1.00W 5 Table 3.2 AU6336-MDF Pin Descriptions Pin # Pin Name I/O 1 VD33P I 2 DP I/O USB DP 3 DM I/O USB DM 4 VS33P I UTMI 3.3V ground 5 XI I 12MHz crystal input 6 XO O 12MHz crystal output 7 VDDU I UTMI 1.8V input 8 AVDD5V I 9 VDD3V O 10 V18 O 5 to 3.3 regulator 5V input 5V to 3.3V regulator 3.3V output 3.3V to 1.8V regulator 3.3V input 3.3V to 1.8V regulator 1.8V output 11 VDDHM I IO 3.3V power / 3.3 to 1.8 regulator 3.3V input 12 SDCDN I SD card detect 13 VDD33C I Card power switch 3.3V input 14 SD_V33 O Card power switch output 15 SDCMD I/O SD command 16 SDDATA1 I/O SD data 1 17 SDWP I 18 SDDATA2 I/O 19 CLED O 20 SDDATA3 I/O SD data 2 Card access LED. Low for card present High for card absent Blink for card access SD data 3 21 SDDATA0 I/O SD data 0 22 SDCLK O SD clock 23 VDD I Core 1.8V power input 24 REXT I UTMI reference resistor 6 Description UTMI 3.3V power input SD write protect AU6336 USB2.0 SD/MMC Single LUN Card Reader V1.00W 4. System Architecture and Reference Design 4.1 AU6336 Block Diagram Figure 4.1 AU6336 Block Diagram USB USB Upstream Port XCVR 1.8 V SIE RAM ROM Processor SD/MMC Control FIFO Arbitrator 3.3V/1.8V Voltage Regulator 3.3V Power Switch SD MMC SD/MMC PWR 5V→3.3V Regulator 12MHz XTAL 5V AU6336 USB2.0 SD/MMC Single LUN Card Reader Controller V1.00W 7 5. Electrical Characteristics 5.1 Absolute Maximum Ratings Table 5.1 Absolute Maximum Ratings SYMBOL PARAMETER RATING UNITS VDDHM Power Supply -0.3 to VDDH +0.3 V VIN Input Signal Voltage -0.3 to 3.6 V VOUT Output Signal Voltage -0.3 to VDDHM +0.3 V TSTG Storage Temperature -40 to 150 O C 5.2 Recommended Operating Conditions Table 5.2 Recommended Operating Conditions SYMBOL PARAMETER MIN TYP MAX UNITS VDDHM Power Supply 3.0 3.3 3.6 V V18 Digital Supply 1.62 1.8 1.98 V VIN Input Signal Voltage 0 3.3 3.6 V TOPR Operating Temperature 0 O 85 C 5.3 General DC Characteristics Table 5.3 General DC Characteristics SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS IIN Input current No pull-up or pull-down -10 ±1 10 µA IOZ Tri-state leakage current -10 ±1 10 µA CIN Input capacitance Pad Limit 2.8 ρF COUT Output capacitance Pad Limit 2.8 ρF CBID Bi-directional buffer capacitance Pad Limit 2.8 ρF 8 AU6336 USB2.0 SD/MMC Single LUN Card Reader V1.00W 5.4 DC Electrical Characteristics of 3.3V I/O Cells Table 5.4 DC Electrical Characteristics of 3.3V I/O Cells SYMBOL PARAMETER CONDITIONS VDDHM Power supply 3.3V I/O Vil Input low voltage Limits UNIT MIN TYP MAX 3.0 3.3 3.6 V 0.8 V LVTTL Vih Input high voltage Vol Output low voltage ∣Iol∣=2~16mA Voh Output high voltage ∣Ioh∣=2~16mA 2.4 Rpu Input pull-up resistance PU=high, PD=low 55 75 110 KΩ Input pull-down resistance PU=low, PD=high 40 75 150 KΩ -10 ±1 10 μA -10 ±1 10 μA Rpd Iin Input leakage current Ioz Tri-state output leakage current 2.0 Vin= VDDHM or 0 V 0.4 V V 5.5 USB Transceiver Characteristics Table 5.5 Electrical characteristics Symbol Parameter VDD33 Conditions Min. Typ. Analog supply Voltage 3.0 3.3 3.6 V V18 Digital supply Voltage 1.62 1.8 1.98 V ICC Operating supply current 55 mA High speed operating at 480 MHz AU6336 USB2.0 SD/MMC Single LUN Card Reader Controller V1.00W Max. Unit 9 Table 5.6 Static characteristic:Digital pin Symbol Parameter Conditions Min. Typ. Max. Unit 0.8 V Input levels VIL Low-level input voltage VIH High-level input voltage 2.0 V Output levels VOL Low-level output voltage VOH High-level output voltage 0.2 V VDDH-0.2 V Table 5.7 Static characteristic:Analog I/O pins(DP/DM) Symbol Parameter Conditions Min. Typ. Max. Unit VHSDIFF VHSCM USB2.0 Transceiver(HS) Input Levels(differential receiver) ∣VI(DP)-VI(DM)∣ High speed differential measured at the 300 input sensitivity connection as application circuit High speed data signaling common mode voltage -50 range Squelch detected VHSSQ High speed squelch detection threshold VHSDSC High speed disconnection detection threshold VHSOI VHSOL VHSOH VCHIRPJ VCHIRPK RDRV 10 mV No squelch detected Disconnection detected Disconnection not detected Output Levels High speed idle level output voltage(differential) High speed low level output voltage(differential) High speed high level output voltage(differential) Chirp-J output voltage (differential) Chirp-K output voltage (differential) Resistance Equivalent resistance Driver output impedance used as internal chip only 500 mV 100 mV 150 mV 625 mV 525 mV -10 10 mV -10 10 mV -360 400 mV 700 1100 mV -900 -500 mV 9 Ω 3 6 AU6336 USB2.0 SD/MMC Single LUN Card Reader V1.00W Overall resistance including external resistor Termination 40.5 45 Termination voltage for pull-up resistor on pin 3.0 RPU USB1.1 Transceiver(FS/LS) Input Levels(differential receiver) Differential input ∣VI(DP)-VI(DM)∣ 0.2 sensitivity Differential common 0.8 mode voltage Input Levels(single-ended receivers) Single ended receiver 0.8 threshold Output levels VTERM VDI VCM VSE 49.5 3.6 V V 2.5 V 2.0 V VOL Low-level output voltage 0 0.3 V VOH High-level output voltage 2.8 3.6 V Table 5.8 Dynamic characteristic:Analog I/O pins(DP/DM) Symbol Parameter Conditions Min. Typ. Max. Unit Driver Characteristics High-Speed Mode tHSR tHSF High-speed differential rise time High-speed differential fall time 500 ps 500 ps Full-Speed Mode tFR tFF tFRMA VCRS CL=50pF;10 to 90﹪ of∣VOH-VOL∣; CL=50pF;90 to 10﹪ Fall time of∣VOH-VOL∣; Excluding the first Differential rise/fall time transition from idle matching(tFR / tFF) mode Excluding the first Output signal crossover transition from idle voltage mode Rise time 4 20 ns 4 20 ns 90 110 % 1.3 2.0 V 75 300 ns Low-Speed Mode tLR Rise time CL=200pF-600pF; 10 to 90﹪of ∣VOH-VOL∣; AU6336 USB2.0 SD/MMC Single LUN Card Reader Controller V1.00W 11 tLF Fall time tLRMA Differential rise/fall time matching(tLR / tLF) VCRS Output signal crossover voltage VOH High-level output voltage 12 CL=200pF-600pF; 90 to 10﹪of ∣VOH-VOL∣; Excluding the first transition from idle mode Excluding the first transition from idle mode 75 300 ns 80 125 % 1.3 2.0 V 2.8 3.6 V AU6336 USB2.0 SD/MMC Single LUN Card Reader V1.00W 5.6 Power Switch Feature 1ms to 10ms ( Depend Load Capacitor ) 3.3V+/- 0.3V CARD_POWER 100ms + System Polling timing CARD_DETECT Figure 5.1 Card Detect Power-in Timing AU6336 USB2.0 SD/MMC Single LUN Card Reader Controller V1.00W 13 6. Mechanical Information Figure 6.1 28 SSOP Mechanical Information Diagram 14 AU6336 USB2.0 SD/MMC Single LUN Card Reader V1.00W Figure 6.2 24 QFN Mechanical Information Diagram AU6336 USB2.0 SD/MMC Single LUN Card Reader Controller V1.00W 15 7. Abbreviations In this chapter some of the terms and abbreviations used throughout the technical reference manual are listed as follows. SIE SD MMC UTMI Serial Interface Engine Secure Digital Multimedia Card USB Transceiver Macrocell Interface About Alcor Micro, Corp. Alcor Micro, Corp. designs, develops and markets highly integrated and advanced peripheral semiconductor, and software driver solutions for the personal computer and consumer electronics markets worldwide. We specialize in USB solutions and focus on emerging technology such as USB and IEEE 1394. The company offers a range of semiconductors including controllers for USB hub, integrated keyboard/USB hub and USB Flash memory card reader…etc. Alcor Micro, Corp. is based in Taipei, Taiwan, with sales offices in Taipei, Japan, Korea and California. Alcor Micro is distinguished by its ability to provide innovative solutions for spec-driven products. Innovations like single chip solutions for traditional multiple chip products and on-board voltage regulators enable the company to provide cost-efficiency solutions for the computer peripheral device OEM customers worldwide. 16 AU6336 USB2.0 SD/MMC Single LUN Card Reader V1.00W