Question: How to interface Cypress CY3686 DVK to NAND Flash Memory with Four Chip Selects?
The Samsung K9NCG08U5M (64 Gbit) and K9WBG08U5M (32 Gbit) are NAND flash memory devices in a 48-pin TSOP stacked package, each consisting of four separate memory dies of 16 Gb and 8 Gb, respectively. While interfacing such memory devices with CY3686 development kit (DVK), each of the dies in the device requires an individual Chip Enable (CE) input and an individual Ready or Busy (R/B) output. The Cypress CY3686 DVK board contains eight separate 48-pin TSOP sockets. These sockets, however, only accept single package chips and have the connections for only two CE inputs and two R/B outputs.
The CY3686 DVK requires an adapter board to support the extra mechanical and electrical requirements of NAND flash devices with a higher number (4 or 8) of chip enables.
Following are the details of an adapter board with a socket that accepts stacked packages and provides access to all 48 pins:
- Website : www.sivava.com
- Product Code : [TO1]
- Product Name : Head SOP32, 40, 48LD Socket(A)
- Image : See Figure 1.
Table 1 lists the required signal connections between Samsung NAND devices and Cypress CY3686 DVK.
|R/ B4||4||R_nB2||P2: 4|
|R/ B3||5||R_nB2||P2: 4|
|R/ B2||6||R_nB1||P2: 5|
|R/ B1||7||R_nB1||P2: 5|
The CY3686 provides only two R/B lines, each with a 2.2- KΩ pull-up resistor, which must be shared by the four R/B open-drain outputs.
R/ B4 and R/ B3 share R_nB2, and R/ B2 and R/ B1 share R_nB1.
Connect the adapter board as described in Table 1. Then, insert a working NAND flash device into the socket on the adapter board. Install the latest version of the NX2LP NAND Programming Utility (NandMfg.exe) on your computer, and run the utility. The latest software tools are available at CY3686 EZ-USB NX2LP-Flex™ USB 2.0 Development Kit. Connect the CY3686 to your computer using a standard USB cable.
The NX2LP NAND Programming Utility dialog box (Figure 2) appears. The CY3686 user’s guide is installed with the software tools. Refer to the user’s guide for details on how the programming utility formats the NAND device. When the NAND device is set up and connected, it is listed as Samsung <chip number> (<chip size> Mbytes in four chips). This is because the device is actually four smaller devices physically stacked on top of each other. Information on how the firmware handles four chip selects and R/B lines are available in the application note AN61347. This document is also provided with the software.
To program the part with firmware:
- In the File menu, click the Select Configuration option.
- Load the appropriate .nx2 file.
- Click the Program Device button.
The NX2LP NAND Programming Utility dialog box (Figure 3) appears after the device is programmed and formatted. The part is now ready for use