CY7C68023/CY7C68024
EZ-USB NX2LP™ USB 2.0 NAND Flash Controller
EZ-USB NX2LP™ USB 2.0 NAND Flash Controller
Features
■ ■
■ ■ ■ ■ ■
43 mA Typical Active Current Space Saving and Pb-free 56-QFN Package (8 mm × 8 mm) Support for Board-level Manufacturing test through USB Interface 3.3 V NAND Flash Operation NAND Flash Power Management Support
High (480-Mbps) or Full (12-Mbps) Speed USB Support Both Common NAND Page Sizes Supported ❐ 512 bytes — Up to 1 Gbit Capacity ❐ 2K bytes — Up to 8 Gbit Capacity Eight Chip Enable Pins ❐ Up to 8 NAND Flash Single Device Chips ❐ Up to 4 NAND Flash Dual Device Chips Industry Standard ECC NAND Flash Correction ❐ 1 bit per 256 correction ❐ 2 bit error detection Industry Standard (SmartMedia) Page Management for Wear Leveling Algorithm, Bad Block Handling, and Physical to Logical management Supports 8-bit NAND Flash Interfaces Supports 30 ns, 50 ns, and 100 ns NAND Flash Timing Complies with USB Mass Storage Class Specification rev 1.0 CY7C68024 Complies with USB 2.0 Specification for Bus-Powered Devices (TID# 40460274)
■
Introduction
The EZ-USB NX2LPNX2LP implements a USB 2.0 NAND Flash controller. This controller adheres to the Mass Storage Class Bulk-Only Transport Specification. The USB port of the NX2LP is connected to a host computer directly or through the downstream port of a USB hub. Host software issues commands and data to the NX2LP and receives status and data from the NX2LP using standard USB protocol. The NX2LP supports industry leading 8-bit NAND Flash interfaces and both common NAND page sizes of 512 and 2k bytes. Eight chip enable pins allow the NX2LP to be connected to up to eight single or four dual device NAND Flash chips. Certain NX2LP features are configurable, enabling the NX2LP to meet the needs of different design requirements.
■
■
■ ■ ■ ■
NX2LP Block Diagram
Chip Reset
Write Protect LED2#
24 MHz Xtal
LED1# PLL
EZ-USB NX2LP Internal Control Logic
Control NAND Control Signals
NAND Flash Interface Logic
Chip Enable Signals
VBUS D+ D-
USB 2.0 Xceiver
Smart HS/ FS USB Engine
Data
8-bit Data Bus
Cypress Semiconductor Corporation Document #: 38-08055 Rev. *E
•
198 Champion Court
•
San Jose, CA 95134-1709 • 408-943-2600 Revised March 29, 2011
[+] Feedback
CY7C68023/CY7C68024
Pin Assignments
Figure 1. 56-pin QFN
Reserved 44
CE7#
CE6#
CE5#
CE4#
CE3#
CE2#
CE1#
CE0# 45
GND
GND
VCC
56
55
54
53
52
51
50
49
48
47
46
R_B1# R_B2# AVCC XTALOUT XTALIN AGND AVCC DPLUS DMINUS AGND VCC GND N/C GND
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 24 25 26 27 21 28
43 42 41 40 39 38 37 36 35 34 33 32 31 30 29
VCC
N/C
RESET# GND N/C N/C WP_SW# WP_NF# LED2# LED1# ALE CLE VCC RE1# RE0# WE#
GND
Reserved
Pin Descriptions
Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Name R_B1#[1] R_B2# AVCC XTALOUT XTALIN AGND AVCC DPLUS DMINUS AGND VCC GND N/C GND Reserved Type I I PWR Xtal Xtal GND PWR I/O I/O GND PWR GND N/A GND N/A Default State at Startup Z Z PWR N/A N/A GND PWR Z Z GND PWR GND N/A GND N/A Description Ready/Busy 1 (2.2k to 4k pull up resistor is required) Ready/Busy 2 (2.2k to 4k pull up resistor is required) Analog 3.3 V supply Crystal output Crystal input Ground Analog 3.3 V supply USB D+ USB DGround 3.3 V supply Ground No connect Ground Must be tied HIGH (no pull up resistor required)
Note 1. A # sign after the pin name indicates that it is an active LOW signal.
Document #: 38-08055 Rev. *E
Reserved
GND
VCC
VCC
DD0
DD1
DD2
DD3
DD4
DD5
DD6
DD7
Page 2 of 10
[+] Feedback
CY7C68023/CY7C68024
Pin Descriptions (continued)
Pin 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 49 50 51 52 53 54 55 56 Name Reserved VCC DDO DD1 DD2 DD3 DD4 DD5 DD6 DD7 GND VCC GND WE# RE0# RE1# VCC CLE ALE LED1# LED2# WP_NF# WP_SW# N/C N/C GND RESET# VCC Reserved CE0# CE1# CE2# CE3# CE4# CE5# CE6# CE7# GND N/C VCC GND Type N/A PWR I/O I/O I/O I/O I/O I/O I/O I/O GND PWR GND O O O PWR O O O O O I N/A N/A GND I PWR N/A O O O O O O O O GND N/A PWR GND Default State at Startup N/A PWR Z Z Z Z Z Z Z Z GND PWR GND H H H PWR Z Z Z Z Z Z N/A N/A GND Z PWR N/A Z Z Z Z Z Z Z Z GND N/A PWR GND Description Must be tied HIGH (no pull up resistor required) 3.3 V supply Data 0 Data 1 Data 2 Data 3 Data 4 Data 5 Data 6 Data 7 Ground 3.3 V supply Ground Write enable Read Enable 0 Read Enable 1 3.3 V supply Command latch enable Address latch enable Data activity LED sink Chip active LED sink Write-protect NAND Flash Write-protect switch input No connect No connect Ground NX2LP chip reset 3.3 V supply Must be tied HIGH Chip enable 0 Chip enable 1 Chip enable 2 Chip enable 3 Chip enable 4 Chip enable 5 Chip enable 6 Chip enable 7 Ground No connect 3.3 V supply Ground
Document #: 38-08055 Rev. *E
Page 3 of 10
[+] Feedback
CY7C68023/CY7C68024
Additional Pin Descriptions
DPLUS, DMINUS DPLUS and DMINUS are the USB signaling pins, and they should be tied to the D+ and D– pins of the USB connector. Because they operate at high frequencies, the USB signals require special consideration when designing the layout of the PCB. General guidelines are given at the end of this document. Figure 2. XTALIN, XTALOUT Diagram CLE The Command Latch Enable output pin is used to indicate that the data on the I/O bus is a command. The data is latched into the NAND Flash control register on the rising edge of WE# when CLE is HIGH. ALE The Address Latch Enable output pin is used to indicate that the data on the I/O bus is an address. The data is latched into the NAND Flash address register on the rising edge of WE# when ALE is HIGH. LED1# The Data Activity LED output pin is used to indicate data transfer activity. LED1# is asserted LOW at the beginning of a data transfer, and set to a high Z state when the transfer is complete. If this functionality is not utilized, leave LED1# floating. LED2# The Chip Active LED output pin is used to indicate proper device operation. LED2# is asserted LOW when the NX2LP is powered and initialized. It is placed in a high Z state under all other conditions. If this functionality is not used, leave LED2# floating. WP_NF#
XTALIN XTALOUT
24-MHz Xtal
12 pF
12 pF
12-pF capacitor values assume a trace capacitance of 3 pF per side on a four-layer FR4 PCB
The NX2LP requires a 24 MHz (±100 ppm) signal to derive internal timing. Typically, a 24 MHz (20 pF, 500 W, parallel-resonant fundamental mode) crystal is used, but a 24 MHz square wave from another source can also be used. If a crystal is used, connect its pins to XTALIN and XTALOUT, and also through 12 pF capacitors to GND. If an alternate clock source is used, apply it to XTALIN and leave XTALOUT open. Data[7-0] The Data[7-0] I/O pins provide an 8-bit interface to a NAND Flash device. These pins are used to transfer address, command, and read/write data between the NX2LP and NAND Flash. R_B[2-1]# The Ready/Busy input pins are used to determine the state of the currently selected NAND Flash device. These pins must be pulled HIGH through a 2k-4k resistor. These pins are pulled LOW by the NAND Flash when it is busy. WE# The Write Enable output pin is used by the NAND Flash to latch commands, address, and data during the rising edge of the pulse. RE[1-0]# The Read Enable output pins are used to control the data flow from the NAND Flash devices. The device presents valid data and increments its internal column address counter by one step on each falling edge of the Read Enable pulse. A 10k pull up is an option For RE1-0#.
The Write-protect NAND Flash output pin is used to control the write-protect pins on NAND Flash devices. This pin should be tied to the Write Protect pins of the NAND Flash devices. If WP_SW# is asserted LOW during a data transfer, or if internal operations are still pending, the NX2LP waits until the operation is complete before asserting WP_NF# to ensure that there is no data loss or risk of OS error. WP_SW# The Write-protect Switch input pin is used to select whether or not NAND Flash write-protection is enabled by the NX2LP. When the pin is asserted LOW, the NX2LP reports to the host that the NAND Flash is write-protected, the WP_NF# is driven LOW, and any attempts to write to the configuration data memory area are blocked by the NX2LP. If this pin is asserted LOW during a data transfer, or if internal operations are still pending, the NX2LP waits until the operation is complete before asserting WP_NF# to ensure that there is no data loss or risk of OS error. CE[7-0]# The Chip Enable output pins are used to select the NAND Flash that the NX2LP interfaces. Unused Chip Enable pins should be left floating. RESET# Asserting RESET# for 10 ms resets the NX2LP. A reset and/or watchdog chip is recommended to ensure that startup and brownout conditions are properly handled.
Document #: 38-08055 Rev. *E
Page 4 of 10
[+] Feedback
CY7C68023/CY7C68024
Applications
The NX2LP is a high speed USB 2.0 peripheral device that connects NAND Flash devices to a USB host using the USB Mass Storage Class protocol.
Manufacturing Mode
In Manufacturing mode, the NX2LP enumerates using the default descriptors and configuration data that are stored in internal ROM. This mode enables first-time programming of the configuration data memory area, and board-level manufacturing tests. A unique USB serial number is required for each device in order to comply with the USB Mass Storage specification. Cypress also requires designers to use their own Vendor ID for final products. The Vendor ID is obtained through registration with the USB Implementor’s Forum (USB-IF), and the Product ID is determined by the designer. Cypress provides all the software tools and drivers necessary for properly programming and testing the NX2LP. Refer to the documentation in the development or reference design kit for more information on these topics. Figure 3. NX2LP Enumeration Process
Start-up
Additional Resources
■ ■ ■ ■
CY3685 EZ-USB NX2LP Development Kit CY4618 EZ-USB NX2LP Reference Design Kit USB Specification version 2.0 USB Mass Storage Class Bulk Only Transport Specification, http://www.usb.org/developers/devclass_docs/usbmassbulk_10.pdf .
Functional Overview
USB Signaling Speed
The NX2LP operates at two of the three rates defined in the USB Specification Revision 2.0 dated April 27, 2000:
■ ■
Full speed, with a signaling bit rate of 12 Mbits/sec High speed, with a signaling bit rate of 480 Mbits/sec.
Yes NAND Flash Present? No
The NX2LP does not support the low speed signaling rate of 1.5 Mbits/sec.
NAND Flash Interface
During normal operation the NX2LP supports an 8-bit I/O interface, eight chip enable pins, and other control signals compatible with industry standard NAND Flash devices.
Enumeration
During the startup sequence, internal logic checks for the presence of NAND Flash with valid configuration data in the configuration data memory area. If valid configuration data is found, the NX2LP uses the values stored in NAND Flash to configure the USB descriptors for normal operation as a USB mass storage device. If no NAND Flash is detected, or if no valid configuration data is found in the configuration data memory area, the NX2LP uses the default values from internal ROM space for manufacturing mode operation. The two modes of operation are described in the following sections.
NAND Flash Programmed? No
Yes
Load Custom Descriptors and Configuration Data
Load Default Descriptors and Configuration Data
Normal Operation Mode
In Normal Operation Mode, the NX2LP behaves as a USB 2.0 Mass Storage Class NAND Flash controller. This includes all typical USB device states (powered, configured, and so on). The USB descriptors are returned according to the data stored in the configuration data memory area. Normal read and write access to the NAND Flash is available in this mode.
Enumerate As USB Mass Storage Device
Enumerate As Generic NX2LP Device
Normal Operation Mode
Manufacturing Mode
Document #: 38-08055 Rev. *E
Page 5 of 10
[+] Feedback
CY7C68023/CY7C68024
Configuration Data
Certain features in the NX2LP can be configured by the designer to disable unneeded features, and to comply with the USB 2.0 specification’s descriptor requirements for mass storage devices. Table 1 lists the variable configuration data and the default values that are stored in internal ROM space. The default ROM values are returned by an unprogrammed NX2LP device. Table 1. Variable Configuration Data And Default ROM Values Configuration Data Vendor ID Product ID Serial Number Manufacturer String Product String Enable Write Protection SCSI Device Name Description USB Vendor ID (Assigned by USB-IF) USB Product ID (Assigned by designer) USB serial number Manufacturer string in USB descriptors Product string in USB descriptors Enables write protection capability String shown in the device manager properties Default ROM Value 0x04B4 (Cypress) 0x6813 N/A N/A N/A Enabled N/A
Design Notes For The Quad Flat No Lead (QFN) Package
The NX2LP comes in a 56-pin QFN package, which utilizes a metal pad on the bottom to aid in heat dissipation. The low-power operation of the NX2LP makes the thermal pad on the bottom of the QFN package unnecessary. Because of this, PCB layout may utilize the space under the NX2LP for routing signals as needed, provided that any traces or vias under the thermal pad are covered by solder mask or other material to prevent shorting. Standard PCB layout recommendations for USB devices still apply. For further information on this package design, please refer to the application note from AMKOR titled “Surface Mount Assembly of AMKOR’s MicroLeadFrame (MLF) Technology.” This application note provides detailed information on board mounting guidelines, soldering flow, rework process, etc.
PCB Layout Recommendations
The following recommendations should be followed to ensure reliable High-speed USB performance operation.
■ ■ ■ ■ ■ ■ ■ ■ ■ ■
A four-layer impedance controlled board is recommended to ensure best signal quality. Specify impedance targets (ask your board vendor what they can achieve). Maintain trace widths and trace spacing to control impedance. Minimize stubs on DPLUS and DMINUS to avoid reflected signals. Place any connections between the USB connector shell and signal ground near the USB connector. Use bypass/flyback caps on VBUS, placed near connector. Keep DPLUS and DMINUS trace lengths to within 2 mm of each other in length, with preferred length of 20–30 mm. Maintain a solid ground plane under the DPLUS and DMINUS traces. Do not allow the plane to be split under these traces. Place no vias on the DPLUS or DMINUS trace routing. Isolate the DPLUS and DMINUS traces from all other signal traces (use >10 mm. spacing for best signal quality). EZ-USB FX2 PCB Design www.cypress.com/?docID=4696. Recommendations,
Source for recommendations:
■ ■
High-speed USB Platform Design Guidelines, http://www.usb.org/developers/docs/hs_usb_pdg_r1_0.pdf.
Document #: 38-08055 Rev. *E
Page 6 of 10
[+] Feedback
CY7C68023/CY7C68024
Absolute Maximum Ratings
Exceeding maximum ratings may impair the useful life of the device. These user guidelines are not tested. Storage Temperature ................................ –65 °C to +150 °C Ambient Temperature with Power Supplied.......................................................... 0 °C to +70 °C Supply Voltage to Ground Potential..............–0.5 V to +4.0 V DC Input Voltage to Any Input Pin ............................... 5.25 V DC Voltage Applied to Outputs in High Z State .................................... –0.5 V to VCC + 0.5 V Power Dissipation..................................................... 300 mW Static Discharge Voltage............................................. 2000 V Max Output Current per IO port................................... 10 mA
Operating Conditions[2]
TA (Ambient Temperature Under Bias) ........... 0 °C to +70 °C Supply Voltage..........................................+3.00 V to +3.60 V Ground Voltage................................................................. 0 V
DC Characteristics
Parameter VCC VCC Ramp VIH VIL II VIH_X VIL_X VOH VOL IOH IOL CIN ICC ISUSP Description Supply Voltage Supply Ramp-up 0 V to 3.3 V Input High Voltage Input Low Voltage Input Leakage Current Crystal Input HIGH Voltage Crystal Input LOW Voltage Output Voltage High Output Voltage Low Output Current High Output Current Low Input Pin Capacitance Supply Current Suspend Current CY7C68023 CY7C68024 IUNCONFIG TRESET Unconfigured Current Reset Time After Valid Power Pin Reset After Valid Startup All but D+/D– Only D+/D– USB High Speed USB Full Speed Connected Disconnected Connected Disconnected Before current requested in USB descriptors is granted by the host VCC > 3.0 V IOUT = 4 mA IOUT = –4 mA 0 < VIN < VCC Conditions Min 3.0 200 2 –0.5 – 2 –0.5 2.4 – – – – – – – – – – – – 5.0 200 Typ 3.3 – – – – – – – – – – – – 50 35 0.5 0.3 300 100 43 – – Max 3.6 – 5.25 0.8 ±10 5.25 0.8 – 0.4 4 4 10 15 – – 1.2[3] 1.0[3] 380[3] 150[3] – – – Unit V s V V A V V V V mA mA pF pF mA mA mA mA A A mA mS S
AC Electrical Characteristics
USB Transceiver
The NX2LP’s USB interface complies with the USB 2.0 specification for bus-powered devices.
NAND Flash Timing
The NX2LP supports 30-ns, 50-ns, and 100-ns NAND Flash devices.
Notes 2. If an alternate clock source is input on XTALIN, it must be supplied with standard 3.3 V signaling characteristics and XTALOUT must be left floating. 3. Measured at Max VCC, 25 C.
Document #: 38-08055 Rev. *E
Page 7 of 10
[+] Feedback
CY7C68023/CY7C68024
Ordering Information
Part Number CY7C68023-56LTXC 56-pin QFN - Sawn type Package Type
Package Diagrams
Figure 4. 56-pin Quad Flatpack No Lead (8 × 8 mm) LF56
SOLDERABLE EXPOSED PAD
51-85144 *I
Document #: 38-08055 Rev. *E
Page 8 of 10
[+] Feedback
CY7C68023/CY7C68024
Figure 5. 56-pin QFN (8 × 8 × 0.9 mm) - Sawn
001-53450 *B
Document #: 38-08055 Rev. *E
Page 9 of 10
[+] Feedback
CY7C68023/CY7C68024
Document History Page
Description Title: CY7C68023/CY7C68024 EZ-USB NX2LP™ USB 2.0 NAND Flash Controller Document Number: 38-08055 REV. ** *A *B ECN NO. Submission Date 286009 334796 397024 SEE ECN SEE ECN SEE ECN Orig. of Change GIR GIR GIR Description of Change New Data Sheet (Preliminary Information). Adjusted default VID/PID; released as final. Changed Vcc to ±10% in DC Characteristics table. Changed the supply voltage tolerance to ±10% in the Operating Conditions section. Added new logo. Added 56 QFN (8 X 8 mm) package diagram and added CY7C68023-56LTXC part information in the Ordering Information table Updated ordering information and package diagrams. Updated Ordering Information. Updated Package Diagrams. Updated in new template.
*C *D *E
2717536 2896245 3208866
06/11/2009 03/19/2010 03/29/2011
DPT CPPK CPPK
Sales, Solutions, and Legal Information
Worldwide Sales and Design Support
Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the office closest to you, visit us at cypress.com/sales.
Products
Automotive Clocks & Buffers Interface Lighting & Power Control Memory Optical & Image Sensing PSoC Touch Sensing USB Controllers Wireless/RF cypress.com/go/automotive cypress.com/go/clocks cypress.com/go/interface cypress.com/go/powerpsoc cypress.com/go/plc cypress.com/go/memory cypress.com/go/image cypress.com/go/psoc cypress.com/go/touch cypress.com/go/USB cypress.com/go/wireless
PSoC Solutions
psoc.cypress.com/solutions PSoC 1 | PSoC 3 | PSoC 5
© Cypress Semiconductor Corporation, 2004-2011. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress. Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Use may be limited by and subject to the applicable Cypress software license agreement.
Document #: 38-08055 Rev. *E
Revised March 29, 2011
Page 10 of 10
EZ-USB NX2LP is a trademark and EZ-USB is a registered trademark of Cypress Semiconductor Corp. All products and company names mentioned in this document may be the trademarks of their respective holders.
[+] Feedback