Genesys Logic, Inc. GL816E USB 2.0 9-in-1 Card Reader Controller Datasheet Revision 1.33 Mar. 06, 2005 GL816E USB 2.0 9-in-1 Card Reader Controller Copyright: Copyright © 2005 Genesys Logic Incorporated. All rights reserved. No part of the materials may be reproduced in any form or by any means without prior written consent of Genesys Logic Inc.. Disclaimer: ALL MATERIALS ARE PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND. NO LICENSE OR RIGHT IS GRANTED UNDER ANY PATENT OR TRADEMARK OF GENESYS LOGIC INC.. GENESYS LOGIC HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS IN REGARD TO MATERIALS, INCLUDING ALL WARRANTIES, IMPLIED OR EXPRESS, OF MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF INTELLECTUAL PROPERTY, INCLUDING, WITHOUT LIMITATION, THE X-D PICTURE CARDTM LICENSE. IN NO EVENT SHALL GENESYS LOGIC BE LIABLE FOR ANY DAMAGES INCLUDING, WITHOUT LIMITATION, DAMAGES RESULTING FROM LOSS OF INFORMATION OR PROFITS. PLEASE BE ADVISED THAT THE MATERIALS MAY CONTAIN ERRORS OR OMMISIONS. GENESYS LOGIC MAY MAKE CHANGES TO THE MATERIALS OR TO THE PRODUCTS DESCRIBED THEREIN AT ANY TIME WITHOUT NOTICE. Trademarks: is a registrated trademark of Genesys Logic Inc.. All trademarks are the properties of their respective owners. Office: Genesys Logic, Inc. 12F, No. 205, Sec. 3, Beishin Rd., Shindian City, Taipei, Taiwan Tel: (886-2) 8913-1888 Fax: (886-2) 6629-6168 http://www.genesyslogic.com © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 2 GL816E USB 2.0 9-in-1 Card Reader Controller Revision History Revision Date Description 1.00 10/06/2003 First formal release 1.10 10/15/2003 Added 128-pin PQFP package data 1.11 11/05/2003 Added USB2.0 certified Test ID in Chapter 2 Features 1.12 04/06/2004 Changed pin 45 and pin 118 pin description 1.13 04/09/2004 1. Changed pin no. for NVMA15, XO, XI and AVDD2 in table 3.2 2. Added Company Logo in Package Dimension. 1.14 05/28/2004 1.15 06/16/2004 1.20 06/25/2004 1.21 07/15/2004 1.22 11/18/2004 1.23 12/06/2004 1.30 01/18/2005 1.31 01/21/2005 Added Chapter 6.4.10 93C46 Timing 1.32 02/01/2005 Changed power pin description in Table 3.2 1.33 03/06/2005 Changed pin# 32,33 pin description Updated DC Characteristics in Chapter 6 1. Added media memory card type in Chapter 1 And 2. 2. Removed NAND flash memory interface. 3. Changed Table 6.2 - DC Characteristics value. 1. Changed Table 6.1 - Absolute Maximum Ratings value. 2. Added Reset Timing in Chapter 6.3. 1. Added CF card information in Chapter 2. 2. Added CF Timing in Chapter 6.3. Removed PCMCIA interface. a. Changed PCCE2Z to CFCE2Z; PCMCIA CE2# to CF CE2#. b. Changed PCCE1Z to CFCE1Z; PCMCIA CE1# to CF CE1#. c. Removed PCMCIA address 10~3. 1. Changed Chapter 6.3.8 Reset Timing 2. Changed 54 pin name from SD_WPZ to SD_WP 3. Changed Chapter 3.3 Pin Descriptions 1. Changed Table 6.1 - Absolute Maximum Ratings 2. Added Table 6.2 - Operating Conditions 3. Added AC Characteristics Chapter 6.4.4 xD-Picture © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 3 GL816E USB 2.0 9-in-1 Card Reader Controller TABLE OF CONTENTS CHAPTER 1 GENERAL DESCRIPTION........................................................................... 6 CHAPTER 2 FEATURES ....................................................................................................... 7 CHAPTER 3 PIN ASSIGNMENT ......................................................................................... 9 3.1 PINOUTS ............................................................................................................................... 9 3.2 PIN LIST ............................................................................................................................. 11 3.3 PIN DESCRIPTIONS ............................................................................................................ 12 CHAPTER 4 BLOCK DIAGRAM ...................................................................................... 15 CHAPTER 5 FUNCTIONAL DESCRIPTION ................................................................. 16 5.1 UTM .................................................................................................................................. 16 5.2 SIE ..................................................................................................................................... 16 5.3 EP0 FIFO.......................................................................................................................... 16 5.4 EP3 FIFO.......................................................................................................................... 16 5.5 BULK FIFO ....................................................................................................................... 16 5.6 MHE (MEDIA HARDWARE ENGINE) .............................................................................. 16 CHAPTER 6 ELECTRICAL CHARACTERISTICS ...................................................... 17 6.1 ABSOLUTE MAXIMUM R ATINGS...................................................................................... 17 6.2 OPERATING CONDITIONS ................................................................................................. 17 6.3 DC CHARACTERISTICS .................................................................................................... 17 6.4 AC CHARACTERISTICS .................................................................................................... 18 6.4.1 UTMI Transceiver.................................................................................................. 18 6.4.2 External Flash ......................................................................................................... 18 6.4.3 SmartMedia ............................................................................................................. 18 6.4.4 xD-Picture ................................................................................................................ 19 6.4.5 Memory Stick .......................................................................................................... 20 6.4.6 Memory Stick PRO................................................................................................. 21 6.4.7 Secure Digital / MultiMedia Card........................................................................ 21 6.4.8 CompactFlash Card ............................................................................................... 21 6.4.9 Reset Timing............................................................................................................ 22 6.4.10 93C46 Timing ........................................................................................................ 23 CHAPTER 7 PACKAGE DIMENSION ............................................................................. 24 CHAPTER 8 ORDERING INFORMATION .................................................................... 26 © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 4 GL816E USB 2.0 9-in-1 Card Reader Controller LIST OF FIGURES FIGURE 3.1 - 128 PIN LQFP PINOUT DIAGRAM .................................................................... 9 FIGURE 3.2 - 128 PIN PQFP PINOUT DIAGRAM................................................................... 10 FIGURE 4.1 - BLOCK DIAGRAM ............................................................................................. 15 FIGURE 6.1 - TIMING DIAGRAM OF E XTERNAL FLASH ....................................................... 18 FIGURE 6.2 - TIMING DIAGRAM OF S MARTMEDIA ............................................................. 18 FIGURE 6.3 - TIMING DIAGRAM OF XD-PICTURE ................................................................ 19 FIGURE 6.4 - TIMING DIAGRAM OF MEMORYSTICK........................................................... 20 FIGURE 6.5 - TIMING DIAGRAM OF MEMORYSTICK PRO ................................................. 21 FIGURE 6.6 - TIMING DIAGRAM OF SD / MMC ................................................................... 21 FIGURE 6.7 - TIMING DIAGRAM OF COMPACTFLASH ......................................................... 21 FIGURE 6.8 - TIMING DIAGRAM OF RESET ........................................................................... 22 FIGURE 6.9 - TIMING DIAGRAM OF 93C46........................................................................... 23 FIGURE 7.1 - GL816E 128 PIN LQFP PACKAGE................................................................. 24 FIGURE 7.2 - GL816E 128 PIN PQFP PACKAGE ................................................................. 25 LIST OF TABLES TABLE 3.1 - PIN LIST .............................................................................................................. 11 TABLE 3.2 - PIN DESCRIPTIONS ............................................................................................. 12 TABLE 6.1 - ABSOLUTE MAXIMUM RATINGS....................................................................... 17 TABLE 6.2 - OPERATING CONDITIONS .................................................................................. 17 TABLE 6.3 - DC CHARACTERISTICS ...................................................................................... 17 TABLE 8.1 - ORDERING INFORMATION................................................................................. 26 © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 5 GL816E USB 2.0 9-in-1 Card Reader Controller CHAPTER 1 GENERAL DESCRIPTION The GL816E is a highly integrated, flexible application USB 2.0 Multi-Interface Flash Card Reader controller. TM It supports USB 2.0 high-speed transmission to CompactFlash (CF) Type I/II, Micro Drive, Secure TM TM TM TM Digital (SD), Mini SD , MultiMediaCard (MMC), RS MultiMediaCardTM (RS MMC), Memory Stick TM (MS), Memory Stick DuoTM (MS Duo), High Speed Memory StickTM (HS MS), Memory Stick Pro (MS TM Pro), Memory Stick ProTM Duo (MS Pro Duo) Memory Stick ROM, SmartMedia (SM) 5V/3.3V, and TM xD-Picture Card (xD) on one chip. Besides the flash card interface controller each, the GL816E integrates Genesys Logic own design USB 2.0 high-speed UTMI (USB 2.0 Transceiver Macrocell Interface) transceiver. As a single chip solution for USB 2.0 multi flash card reader, the GL816E complies with Universal Serial Bus specification rev. 2.0, USB Storage Class specification ver.1.0, and flash card interface specification each. The GL816E can support different kinds of multi-interface combinations. For the best performance consideration, the GL816E integrates high efficiency card interface hardware engine for data transfer, and the 48MHz feature-enhanced 8051 micro-controller. The GL816E also supports firmware upgrade via USB interface, and external flash read/ write for firmware upgrade and other applications. The GL816E pin assignment design fits to card sockets to provide easier PCB layout. With two package types, the 128-pin LQFP (14mm x 14mm) and the 128-pin PQFP (14mm x 20mm), the GL816E can fit your various design in both standalone and PC embedded USB 2.0 multi-interface flash card reader/ writer applications. © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 6 GL816E USB 2.0 9-in-1 Card Reader Controller CHAPTER 2 FEATURES l USB specification compliance - Complies with 480Mbps Universal Serial Bus specification rev. 2.0. - Complies with USB Storage Class specification rev. 1.0. - Supports 1 device address and up to 10 endpoints: Control (0)/ Bulk Read (1)/ Bulk Write (2)/ Interrupt (3), and 3 optional Bulk Read/ Write endpoints pair. l Integrated USB building blocks - Integrated USB 2.0 Transceiver Macrocell Interface (UTMI) transceiver and Serial Interface Engine (SIE). - Build-in power-on reset (POR) and low-voltage detector (LVD). l Embedded 8051 micro-controller - Operate @ 48 MHz clock. - Embedded 32K Byte mask ROM and internal 256 byte SRAM. - Supports up to external 64K ROM/ Flash for design flexibility. l Support firmware upgrade to external flash via USB interface l USB 2.0 certified (TestID=40390389) l Support all kinds of flash card interface - SmartMedia / xD-Picture Card Interface - Memory Stick / Memory Stick Pro Card Interface - Secure Digital / MultiMediaCard Interface - CompactFlash Type I/II l 3.3V operation l Flexible pin utilization - Dedicated power control pins and programmable card-enable pins. - Supports 4(or more) GPIO pins for design flexibility. - Pin assignment fits to card sockets for easy PCB layout. - Shared pins for SmartMediaTM interface. l SmartMediaTM interface - Address support up to 4 bytes, 8 bit data width and different speed - Supports different page size, and automatic append redundant area data (8 / 16 bytes) - Hardware ECC encoding and decoding capability - Supports firmware correct page ECC error capability - Compliant with xD-Picture Card l xD-Picture CardTM interface - Complies with xD-PictureTM interface specification - Compliant SmartMediaTM interface l Memory StickTM (MS) / Memory Stick DuoTM (MS Duo) / High Speed Memory StickTM (HS MS) / TM Memory Stick Pro (MS Pro) / Memory Stick ProTM Duo (MS Pro Duo) Memory Stick ROM interface - Complies with Memory Stick Standard Memory Stick PRO Format Specifications ver 1.00-01 - Complies with Memory Stick Format Specifications ver 1.40-00 - Hardware support 4-bit HS Memory Stick PRO interface - Supports INS signal - Supports automatic CRC16 generation and verification - Supports different clock rate up to 40 MHz l Secure DigitalTM , Mini SDTM and MultiMediaCardTM - Complies with Secure DigitalTM / MultiMediaCardTM interface specification - Supports both SD / MMC mode access CLK/CMD/DAT0/DAT1/DAT2/DAT3 - Command transmit and response receive can be enabled separately © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 7 GL816E USB 2.0 9-in-1 Card Reader Controller - Automatic CRC7 generation for command and CRC7 verification for response on CMD Support automatic CRC16 generation and verification on DAT3-0 - In addition to full packet transaction, optional single byte / bit operation on both CMD and DAT line / lines - Data processing in block or byte Supports different clock rate from 375 KHz to 24 MHz l High efficient hardware engine - Automatic data read / write with card by hardware engine - Easier firmware development - Media interface signals output low automatically when suspend l Inter-Media transfer capability - Support data copy between flash cards or in the same flash memory card l Support external ICE / micro-controller interface - Easy firmware development environment - Easy operate by external robust microprocessor l Available in 128-pin LQFP and 128-pin PQFP package © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 8 GL816E USB 2.0 9-in-1 Card Reader Controller CHAPTER 3 PIN ASSIGNMENT 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 CF_D11 CF_INTRQZ CF_D10 SM_CLE MS_INS CF_D9 CF_D8 MS_D1 CF/SM_D1 CF_WEZ/GPIO17 DGND2 NVMD0 NVMD1 NVMD2 NVMD3 CF/SM_D0 SM_CDZ MS_D0 MS_D2 DVDD2 CF_A0 CF_A1 GPIO18 MS_D3 CF_A2 NVMD4 NVMD5 EXTRSTZ 93C46_DI 93C46_DO SM_ALE SD_D0 3.1 Pinouts 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 GL816E LQFP - 128 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 CF_RST GPIO0 GPIO1 GPIO2 SM_REZ SD_D1 NVMD6 NVMD7 NVMCSZ NVMA10 SD_WP SD_CDZ SM_WEZ SM_RBZ DGND1 NVMOEZ NVMA11 NVMA9 NVMA8 DVCC1 MS_CLK SM_WPZ SMPCTL/GPIO11 GPIO3 GPIO4 NVMA13 GPIO14 GPIO5 UDGND1 UDVCC1 UGND2 XI GPIO15 PCCE2Z NVMA4 NVMA5 NVMA6 NVMA7 NVMA12 NVMA15 XD_CDZ/GPIO13 NVMWEZ NVMA14 GPIO7 CF_OEZ/GPIO16 CF_IORZ GPIO6 CF_IOWZ DGND0 UDVCC1 UDVCC1 UDGND0 UDGND0 RPU AVDD1 VPF VPH VMF VMH AGND1 AGND1 RREF AVDD2 XO 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 CF_D12 CF_WAITZ CF/SM_D2 MS_BS SDPCTL/GPIO9 MSPCTL/GPIO10 CF/SM_D3 CF/SM_D4 CF_REGZ CF_CDZ SM_WPDZ CF/SM_D5 CF_D13 SD_CLK SD_CMD CF/SM_D6 CF_D14 CF/SM_D7 CF_D15 SD_D3 SD_D2 DVCC3 NVMA0 NVMA1 DGND3 NVMA2 NVMA3 93C46_SK 93C46_CS XDPCTL/GPIO12 GPIO8 CFCE1Z Figure 3.1 - 128 Pin LQFP Pinout Diagram © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 9 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 GL816E PQFP - 128 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 CF_RST GPIO0 GPIO1 GPIO2 SM_REZ SD_D1 NVMD6 NVMD7 NVMCSZ NVMA10 SD_WP SD_CDZ SM_WEZ SM_RBZ DGND1 NVMOEZ NVMA11 NVMA9 NVMA8 DVCC1 MS_CLK SM_WPZ SMPCTL/GPIO11 GPIO3 GPIO4 NVMA13 GPIO15 CFCE2Z NVMA4 NVMA5 NVMA6 NVMA7 NVMA12 NVMA15 XD_CDZ/GPIO13 NVMWEZ NVMA14 GPIO7 CF_OEZ/GPIO16 CF_IORZ GPIO6 CF_IOWZ DGND0 UDVCC1 UDVCC1 UDGND0 UDGND0 RPU AVDD1 VPF VPH VMF VMH AGND1 AGND1 RREF AVDD2 XO XI UGND2 UDVCC1 UDGN1 GPIO5 GPIO14 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 CF/SM_D3 CF/SM_D4 CF_REGZ CF_CDZ SM_WPDZ CF/SM_D5 CF_D13 SD_CLK SD_CMD CF/SM_D6 CF_D14 CF/SM_D7 CF_D15 SD_D3 SD_D2 DVCC3 NVMA0 NVMA1 DGND3 NVMA2 NVMA3 93C46_SK 93C46_CS XDPCTL/GPIO12 GPIO8 CFCE1Z 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 MSPCTL/GPIO10 SDPCTL/GPIO9 MS_BS CF/SM_D2 CF_WAITZ CF_D12 CF_D11 CF_INTRQZ CF_D10 SM_CLE MS_INS CF_D9 CF_D8 MS_D1 CF/SM_D1 CF_WEZ/GPIO17 DGND2 NVMD0 NVMD1 NVMD2 NVMD3 CF/SM_D0 SM_CDZ MS_D0 MS_D2 DVDD2 CF_A0 CF_A1 GPIO18 MS_D3 CF_A2 NVMD4 NVMD5 EXTRSTZ 93C46_DI 93C46_DO SM_ALE SD_D0 GL816E USB 2.0 9-in-1 Card Reader Controller Figure 3.2 - 128 Pin PQFP Pinout Diagram © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 10 GL816E USB 2.0 9-in-1 Card Reader Controller 3.2 Pin List Table 3.1 - Pin List Pin# Pin Name Type Pin# 1 GPIO15 B 2 CFCE2Z 3 NVMA4 O 4 NVMA5 O Pin Name Type Pin# Pin Name Type Pin# Pin Name Type B/SO 97 CF_D12 33 XI I 65 SD_D0 B/O 34 UGND2 P 66 SM_ALE O 98 CF_WAITZ I/SO 35 UDVCC1 P 67 93C46_DO B/I 99 CF/SM_D2 B 36 UDGND1 P 68 93C46_DI B/O 100 MS_BS 5 NVMA6 O 37 GPIO5 B/O 6 NVMA7 O 38 GPIO14 7 NVMA12 O 39 NVMA13 8 NVMA15 O 40 GPIO4 9 XD_CDZ/ GPIO13 B/I 41 GPIO3 10 NVMWEZ O 42 GPIO11 11 NVMA14 O B O SDPCTL/ 101 GPIO9 MSPCTL/ 102 GPIO10 69 EXTRSTZ I B 70 NVMD5 O O 71 NVMD4 O 103 CF/SM_D3 B B/O 72 CF_A2 O 104 CF/SM_D4 B B/O 73 MS_D3 B 105 CF_REGZ B/O B/O 74 GPIO18 B 106 CF_CDZ B/I 43 SM_WPZ O 75 CF_A1 O 107 SM_WPDZ B/I 12 GPIO7 B/O 44 MS_CLK O 76 CF_A0 O 108 CF/SM_D5 B CF_OEZ/ 13 GPIO16 B/O 45 DVCC1 P 77 DVDD2 P 109 CF_D13 B 46 NVMA8 O 78 MS_D2 B 110 SD_CLK O B/O 47 NVMA9 O 79 MS_D0 B 111 SD_CMD B/SO 14 CF_IORZ 15 GPIO6 O SMPCTL/ B/O B/O 16 CF_IOWZ O 48 NVMA11 O 80 SM_CDZ B/I 112 CF/SM_D6 B 17 DGND0 P 49 NVMOEZ O 81 CF/SM_D0 B 113 CF_D14 B 18 UDVCC1 P 50 DGND1 P 82 NVMD3 O 114 CF/SM_D7 B 19 UDVCC1 P 51 SM_RBZ B/I 83 NVMD2 O 115 CF_D15 B 20 UDGND0 P 52 SM_WEZ O 84 NVMD1 O 116 SD_D3 B 21 UDGND0 P 53 SD_CDZ B/I 85 NVMD0 O 117 SD_D2 B 22 RPU A 54 SD_WP B/I 86 DGND2 P 118 DVCC3 P B/O 119 NVMA0 O 23 AVDD1 P 55 NVMA10 O CF_WEZ/ 87 GPIO17 24 VPF B 56 NVMCSZ O 88 CF/SM_D1 B 120 NVMA1 O 25 VPH B 57 NVMD7 O 89 MS_D1 B 121 DGND3 P 26 VMF B 58 NVMD6 O 90 CF_D8 B 122 NVMA2 O 27 VMH B 59 SD_D1 B/SO 91 CF_D9 B 123 NVMA3 O 28 AGND1 P 60 SM_REZ 29 AGND1 P 61 GPIO2 O 92 MS_INS B/I 124 93C46_SK B/O B/O 93 SM_CLE O 125 93C46_CS B/O B XDPCTL/ 126 GPIO12 B/O 30 RREF A 62 GPIO1 B/O 94 CF_D10 31 AVDD2 P 63 GPIO0 B/O 95 CF_INTRQZ B/I 127 GPIO8 32 XO B 64 CF_RST © 2000-2005 Genesys Logic Inc. - All rights reserved. B 96 CF_D11 B 128 CFCE1Z B B/O Page 11 GL816E USB 2.0 9-in-1 Card Reader Controller 3.3 Pin Descriptions Table 3.2 - Pin Descriptions USB Interface Pin Name Pin# Type Description NVMA15~0 8,11,39,7, 48,55,47, 46,6~3, 123,122, 120,119 O Ext. flash address 15~0 NVMWEZ 10 O Ext. flash WE# RPU 22 A USB resistor pull up VPF 24 B FS D+ VPH 25 B HS D+ VMF 26 B FS D- VMH 27 B HS D- RREF 30 A XO 32 I XI 33 B Reference resistor 12MHz Crystal This is the other terminal of the crystal, or left open when an external clock source is used to drive XTAL/CLK. It may not be used to drive any external circuitry other than the crystal circuit. 12MHz Crystal This pin can be connected to one terminal of the crystal or can be connected to an external 12MHz clock when a crystal is not used. NVMOEZ 49 NVMCSZ 56 NVMD7~0 57,58,70, 71,82~85 EXTRSTZ 69 O O (pu) B (pd) I (pu) Ext. flash OE# Ext. flash CS# Ext. flash Data 7~0 External reset #, the active low signal is used by the system to reset the chip. The active low pulse should be at least 1 us wide. Memory Interface Pin Name Pin# Type Description CFCE2Z 2 XD_CDZ 9 B/I (pu) B/I (pu) CF_IORZ 14 O CF IOR# CF_IOWZ 16 O CF IOW# CF_OEZ 13 O CF OE# SM_PCTL 42 B/O SM_WPZ 43 O CF CE2# XD CD#, this is the card detection signal from xD-Picture device to indicate if the device is inserted, Normal high. SmartMedia power control SmartMedia WP#, This pin is an active low write protect signal for the SM device, when SMC is enabled. Normal high. © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 12 GL816E USB 2.0 9-in-1 Card Reader Controller MS_CLK 44 O SM_RBZ 51 B/I (pu) SM_WEZ SD_CDZ SD_WP SD_D0~3 O B/I 53 (pu) B/I 54 (pu) 65,59,117, B/SO 116 (pu) 52 SM_REZ 60 O CF_RST 64 B (pd) SM_ALE 66 O CF_A2~0 MS_D3~0 SM_CDZ CF/SM_D0~7 CF_WEZ CF_D8~15 Memory Stick SCLK output SmartMedia RDY/BSY# SmartMedia WE# SD Card detection#, this is the card detection signal from SD device to indicate if the device is inserted, Normal high. SD Write Protect Detection, this pin is an active high write protect signal for the SD device, when SD is enable. Normal low. SD DAT0~3 SmartMedia RE# CF reset SmartMedia ALE O 72,75,76 CF address 2~0 73,78,89, B/SO MS DAT3~0 79 (pu) B/I SmartMedia CD#, this is the card detection signal from SM device 80 (pu) to indicate if the device is inserted, active low. 81,88,99, 103,104, B/SO CF / SmartMedia DAT0~7 108,112, (pu) 114 87 90,91,94, 96,97,109, 113,115 O CF WE# B/I (pu) CF DAT8~15 MS_INS 92 B/I (pu) Memory Stick INS SM_CLE 93 O SmartMedia CLE CF_INTRQZ 95 B/I CF INTRQ# CF_WAITZ 98 I/SO (pu) CF WAIT# MS_BS 100 O SD_PCTL 101 B/O SD/MMC power control MS_PCTL 102 B/O Memory Stick power control CF_REGZ 105 CF_CDZ 106 SM_WPDZ 107 SD_CLK 110 SD_CMD 111 XD_PCTL 126 B/O XD power control CFCE1Z 128 B/I (pu) B/O (pu) B/I (pu) B/I (pu) O MemoryStick BS CF REG# CF CD# . CF card detection, this pin is connected to the ground on the CF card, when the CF device is inserted. SmartMedia Write Protect Detect, this pin is an active low write protect signal for the SM device, when SM is enable. Normal high. SD/MMC CLK B/SO SD/MMC CMD (pu) CF CE1# © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 13 GL816E USB 2.0 9-in-1 Card Reader Controller EEPROM Interface Pin Name Pin# Type Description 93C46_DO 67 B/I 93C46 Data out 93C46_DI 68 B/O 93C46 Data in 93C46_SK 124 B/O 93C46 Clock 93C46_CS 125 B/O 93C46 CS Miscellaneous Interface Pin Name Pin# Type Description 74,87,13,1, 38,9,126, GPIO18~0 42,102,101, B 127,12,15, (odpu) GPIO18~0 37,40,41, 61,62,63 Power / Ground Pin Name Pin# Type DGND0~3 17,50,86, 121 P Digital GND #0~3 UDVCC1 18,19,35 P UTMI Digital VCC UDGND0~1 20,21,36 P UTMI Digital GND AVDD1 23 P Analog VDD #1 AGND1 28,29 P Analog GND #1 AVDD2 31 P Analog VDD #2 UGND2 34 P UTMI GND 45,118 P Digital VDD #1, 3 77 P Digital VDD #2 DVCC1,3 DVDD2 Notation: Type O I B B/I B/O P A SO pu pd odpu Description Output Input Bi-directional Bi-directional, default input Bi-directional, default output Power / Ground Analog Automatic output low when suspend Internal pull up Internal pull down Open drain with internal pull up © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 14 GL816E USB 2.0 9-in-1 Card Reader Controller CHAPTER 4 BLOCK DIAGRAM MHE MHE Control EP0 FIFO TXFIFO DATA A DATA B EP3 FIFO MCFIFO CF MIF RXFIFO DATA A SIE DATA B MS/MS Pro MIF SD/MMC MIF USB register + FIFO Control 8051 Core Mask ROM SRAM SM/xD MIF UTM Figure 4.1 - Block Diagram © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 15 GL816E USB 2.0 9-in-1 Card Reader Controller CHAPTER 5 FUNCTIONAL DESCRIPTION 5.1 UTM The USB 2.0 Transceiver Macrocell, it’s the analog circuitry that handles the low level USB protocol and signaling, and shifts the clock domain of the data from the USB 2.0 rate to one that is compatible with the general logic. 5.2 SIE The Serial Interface Engine, which contains the USB PID and address recognition logic, and other sequencing and state machine logic to handle USB packets and transactions. 5.3 EP0 FIFO It is composed of TX0FIFO and RX0FIFO, with 64-byte FIFO each, and it is used for endpoint 0 data transfer. 5.4 EP3 FIFO It’s an 8-byte FIFO for endpoint 3. 5.5 Bulk FIFO It is composed of TXFIFO and RXFIFO for data transmission and receiving respectively, also with different modes support: TXFIFO: 1. To ensure the continuous data transmission, TXFIFO includes 512 bytes DATA-A FIFO, 512 bytes DATA-B FIFO, and two 16 bytes corresponding redundant areas. All can be directly accessed by 8051 µC. 2. Normally SIE popes data, MHE pushes data for DATA A/B FIFOs, and redundant area is pushed by MHE when SmartMedia MIF is enabled and popped by uC. 3. Supports uC single byte access for SmartMedia ECC error correction. 4. At transmit mode SIE won’t transmit data filled in TXFIFO before uC complete the data integrity checking. RXFIFO: 1. To ensure the continuous data transmission, RXFIFO includes 512 bytes DATA-A FIFO, 512 bytes DATA-B FIFO, and 16 bytes single redundant area. All can be directly accessed by 8051 µC. 2. Normally MHE popes data, SIE pushes data for DATA A/B FIFOs, and redundant area is pushed by uC and popped by MHE when SmartMedia MIF is enabled. Buffer Mode: 1. Buffer mode is enabled by firmware and is used to copy data block from source to destination in same card for SmartMedia or Memory Stick applications. 2. Under Buffer mode, firmware can enable MIF to read source data block to TXFIFO, check the data integrity, then enable MIF to write data in TXFIFO to destination data block space on memory card. 3. For SmartMedia application, the redundant data write to destination data block space is from redundant area of RXFIFO. 5.6 MHE (Media Hardware Engine) The Media Hardware Engine contains 4 MIF (Media Interface), MHE control and MCFIFO. 1. MIF (Media Interface): There are CompactFlash MIF, Memory Stick/ Memory Stick PRO MIF, Secure Digital/ MultiMediaCard MIF and SmartMedia/ xD-Picture Card MIF in MHE. 2. MCFIFO (Media Control FIFO): It’s a 64-byte FIFO that shared by Memory Stick/ Memory Stick PRO and SD/ MMC MIF. In MemoryStick application, the MCFIFO is used for register read and write function; In SD/ MMC application, it is used for command and response. 3. SMAFIFO (SmartMedia TM Address FIFO): It’s a 4-byte FIFO for SmartMedia address only. © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 16 GL816E USB 2.0 9-in-1 Card Reader Controller CHAPTER 6 ELECTRICAL CHARACTERISTICS 6.1 Absolute Maximum Ratings Table 6.1 - Absolute Maximum Ratings Parameter Value Storage Temperature -65°C to +150 °C Ambient Temperature -40°C to +80 °C Supply Voltage to Ground Potential -0.5V to +4.0V DC Input Voltage to Any Pin -0.5V to +5.8V 6.2 Operating Conditions Table 6.2 - Operating Conditions Parameter Value Ta (Ambient Temperature Under Bias) 0°C to 70°C Supply Voltage +3.0V to +3.6V Ground Voltage 0V FOSC (Oscillator or Crystal Frequency) 12 MHz ± 0.25% 6.3 DC Characteristics Table 6.3 - DC Characteristics Symbol Parameter Condition Min. Typ. Max. Unit VCC Supply Voltage 3.0 3.3 3.6 V VIH Input High Voltage 2.6 - 5 V VIL Input Low Voltage 0.0 - 0.7 V -10 - 10 µA II Input Leakage current 0 < VIN < VCC VOH Output High Voltage 3.0 - - V VOL Output Low Voltage - - 0.2 V IOH Output Current High VDD=3.3V VOH=2.6V - 8.3 - mA IOL Output Current Low VDD=3.3V VOL=0.8V - 7.8 - mA CIN Input Pin Capacitance - - 2.0 pF ISUSP Suspend current - - 280 µA ICC Supply current - - 85 mA 1.5K external pull-up included Connect to USB with 8051 operating © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 17 GL816E USB 2.0 9-in-1 Card Reader Controller 6.4 AC Characteristics 6.4.1 UTMI Transceiver The GL816E is fully compatible with Universal Serial Bus specification rev. 2.0 and USB 2.0 Transceiver Macercell Interface (UTMI) specification rev. 1.01. Please refer to the specifications for more information. 6.4.2 External Flash NVMA[0..15] dddddxdddddddddddddddxddddd \\\\\;\\\\\\\\\\\\\\@’ \\\\\ Twc NVMOE# lllllrhhhhhhhhhhhhhhhflllll \\\\\;\\\@;\\\\\@’ \\\;\\@’ \ Tow Tww Tra NVMWE# hhhhhhhhhhfllllllrhhhhhhhhh dddddxddddxddddddddddxdddxd NVMD[0..7] Figure 6.1 - Timing Diagram of External Flash Parameter Description Min Typ TWC Write data cycle time 102.5 TWW Write pulse width 41.6 TOW OE# to WE# time 38.6 TRA Read Access time Max Unit ns 90 6.4.3 SmartMedia Read \\\\\;\\\\\\\\\\\\\@;\\\\\@’ Trw Tcr RE# hhhhhfllllllrhhhhhhhfllllllr Tds Tdh \\\\\\\\;\\@;\@’ \\\\\\\\\\\\ D[0..7] zzzzzzzznddddddozzzzzzzznddd Write CLE lrhhhhflllllllllllllllllllll \;\\\@’ \\\\\\\\\\\\\;\\\\@’ \ Tcw ALE lllllllllrhhhhhhhfllllllllll TwwT \\\\\\\\\\\\\\\\\\\\;\@’ \\\\ WE# hhhhhhhhhhhhhhhhhhhhfllrhhfl Tdp Tcd Tdw Tai Tdw Tdd Tad \;@;@’ \\\;@’ ;@;@’ \\\\;@;@’ \\ D[0..7] zzzndozzzzndozndozzzzndddozn Figure 6.2 - Timing Diagram of SmartMedia © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 18 GL816E USB 2.0 9-in-1 Card Reader Controller Parameter Description Mode Min Typ Normal 165 Slow 198 Normal 100 Slow 166 Normal 66 Slow 100 Tcw CLE active width Twc Write data cycle time Tww Write pulse width Tcd CLE-to-command delay Tdw Data width Tad ALE-to-address delay 33.3 Tai Address data interval time 33.3 Tdp Data pre-output delay 33.3 Tdd Data delay time 33.3 Tcr Read data cycle time Trw Read pulse width 100 Tds Data setup time 40 Tdh Data hold time 20 Max Unit 33.3 Normal 67 Slow 100 Normal 133.3 Slow 166.6 ns 6.4.4 xD-Picture Read \\\\\;\\\\\\\\\\\\\@;\\\\\@’ Tcr Trw RE# hhhhhfllllllrhhhhhhhfllllllr Tds Tdh \\\\\\\\;\\@;\@’ \\\\\\\\\\\\ D[0..7] zzzzzzzznddddddozzzzzzzznddd Write CLE lrhhhhflllllllllllllllllllll \;\\\@’ \\\\\\\\\\\\\;\\\\@’ \ Tcw ALE lllllllllrhhhhhhhfllllllllll TwwT \\\\\\\\\\\\\\\\\\\\;\@’ \\\\ WE# hhhhhhhhhhhhhhhhhhhhfllrhhfl Tdp Tcd Tdw Tai Tdw Tdd Tad \;@;@’ \\\;@’ ;@;@’ \\\\;@;@’ \\ D[0..7] zzzndozzzzndozndozzzzndddozn Figure 6.3 - Timing Diagram of xD-Picture © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 19 GL816E USB 2.0 9-in-1 Card Reader Controller Parameter Description Mode Min Typ Normal 165 Slow 198 Normal 100 Slow 166 Normal 66 Slow 100 Tcw CLE active width Twc Write data cycle time Tww Write pulse width Tcd CLE-to-command delay Tdw Data width Tad ALE-to-address delay 33.3 Tai Address data interval time 33.3 Tdp Data pre-output delay 33.3 Tdd Data delay time 33.3 Tcr Read data cycle time Trw Read pulse width 100 Tds Data setup time 40 Tdh Data hold time 20 Max Unit 33.3 Normal 67 Slow 100 ns Normal 133.3 Slow 166.6 6.4.5 Memory Stick SCLK llrhhhhhhhhhhhhhhhfllllllllll lllrfrfrfrfrfrfrfrfrfrfrfrfrf SDIO ddddxdddddddddddddddxdddddddd BS Figure 6.4 - Timing Diagram of MemoryStick Parameter Fck Description SCLK frequency © 2000-2005 Genesys Logic Inc. - All rights reserved. Mode Typ 0 1.5M 1 6M 2 15M 3 24M Unit Remark Hz Page 20 GL816E USB 2.0 9-in-1 Card Reader Controller 6.4.6 Memory Stick PRO BS llrhhhhhhhhhhhhhhhfllllllllll SCLK lllrfrfrfrfrfrfrfrfrfrfrfrfrf dddxdxdxdxdxdxdxdxdxdxdxdxdxd DATA Figure 6.5 - Timing Diagram of MemoryStick PRO Parameter Fck Description SCLK frequency Mode Typ 0 30M 1 40M Unit Remark Hz 6.4.7 Secure Digital / MultiMedia Card CMD dddxdxdxdddddddddddddddddxdddd CLK rfrfrfrfrfrfrfrfrfrfrfrfrfrfrf dddddddddddddxdddddddddddxdddd DAT Figure 6.6 - Timing Diagram of SD / MMC Parameter Fck Description CLK frequency Mode Typ 0 375K 1 6M 2 15M 3 24M Unit Remark Hz 6.4.8 CompactFlash Card IOR-/IOW- Tw Tcyc \\\;\\\\\\\\\\@;\\\\@’ \\\\ hhhflllllrhhhhhflllllrhhhh Td Thw \\\;@’ \\\;@’ \\\\\\\\\\\\\\ WRITE DD[15:0] zzzzzndddddozzzzzndddddozz Tsu Thr \\\\\\\;@;@’ \\\\\\\\\\\\\\ READ DD[15:0] zzzzzzzndddozzzzzzzndddozz Figure 6.7 - Timing Diagram of CompactFlash Parameter Tcyc Description Read/Write Cycle Time © 2000-2005 Genesys Logic Inc. - All rights reserved. Mode Min Typ Max Unit 0 - 665 - ns 1 - 416 - 2 - 266 - 3 - 199 Page 21 GL816E USB 2.0 9-in-1 Card Reader Controller Tw Td Thw Tsu Thr Read/Write Active Width Delay Time for Write Data Data Hold Time following IOW- Data Setup Time before IOR- Data Hold Time following IOR- 0 - 332 - 1 - 166 - 2 - 132 - 3 - 99 - 0 - - 0 1 - - 0 2 - - 0 3 - - 0 0 30 - 1 30 - - 2 15 - - 3 15 - - 0 20 - - 1 20 - - 2 20 - - 3 20 - - 0 8 - - 1 8 - - 2 8 - - 3 8 - - 6.4.9 Reset Timing Trst Extrstz Figure 6.8 - Timing Diagram of Reset Parameter Description Minimum Unit Trst This active low signal is used by the system to reset the chip; the active low pulse should be at least 1us wide. 1 us © 2000-2005 Genesys Logic Inc. - All rights reserved. Remark Page 22 GL816E USB 2.0 9-in-1 Card Reader Controller 6.4.10 93C46 Timing Tcss Tcsh Tcs \\;\\@’ \\\\\\\\\\\\\\\\\;\@;\\@’ CS llrhhhhhhhhhhhhhhhhhhhhhhhhflllr Tskh Tskl \\\\\\;\\\\@;\\\\@’ \\\\\\\\\\\\\ SK llllllahhhhhblllllahhhhhflllllll Tdis Tdih \\\;z@;z@’ \\\\\\\\\\\\\\\\\\\\\\ DI dddxdddddxdddddxdddddxdddddddddd Tpd0 Tpd1 \\\\\\;@’ \\\\\\\\\;@’ \\\\\\\\\\\ DO READ hhhhhhhhflllllllllllrhhhhhh^zzzz Tdf Tsv \\;\\@’ \\\\\\\\\\\\\\\\\\\\;@’ \\ DO zzzzzznddddddddddddddddddddddozz STATUS VALID PROGRAM Figure 6.9 - Timing Diagram of 93C46 Parameter Description Min Typ Max Tskh SK High Time 250 - - Tskl SK Low Time 250 - - Tcs Minimum CS Low Time 250 - - Tcss CS Setup Time 50 - - Tdis DI Setup Time 100 - - Tcsh CS Hold Time 0 - - Tdih DI Hold Time 100 - - Tpd1 Output Delay to “1” - - 250 Tpd0 Output Delay to “0” - - 250 Tsv CS to Status Valid - - 250 Tdf CS to DO in High Impedance - - 100 © 2000-2005 Genesys Logic Inc. - All rights reserved. Unit ns Page 23 GL816E USB 2.0 9-in-1 Card Reader Controller CHAPTER 7 PACKAGE DIMENSION D D1 A A2 D 96 65 64 97 B E2 E A E1 A1 0.05 S D2 GL816E XXXX XXXXX-XX G Date Code, YearWeek Lot Code Chip Green Version Package 4X 32 1 4X e 0- 1 b aaa C A B D bbb H A B D C ccc R1 R2 H GAGE PLANE 0.25mm S L 0- 3 NOTES : 1. DIMENSIONS D1 AND E1 DO NOT INCLUDE MOLD PROTRUSION. ALLOWABLE PROTRUSION IS 0.25 mm PER SIDE. D1 AND E1 ARE MAXIMUM PLASTIC BODY SIZE DIMENSIONS INCLUDING MOLD MISMATCH. 2. DIMENSION b DOES NOT INCLUDE DAMBAR PROTRUSION. ALLOWABLE DAMBAR PROTRUSION SHALL NOT CAUSE THE LEAD WIDTH TO EXCEED THE MAXIMUM b DIMENSION BY MORE THAN 0.08mm. DAMBAR CAN NOT BE LOCATED ON THE LOWER RADIUS OR THE FOOT. c ddd M C A B s D s 0- 0- 2 L1 33 128 SEATING PLANE C CONTROL DIMENSIONS ARE IN MILLIMETERS. MILLIMETER INCH SYMBOL MIN. NOM. MAX. MIN. NOM. MAX. A 1.60 0.063 A1 0.05 0.15 0.002 0.006 1.35 1.40 1.45 0.053 0.055 0.057 A2 D 16.00 BASIC 0.630 BASIC E 16.00 BASIC 0.630 BASIC D1 14.00 BASIC 0.551 BASIC E1 14.00 BASIC 0.551 BASIC D2 12.40 BASIC 0.488 BASIC E2 12.40 BASIC 0.488 BASIC R1 0.08 0.003 R2 0.08 0.20 0.003 0.008 00 3.5 7 0 3.5 7 0 0 0- 1 0- 2 11 12 13 11 12 13 0- 3 11 12 13 11 12 13 c 0.09 0.20 0.004 0.008 L 0.45 0.60 0.75 0.018 0.024 0.030 L1 1.00 REF 0.039 REF S 0.20 0.008 b 0.13 0.16 0.23 0.005 0.006 0.009 e 0.40 BASIC 0.016 BASIC TOLERANCES OF FORM AND POSITION aaa 0.20 0.008 bbb 0.20 0.008 ccc 0.08 0.003 ddd 0.07 0.003 Figure 7.1 - GL816E 128 Pin LQFP Package © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 24 GL816E USB 2.0 9-in-1 Card Reader Controller D D1 D2 A A2 102 65 103 64 -A- A1 0.05 s -D- -B- E E1 E2 GL816E XXXX XXXXX-XX G Date Code, YearWeek Lot Code Chip Green Version Package 128 39 b D e aaa C A-B D 38 4X 4X bbb H A-B D D 1 c ddd M C A-B s D s SEE DETAIL "F" -01 0D -C- SEATING PLANE ccc C -02 CONTROL DIMENSIONS ARE IN MILLIMETERS. MILLIMETER INCH SYMBOL R1 MIN. NOM. MAX. MIN. NOM. MAX. A 3.40 0.134 R2 0.010 A1 0.25 2.50 2.72 2.90 0.098 0.107 0.114 A2 D 23.20 BASIC 0.913 BASIC GAGE PLANE E 17.20 BASIC 0.677 BASIC S L D1 20.00 BASIC 0.787 BASIC 0.25 mm -03 E1 14.00 BASIC 0.551 BASIC L1 18.50 BASIC 0.728 BASIC D2 12.50 BASIC 0.492 BASIC E2 DETAIL "F" R1 0.13 0.30 0.005 0.012 R2 0.13 0.005 NOTES : 00 7 0 7 0- 1 0 0 1. DIMENSIONS D1 AND E1 DO NOT INCLUDE MOLD 0- 2 PROTRUSION. ALLOWABLE PROTRUSION IS 0.25 15 REF 15 REF mm PER SIDE. D1 AND E1 ARE MAXIMUM 0- 3 15 REF 15 REF PLASTIC BODY SIZE DIMENSIONS INCLUDING c 0.11 0.15 0.23 0.004 0.006 0.009 MOLD MISMATCH. L 0.73 0.88 1.03 0.029 0.035 0.041 L1 1.60 REF 0.063 REF 2. DIMENSION b DOES NOT INCLUDE DAMBAR 0.008 S 0.20 PROTRUSION. ALLOWABLE DAMBAR b 0.17 0.20 0.27 0.007 0.008 0.011 PROTRUSION SHALL NOT CAUSE THE LEAD e 0.50 BASIC 0.020 BASIC WIDTH TO EXCEED THE MAXIMUM b DIMENSION TOLERANCES OF FORM AND POSITION BY MORE THAN 0.08mm. DAMBAR CAN NOT BE aaa 0.20 0.008 LOCATED ON THE LOWER RADIUS OR THE FOOT. bbb 0.20 0.008 MINIMUM SPACE BETWEEN PROTRUSION AND ccc 0.08 0.003 AN ADJACENT LEAD IS 0.07mm. ddd 0.08 0.003 Figure 7.2 - GL816E 128 Pin PQFP Package © 2000-2005 Genesys Logic Inc. - All rights reserved. Page 25 GL816E USB 2.0 9-in-1 Card Reader Controller CHAPTER 8 ORDERING INFORMATION Table 8.1 - Ordering Information Part Number Package GL816E 128-pin LQFP GL816E 128-pin PQFP © 2000-2005 Genesys Logic Inc. - All rights reserved. Status Page 26