eKF5280 USB2.0 Flash Controller Product Specification DOC. VERSION 1.0 ELAN MICROELECTRONICS CORP. February 2006 Trademark Acknowledgments: IBM is a registered trademark and PS/2 is a trademark of IBM. Windows is a trademark of Microsoft Corporation ELAN and ELAN logo are trademarks of ELAN Microelectronics Corporation Copyright © 2006 by ELAN Microelectronics Corporation All Rights Reserved Printed in Taiwan The contents of this specification are subject to change without further notice. ELAN Microelectronics assumes no responsibility concerning the accuracy, adequacy, or completeness of this specification. ELAN Microelectronics makes no commitment to update, or to keep current the information and material contained in this specification. Such information and material may change to conform to each confirmed order. In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors, omissions, or other inaccuracies in the information or material contained in this specification. ELAN Microelectronics shall not be liable for direct, indirect, special incidental, or consequential damages arising from the use of such information or material. The software (if any) described in this specification is furnished under a license or nondisclosure agreement, and may be used or copied only in accordance with the terms of such agreement. ELAN Microelectronics products are not intended for use in life support appliances, devices, or systems. Use of ELAN Microelectronics product in such applications is not supported and is prohibited. NO PART OF THIS SPECIFICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS. ELAN MICROELECTRONICS CORPORATION Headquarters: Hong Kong: USA: No. 12, Innovation Road 1 Hsinchu Science Park Hsinchu, Taiwan 30077 Tel: +886 3 563-9977 Fax: +886 3 563-9966 http://www.emc.com.tw Elan (HK) Microelectronics Corporation, Ltd. Flat A, 19/F., World Tech Centre 95 How Ming Street, Kwun Tong Kowloon , HONG KONG Tel: +852 2723-3376 Fax: +852 2723-7780 [email protected] Elan Information Technology Group (USA) Europe: Shenzhen: Shanghai: Elan Microelectronics Corp. (Europe) Elan Microelectronics Shenzhen, Ltd. Elan Microelectronics Shanghai, Ltd. Siewerdtstrasse 105 8050 Zurich, SWITZERLAND Tel: +41 43 299-4060 Fax: +41 43 299-4079 http://www.elan-europe.com SSMEC Bldg., 3F, Gaoxin S. Ave. Shenzhen Hi-Tech Industrial Park Shenzhen, Guandong, CHINA Tel: +86 755 2601-0565 Fax: +86 755 2601-0500 23/Bldg. #115 Lane 572, Bibo Road Zhangjiang Hi-Tech Park Shanghai, CHINA Tel: +86 21 5080-3866 Fax: +86 21 5080-4600 1821 Saratoga Ave., Suite 250 Saratoga, CA 95070 USA Tel: +1 408 366-8225 Fax: +1 408 366-8220 Contents Contents 1 Description..................................................................................................... 1 2 Features ......................................................................................................... 1 3 Unique Function Descriptions...................................................................... 2 4 Applications ................................................................................................... 3 5 Pin Configuration and Assignment.............................................................. 3 6 Pin Descriptions ............................................................................................ 4 7 Function Block Diagram ............................................................................... 5 8 DC Electrical Characteristic.......................................................................... 6 9 8.1 MISC ...................................................................................................................6 8.2 I/O8......................................................................................................................6 8.3 I/O12....................................................................................................................6 8.4 I/O10....................................................................................................................7 8.5 I/O-U5..................................................................................................................7 8.6 I/O-U50................................................................................................................7 8.7 I-L ........................................................................................................................7 8.8 I-S........................................................................................................................7 Absolute Maximum Ratings.......................................................................... 8 10 Flash Compatibility Support with Samsung, Hynix, ST and Toshiba ....... 8 11 Application Circuit......................................................................................... 9 Product Specification (V1.0) 02.23.2006 • iii Contents Specification Revision History Doc. Version 1.0 iv • Revision Description Initial Released Version Date 2006/02/23 Product Specification (V1.0) 02.23.2006 eKF5280 USB2.0 Flash Controller 1 Description The eKF5280 Flash Controller provides a high-performance interface for bridging USB2.0 and NAND Flash compliance device, thus allowing the device to implement flash memory storage function through USB interface. The eKF5280 contains an 8bit RISC processor which could significantly reduce efforts of firmware development. Furthermore, the Controller is embedded with a Phase Lock Loop (PLL). The PLL provides all the internal clocks needed by the Controller. However, the required 12 MHz external clock has to be provided externally. The eKF5280 is capable of controlling up to 8 pieces of NAND Flash memory with flash capacity ranging from 16M bytes to 512M bytes. The Controller can be available in a number of feature combinations to accommodate customer’s requirements. It has been optimized to support Toshiba, Samsung and Hynix/ST SLC (single level cell) flash memory designs. The controller has a write-protect feature for preventing accidental writing to flash. 2 Features USB Specification v2.0 Compliant USB Mass Storage Class v1.0 Compliant Supports 480 MBits/s Full High Speed Serial Data Transmission Support USB Mass Storage Class Bulk-Only Spec USB bus-powered capability Build in PLL used to generate clock for USB and MCU Oscillator: 12MHz Supports a total of 4 Endpoints: • Endpoint 0 is the default control endpoint • Endpoint 1 is the Bulk-in endpoint • Endpoint 2 is the Bulk-out endpoint • Endpoint 3 is the Interrupt-in endpoint Support ping-pong buffer(two 2120x8 bits) for data transfer to/from NAND Flash Support up to 8 pieces of NAND Flash memory 1 LED sink pins with internal serial resistor Support wear leveling Support write-protected ability Higher reliability: ECC on the fly Support untested/downgrade NAND Flash Embedded 5-3.3 regulator, and 3.3-2.5 regulator One 8-bit general purpose timer Product Specification (V1.0) 02.23.2006 (This specification is subject to change without further notice) •1 eKF5280 USB2.0 Flash Controller Supports saving power (SLEEP) mode 8K x 13 on chip ROM (Program) 8-Level stack for subroutine nesting MCU runs at 30MHz Performance: Read (11M Bytes/s), Write (8M Bytes/s) Max Supported OS: Win XP, Win 2000, Win ME, and MAC OS 9.0 & higher. Win 98 driver available upon request. Package:LQFP48 (7mm * 7mm) 3 Unique Function Descriptions The following special features may be implemented to assist system manufactures in making high quality, low cost USB storage systems. The eKF5280 supports down-graded/untested NAND Flash. During testing of the target NAND flash, if a flawed block is found, the controller will mark and isolate this defective block. Consequently, the isolated block is excluded from operation thereafter. The test software for this function is included in the supporting programs provided with the controller. To reduce cost and increase performance & reliability, the eKF5280 is equipped with a built-in SRAM Look-Up-Table to support logical-to-physical address translation. The eKF5280 is also embedded with a built-in ECC function. The real time ECC correction maintains the data integrity while preserving the high data transfer rate at the same time. A wear-level algorithm is implemented in the eKF5280 firmware to prevent oxide degradation and subsequent failure from numerous repetitions of flash erase/ programming operation on the same block at high voltage. This algorithm updates the data of a block into different new physical links to alleviate repetitive cycling on the same block. The eKF5280 is also equipped with a built-in 5 volt to 3.3 volt regulator. So there is no need for an external regulator. Hence your BOM cost is reduced. No additional driver is required for eKF5280 operation. It works readily with Win XP, Win 2000, Win ME, and MAC OS 9.0 & higher (Win 98 is also supported after installing a separate driver). 2• Product Specification (V1.0) 02.23.2006 (This specification is subject to change without further notice) eKF5280 USB2.0 Flash Controller 4 Applications NAND Flash Controller Smart Media Controller GNDA RPU DMRS DPRS VCCA VCCA GNDA VCC33 VBUS VCC25 NC WPS 5 Pin Configuration and Assignment 48 47 46 45 44 43 42 41 40 39 38 37 LED 1 36 DP TEST 2 35 DM NF_D7 NF_D6 3 34 RREF 4 GNDA NF_D5 5 33 32 NF_D4 NF_D3 6 31 OSCO 30 OSCI NF_D2 8 GNDKB NF_D1 9 29 28 NF_D0 10 27 NF_RnB NF_WPn 11 26 NF_REn NF_WEn 12 25 NF_CEn0 eKF5280 7 VCCA VCCKB NF_CEn1 NF_CEn2 NF_CEn3 NF_CEn4 NF_CEn5 NF_CEn6 NF_CEn7 NF_CLE RESET VCCIO GNDKB NF_ALE 13 14 15 16 17 18 19 20 21 22 23 24 Figure 4-1 eKF5280 Pin Configuration and Assignment Product Specification (V1.0) 02.23.2006 (This specification is subject to change without further notice) •3 eKF5280 USB2.0 Flash Controller 6 Pin Descriptions Pin Name I/O Type Description Remarks Power and Ground Pin VBUS - USB bus power 5.0V VCCA - Internal regulator output for analog supply voltage 3.3V GNDA - Analog ground VCCKB - Internal regulator output for transceiver digital core GNDKB - Digital ground VCCIO - Internal regulator output for I/O port 3.3V VCC25 - Internal regulator output for digital core 2.5V VCC33 - Internal regulator output 3.3V 2.5V - USB Analog Signal DP I/O USB plus data line interface - DM I/O USB minus data line interface - USB1.1 data in data positive pin terminal, connected to external resistor(39Ω±5%) USB1.1 data in data negative pin terminal, connected to external resistor (39Ω±5%) DPRS I DMRS I RPU I Connect external resistor (1.5KΩ±5%) to AVCC - RREF I Connect external reference resistor (12.1 KΩ±1%) to analog ground(GNDA) - - NAND Flash Interface Signal NF_CEn0~7 I/O Chip enable for NAND Flash I/O8 NF_RnB I NAND Flash Ready or Busy I/O-U5 NF_REn O Read enable for NAND Flash I/O12 NF_CLE O Command latch enable for NAND Flash I/O12 NF_ALE O Address latch enable for NAND Flash I/O12 NF_WEn O Write enable for NAND Flash I/O12 NF_WPn O Write protect for NAND Flash I/O8 NF_D0~7 I/O Data input/output for NAND Flash I/O12 Miscellaneous LED O LED sink pin OSCI I Crystal input terminal or external clock input - OSCO O Output terminal for crystal oscillator or external clock - WPS I Write protect switch TEST I TEST Pin RESET 4• I I/O10 I/O-U50 I/O-L nd Reset Pin (2 reset source in case of POR failure) I-S Product Specification (V1.0) 02.23.2006 (This specification is subject to change without further notice) eKF5280 USB2.0 Flash Controller 7 Function Block Diagram Figure 6-1 eKF5280 Functional Block Diagram Product Specification (V1.0) 02.23.2006 (This specification is subject to change without further notice) •5 eKF5280 USB2.0 Flash Controller 8 DC Electrical Characteristic 8.1 MISC (Ta=0°C~70°C, VD=3.3V, VSS=0V) Symbol Parameter Condition Min Typ Max Unit VBUS USB bus power 4.4 5.0 5.25 V VCC33 3.3-V Regulator output 3.0 3.3 3.6 V 2.5-V Regulator output 2.25 2.5 2.75 V 150 mA 100 mA ±1 µA VCC25 ICC33 ICC25 Operating supply current for 3.3V Regulator Operating supply current for 2.5V Regulator IIL Input Leakage Current VIN = VD, VSS VIHX Clock Input High Voltage OSCI VILX Clock Input Low Voltage OSCI 1.0 V Power down current All input and I/O pin at VD, WDT 150 µA 110 mA Max Unit 0.8 V ISB 2.5 V enabled ICC Operating supply current 8.2 I/O8 Symbol Parameter VIH Input High Voltage VIL Input Low Voltage Condition Min Typ 2.0 VOH Output High Voltage IOH = -8.0mA VOL Output Low Voltage IOL = 8.0mA V 2.4 V 0.4 V Max Unit 0.8 V 8.3 I/O12 Symbol 6• Parameter VIH Input High Voltage VIL Input Low Voltage Condition Min Typ 2.0 VOH Output High Voltage IOH = -12.0mA VOL Output Low Voltage IOL = 12.0mA V 2.4 V 0.4 V Product Specification (V1.0) 02.23.2006 (This specification is subject to change without further notice) eKF5280 USB2.0 Flash Controller 8.4 I/O10 Symbol Parameter VIH Input High Voltage VIL Input Low Voltage Condition Min Typ Max Unit 2.0 V 0.8 VOH Output High Voltage IOH = -8.0mA 2.4 VOL Output Low Voltage IOL = 10.0mA -10% V V 1.3 10% V 8.5 I/O-U5 Symbol VIH VIL VOH VOL Ru Parameter Input High Voltage Input Low Voltage Output High Voltage Output Low Voltage Condition Min Typ Max Unit 2.0 0.4 V V V V 0.8 IOH = -8.0mA IOL = 8.0mA Pull-high resistor(For NF_RnB Pin) 2.4 -20% 5 +20% KΩ Min Typ Max Unit 8.6 I/O-U50 Symbol Parameter VIH Input High Voltage VIL VOH VOL Input Low Voltage Output High Voltage Output Low Voltage Ru Condition 2.0 V 0.8 IOH = -8.0mA IOL = 8.0mA Pull-high resistor(For WPS Pin) 0.4 V V V 2.4 -20% 50 +20% KΩ Min Typ Max Unit -20% 10 +20% KΩ 8.7 I-L Symbol Parameter Rd Pull-low resistor Condition 8.8 I-S Symbol VIH VIL Parameter Min Typ Max Unit Output Schmitt trigger Input High Voltage 2.0 V 0V Schmitt trigger Input Low Voltage 0.7 V 2.5V Product Specification (V1.0) 02.23.2006 (This specification is subject to change without further notice) •7 eKF5280 USB2.0 Flash Controller 9 Absolute Maximum Ratings Operating temperature: 0°C to 70°C Storage temperature: -65°C to 150°C Input voltage: -0.5V to +6.0V Output voltage: -0.5V to +6.0V 10 Flash Compatibility Support with Samsung, Hynix, ST and Toshiba Part number 16MB 32MB 64MB K9F2808U0C K9F5608U0B K9F5608U0C K9F1208U0M K9F1208U0A(B,C) K9F1G08U0M K9K1G08U0M Samsung 128MB K9F1G08U0A K9K1G08U0A K9T1G08U0M 256MB K9K2G08U0A K9F2G08U0M K9F4G08U0M 512MB K9W4G08U1M 32MB HY27US08561M 64MB HY27US08121M K9K4G08U0M Hynix 128MB 256MB ST HY27UB082G4M HY27UG082G2M HY27UH084G2M 64MB NAND512W3A 128MB 256MB 512MB 8• HY27UF081G2M 512MB 128MB Toshiba HY27UA081G1M NAND01GW3A NAND01GW3B TC58NVG0S3AFT05 TH58NVG1S3AFT(00/05) TC58NVG1S3BFT00 TH58NVG2S3BFT00 Product Specification (V1.0) 02.23.2006 (This specification is subject to change without further notice) eKF5280 USB2.0 Flash Controller 11 Application Circuit 3.3VA C3 0.1uF AGND 3.3VA 3.3VD C8 C4 C5 0.1uF + 0.1uF 10uF DGND DGND 2.5VD C6 VBUS C1 C2 + 0.1uF J1 1 2 3 4 SGND C7 0.1uF AGND S U B V + 10uF DGND DGND S1 10uF 2 3 SGND 3.3VD A LED R3 39 D1 DGND NF_D7C NF_D6 NF_D5 NF_D4 NF_D3 NF_D2 NF_D1 NF_D0 1 2 3 4 5 6 7 8 9 10 11 12 NF_WPn NF_WEn S C 5 S 3 A A A S P N 2 U 3 CDCR B C NC P W C LED1 C V CC V V VGV D TEST NF_D7 NF_D6 NF_D5 NF_D4 eKF5280 NF_D3 NF_D2 NF_D1 NF_D0 NF_WPn NF_WEn 7 6 5 4 E n n n n E B T L E E E E L KO I CCCCC A _ DC E S _ _ _ _ _ F NC E F F F F F NGV RNNNNN S U A R P D MRN D G 3 n E C _ F N 36 35 34 33 32 31 30 29 28 27 26 25 DP DM RREF GNDA VCCA OSCO OSCI GNDKB VCCKB NF_RnB NF_REn NF_CEn0 1 n E C _ F N 2 n E C _ F N 3.3VA AGND 8 7 6 5 4 3 2 1 0 9 8 7 U1 4 4 4 4 4 4 4 4 4 3 3 3 R5 110 DM R2 1.5K USB(A Plug) SGND DP 3~80pF SW SPDT DGND DM DP R4 39 C9 D N G A 1 3.3VD DP DM R1 12.1K AGND 3.3VA OSCO OSCI C10 DGND 0.1uF 2.5VD NF_RnB C11 NF_REn AGND 0.1uF NF_CEn0 DGND 3 4 5 6 7 8 9 0 1 2 3 4 1 1 1 1 1 1 1 2 2 2 2 2 E L A _ F N DGND 4 n E C _ F N 3 n E C _ F N 2 n E C _ F N 1 n E C _ F N C12 0.1uF DGND NF_RnB NF_REn NF_CEn0 NF_CLE NF_ALE NF_WEn NF_WPn 7 8 9 16 17 18 19 3 10 15 22 27 34 39 46 I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 R/B RE CE CLE ALE WE WP NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC VCC VCC VSS VSS VSS 11 14 20 21 23 24 25 26 28 33 35 38 40 45 47 48 NF_RnB NF_REn NF_CEn1 NF_CLE NF_ALE NF_WEn NF_WPn 37 12 3.3VD 36 13 6 C16 C17 0.1uF 0.1uF NF_RnB NF_REn NF_CEn4 NF_CLE NF_ALE NF_WEn NF_WPn 7 8 9 16 17 18 19 3 10 15 22 27 34 39 46 R/B RE CE CLE ALE WE WP NC NC NC NC NC NC NC NC AGND 29 30 31 32 41 42 43 44 7 8 9 16 17 18 19 3 10 15 22 27 34 39 46 I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 R/B RE CE CLE ALE WE WP NC NC NC NC NC NC NC NC U4 NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC VCC VCC VSS VSS VSS NF_D0 NF_D1 NF_D2 NF_D3 NF_D4 NF_D5 NF_D6 NF_D7 1 2 4 5 11 14 20 21 23 24 25 26 28 33 35 38 40 45 47 48 NF_RnB NF_REn NF_CEn2 NF_CLE NF_ALE NF_WEn NF_WPn 37 12 7 8 9 16 17 18 19 3 10 15 22 27 34 39 46 3.3VD 36 13 6 29 30 31 32 41 42 43 44 C18 C19 0.1uF 0.1uF Flash DGND I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 C15 AGND 3.3VD DGND NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC VCC VCC VSS VSS VSS NF_D0 NF_D1 NF_D2 NF_D3 NF_D4 NF_D5 NF_D6 NF_D7 1 2 4 5 11 14 20 21 23 24 25 26 28 33 35 38 40 45 47 48 NF_RnB NF_REn NF_CEn5 NF_CLE NF_ALE NF_WEn NF_WPn 37 12 3.3VD 36 13 6 C24 C25 0.1uF 0.1uF Flash 29 30 31 32 41 42 43 44 7 8 9 16 17 18 19 3 10 15 22 27 34 39 46 I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 R/B RE CE CLE ALE WE WP NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC VCC VCC VSS VSS VSS NF_D0 NF_D1 NF_D2 NF_D3 NF_D4 NF_D5 NF_D6 NF_D7 1 2 4 5 11 14 20 21 23 24 25 26 28 33 35 38 40 45 47 48 NF_RnB NF_REn NF_CEn3 NF_CLE NF_ALE NF_WEn NF_WPn 37 12 3.3VD 36 13 6 C20 C21 0.1uF 0.1uF 29 30 31 32 41 42 43 44 7 8 9 16 17 18 19 3 10 15 22 27 34 39 46 NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC VCC VCC VSS VSS VSS NF_D0 NF_D1 NF_D2 NF_D3 NF_D4 NF_D5 NF_D6 NF_D7 1 2 4 5 11 14 20 21 23 24 25 26 28 33 35 38 40 45 47 48 NF_RnB NF_REn NF_CEn6 NF_CLE NF_ALE NF_WEn NF_WPn 37 12 3.3VD 36 13 6 C26 C27 0.1uF 0.1uF 29 30 31 32 41 42 43 44 7 8 9 16 17 18 19 3 10 15 22 27 34 39 46 I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 R/B RE CE CLE ALE WE WP NC NC NC NC NC NC NC NC I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 R/B RE CE CLE ALE WE WP NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC VCC VCC VSS VSS VSS 1 2 4 5 11 14 20 21 23 24 25 26 28 33 35 38 40 45 47 48 37 12 3.3VD 36 13 6 C22 C23 0.1uF 0.1uF Flash DGND DGND DGND U8 DGND U9 NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC VCC VCC VSS VSS VSS NF_D0 NF_D1 NF_D2 NF_D3 NF_D4 NF_D5 NF_D6 NF_D7 1 2 4 5 11 14 20 21 23 24 25 26 28 33 35 38 40 45 47 48 NF_RnB NF_REn NF_CEn7 NF_CLE NF_ALE NF_WEn NF_WPn 37 12 3.3VD 36 13 6 C28 C29 0.1uF 0.1uF Flash DGND DGND R/B RE CE CLE ALE WE WP U5 NC NC NC NC DGND Flash DGND I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 Flash DGND U7 NC NC NC NC 20P DGND NF_D0 NF_D1 NF_D2 NF_D3 NF_D4 NF_D5 NF_D6 NF_D7 1 2 4 5 U6 29 30 31 32 41 42 43 44 12MHz C14 U3 NC NC NC NC Flash NF_D0 NF_D1 NF_D2 NF_D3 NF_D4 NF_D5 NF_D6 NF_D7 R7 10uF U2 29 30 31 32 41 42 43 44 20P C13 + 3.3VD NF_D0 NF_D1 NF_D2 NF_D3 NF_D4 NF_D5 NF_D6 NF_D7 OSCI OSCO Q1 E 7 6 5 L n n n E E C _ E C _ _ C _ F C N F F F NNN DGND 29 30 31 32 41 42 43 44 7 8 9 16 17 18 19 3 10 15 22 27 34 39 46 I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 R/B RE CE CLE ALE WE WP NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC VCC VCC VSS VSS VSS 1 2 4 5 11 14 20 21 23 24 25 26 28 33 35 38 40 45 47 48 37 12 3.3VD 36 13 6 C30 C31 0.1uF 0.1uF Flash DGND DGND DGND DGND Figure 11-1 eKF5280 Application Circuit Product Specification (V1.0) 02.23.2006 (This specification is subject to change without further notice) •9 eKF5280 USB2.0 Flash Controller 10 • Product Specification (V1.0) 02.23.2006 (This specification is subject to change without further notice)