Your Imagination, Our Creation GL641USB USB ATA/ATAPI/ COMPACT FLASH CARD CONTROLLER SPECIFICATION REVISION 1.2 June 1, 2001 Genesys Logic, Inc. 10F, No.11, Ln.3, Tsao Ti Wei, Shenkeng, Taipei, Taiwan Tel: 886-2-2664-6655 Fax: 886-2-2664-5757 http://www.genesyslogic.com GL641USB INDEX 1. 2. 3. 4. 5. Revision 1.2 Features ........................................................................................2 Functional Overview ...................................................................3 PIN Definitions and Descriptions...............................................4 General Purpose I/O Ports .........................................................5 Package Diagram.........................................................................6 -1- June 1, 2001 GL641USB 1. Features • • • • • • • • • • • • • • • High performance and low cost solution for USB ATA / ATAPI / Compact Flash controller USB Specification Compliance − Conforms to USB 12Mbps Specification, Version 1.1 − Conforms to USB Storage Class Specification, Version 1.0 (bulk only protocol) − Supports 1 device address and 4 endpoints (include endpoint 0) Operating System Supported − Windows 2000 & Windows ME Supported by Microsoft default driver − Windows 98 & Windows 98 SE Supported by Genesys Logic USB Storage driver − Mac OS 9.X & Mac OS X Supported by Apple default driver or Genesys Logic USB Storage driver On-chip 3.3v output for USB D+ pulled up Integrated USB transceiver External EEPROM interface for customizing VID & PID of USB device Support ATA hard disk / ATAPI CD-ROM, CD-RW, MO / Compact Flash card in one chip Data transfer rate up to 1.1Mbytes/sec when read/write the USB storage device Improved output drivers with slew-rate control to reduce EMI 12 MHz external clock Internal power-on reset (POR) Internal power-fail detector Supports suspend/normal mode power management Available in cost saving 48-pins LQFP Suspend power consumption of bus powered CF card reader is less than 500µA (USB specification) Revision 1.2 -2- June 1, 2001 GL641USB 2. Functional Overview The GL641USB is a USB storage class controller that supports ATA/ATAPI/Compact Flash device. It is compliant to USB 12Mbps protocol and data transfer rate is up to 1.1Mbytes/Sec. It is also compliant to USB Storage Class Bulk Only protocol. There are 4 endpoints in GL641USB controller. Endpoint 0 is a Control endpoint for this controller. It is used to initialize this USB device. Endpoint 1 is a Bulk IN endpoint. It is used to read data from the storage device. Endpoint 2 is a Bulk OUT endpoint. It is used to issue SCSI packet command to the storage device and write data to the storage device. Endpoint 3 is an Interrupt IN endpoint and not used by USB Storage Class Bulk Only protocol currently. Microcontroller Endpoint 0 Control 8 Bytes FIFO ATA ATA ATAPI CF Interface USB Registers & FIFO Control Endpoint 1 Bulk IN 64 Bytes FIFO D+ USB Interface D- Endpoint 2 Bulk OUT 64 Bytes FIFO Endpoint 3 Interrupt IN 8 Bytes FIFO Figure 2-1 Block Diagram of GL641USB Revision 1.2 -3- June 1, 2001 GL641USB 3. PIN Definitions and Descriptions Pin No. 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 39 40 41 42 43 44 45 46 47 48 Name I/O Description PVDD PWR Power supplier for storage device interface D8 I/O Storage device data bus bit 8* D9 I/O Storage device data bus bit 9* D10 I/O Storage device data bus bit 10* D11 I/O Storage device data bus bit 11* PGND PWR Ground for storage device interface D12 I/O Storage device data bus bit 12* D13 I/O Storage device data bus bit 13* D14 I/O Storage device data bus bit 14* D15 I/O Storage device data bus bit 15* DIOR# O Storage device read strobe signal* DIOW# O Storage device write strobe signal* INTRQ I Storage device interrupt request signal* DVDD PWR 5V power supplier for internal logic DGND PWR Ground for internal logic Crystal out CLK Crystal clock output Crystal in CLK Crystal clock input GPIO1 I/O General purpose I/O 1 GPIO2 I/O General purpose I/O 2 V3.3 USB 3.3v power supplier for USB bus D+ USB D+ signal for USB DUSB D- signal for USB AVDD PWR 5V power supplier for USB interface AGND PWR Ground for USB interface GPIO3 I/O General purpose I/O 3 GPIO4 I/O General purpose I/O 4 TSTMODE I Used at test mode only EXTRST# I Used at test mode only GPIO8 I/O General purpose I/O 8 GPIO7 I/O General purpose I/O 7 GPIO6 I/O General purpose I/O 6 GPIO5 I/O General purpose I/O 5 DGND PWR Ground for internal logic DVDD PWR 5V power supplier for internal logic CS3FX# O Storage device register bank 3 selector* CS1FX# O Storage device register bank 1 selector* A0 O Storage device address bus bit 0* A1 O Storage device address bus bit 1* A2 O Storage device address bus bit 2* D0 I/O Storage device data bus bit 0* D1 I/O Storage device data bus bit 1* D2 I/O Storage device data bus bit 2* D3 I/O Storage device data bus bit 3* PGND PWR Ground for storage device interface D4 I/O Storage device data bus bit 4* D5 I/O Storage device data bus bit 5* D6 I/O Storage device data bus bit 6* D7 I/O Storage device data bus bit 7* Table 3-1 GL641USB Pin Definitions and Descriptions * Output voltage of this pin is equivalent to voltage supplied by PVDD. Input voltage of this pin can be from 0v to 5v, and it threshold is 1v ~ 2v. Therefore, these pins can support 3v/5v interface according to voltage of PVDD. Revision 1.2 -4- June 1, 2001 GL641USB 4. General Purpose I/O Ports The GL641USB interface with peripherals is conducted via up to 8 GPIO signals. Host driver can control all of these I/O pins directly. The GL641USB provides 3 vendor specific control transfer functions to host driver. One of these functions is used to set I/O pins direction. One is used to read data from I/O pins. And the other one is used to write data to I/O pins. GPIO1 is used as a power on strapping to distinguish the application is used for Compact Flash card or other ATA/ATAPI device. If this pin is pulled up when USB bus reset, GL641USB will treat the connected device is a Compact Flash card. Otherwise, GL641USB will assume the connected device is an ATA/ATAPI device. GPIO2 is used as power control signal for bus powered device, especially for Compact Flash card reader. Hence USB bus powered device must consume less than 500uA when suspend mode, power of the Compact Flash card should be turned off when system suspend. GPIO3 is connected to external reset pin of ATA/ATAPI/Compact Flash card. The GL641USB can only work at True IDE mode when Compact Flash card is connected. GPIO4~GPIO7 are used as serial EEPROM interface. System maker can write their own vendor ID and product ID into the serial EEPROM by a test program provided by Genesys Logic. GPIO8 is used for Compact Flash card reader. This pin is pulled up by a resistor on board and connected to ground when Compact Flash card is inserted. This is used as a card detection signal. Revision 1.2 -5- June 1, 2001 GL641USB 5. Package Diagram 48-LQFP D A1 0.25 E1 E D1 L L1 b Revision 1.2 A C1 SYVBOIS A A1 A2 C1 D D1 E E1 e b L L1 A2 e MIN MAX 1.6 0.15 1.45 0.16 0.05 1.35 0.09 9.00BSC 7.00BSC 9.00BSC 7.00BSC 0.5BSC 0.17 0.45 0.27 0.75 1 REF -6- June 1, 2001