STEVAL-CCM007V2 STM32-based NAND Flash driver demonstration board (with TFT MB785/P) Data brief Description The STEVAL-CCM007V2 is a demonstration board for a NAND Flash driver based on the STM32F205ZET6 microcontroller. It supports 512 byte and 2 kilobyte page SLC NAND Flash, and dynamic detection of NAND Flash based on "Device ID". The firmware automatically detects which NAND Flash is mounted on the PCB, and functions accordingly. STEVAL-CCM007V2 Features * Designed for 512 byte and 2 kilobyte page size NAND Flash interfacing using the FSMC interface of the STM32 * Supports both the FAT (ELM_FS) file system and USB mass storage device mode * Supports garbage collection, wear leveling, bad block management & ECC check * Displays BMP images stored in NAND Flash on MB785 TFT * RoHS compliant September 2013 DocID025324 Rev 1 For further information contact your local STMicroelectronics sales office. 1/7 www.st.com Schematic diagram 1 STEVAL-CCM007V2 Schematic diagram R2 10K 3V3 PUSH BUT T ON 3V3 VDD_SA VDD_3 PE1 PE0 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PG15 VDD_11 VSS_11 PG14 PG13 PG12 PG11 PG10 PG9 PD7 PD6 VDD_10 VSS_10 PD5 PD4 PD3 PD2 PD1 PD0 PC12 PC11 PC10 PA15 PA14 U1 D1 PE2 PE3 T EST _LED1 D2 GND PF0_FSMC_ADDR_A0 PH0_OSC_IN GND 3V3 Y1 25MHz PH1_OSC_OUT PH0_OSC_IN PH1_OSC_OUT 390 PC0_OTG_HS_ULPI_STP NRST PC2_OTG_HS_ULPI_DIR PC3_OTG_HS_ULPI_NXT For STM32F10xx Y1----- 8MHz For STM32F2xxx & STM32F4xxx Y1------ 25MHz GND GND R8 0 Ohm 3V3 R9 0 Ohm 3V3 VCAP 1 C5 2.2uF T EST POINT 1 2 3 For STM32F2xxx & STM32F4xxx Mount --- R3,R9 DNM --- R1,R8,R11 3V3 GND 10K R10 GND 3V3 PA3_OTG_HS_ULPI_D0 For STM32F10xx Mount --- R1,R8,R11 DNM --- R3,R9 J1 3V3 GND PG8_USB_PU PG7_FSMC_INT3 PG6_FSMC_INT2 PD15_FSMC_D1 PD14_FSMC_D0 3V3 GND PD12_FSMC_ADDR_A17 PD11_FSMC_ADDR_A16 PD10_FSMC_D15 PD9_FSMC_D14 PD8_FSMC_D13 PB13_OTG_HS_ULPI_D6 PB12_OTG_HS_ULPI_D5 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 T P1 C4 2.2uF PA13_JTAG_JTMS PA12_OTG_FS_DP_USB PA11_OTG_FS_DM_USB PA10_OTG_FS_ID_USB PA9_OTG_FS_VBUS_USB 3V3 R7 C3 20pF STM32F103ZET6/ STM32F205ZET6/ STM32F405ZGT6 3V3 GND VCAP VCAP R11 0 Ohm GND C2 20pF GND 3V3 T EST _LED2 108 107 106 105 104 103 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 VDD_2 VSS_2 VCAP_2 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 VDD_9 VSS_9 PG8 PG7 PG6 PG5 PG4 PG3 PG2 PD15 PD14 VDD_8 VSS_8 PD13 PD12 PD11 PD10 PD9 PD8 PB15 PB14 PB13 PB12 PE10_FSMC_D7 PE11_FSMC_D8 PE12_FSMC_D9 PE13_FSMC_D10 PE14_FSMC_D11 PE15_FSMC_D12 PB10_OTG_HS_ULPI_D3 PB11_OTG_HS_ULPI_D4 1K PE2 PE3 PE4 PE5 PE6 VBAT PC13-TAMPER-RTC PC14-OSC32_IN PC15-OSC32_OUT PF0 PF1 PF2 PF3 PF4 PF5 VSS_5 VDD_5 PF6 PF7 PF8 PF9 PF10 OSC_IN OSC_OUT NRST PC0 PC1 PC2 PC3 VDD_12 VSSA VREF+ VDDA PA0_WKUP PA1 PA2 PB0_OTG_HS_ULPI_D1 PB1_OTG_HS_ULPI_D2 GND R6 PE3 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 PE7_FSMC_D4 PE8_FSMC_D5 PE9_FSMC_D6 GND 1K GND 3V3 PE2 PA3 VSS_4 VDD_4 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2-BOOT1 PF11 PF12 VSS_6 VDD_6 PF13 PF14 PF15 PG0 PG1 PE7 PE8 PE9 VSS_7 VDD_7 PE10 PE11 PE12 PE13 PE14 PE15 PB10 PB11 VCAP_1 VDD_1 R5 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 R4 10K PA5_OTG_HS_ULPI_CK C1 100nF PA15_JTAG_JTDI PA14_JTAG_JTCK R3 0 Ohm PD1_FSMC_D3 PD0_FSMC_D2 R1 0 Ohm 3V3 PG10_FSMC_NE3 PG9_FSMC_NCE3 PD7_FSMC_NCE2 PD6_FSMC_NWAIT 3V3 GND PD5_FSMC_NWE PD4_FSMC_NOE GND PB9 PB8 NRST 3V3 GND PG14_TSCREEN_INT SW1 PB7_I2C1_SDA PB6_I2C1_SCL PB5_OTG_HS_ULPI_D7 PB4_JTAG_JNTRST PB3_JTAG_JTDO GND Figure 1. Microcontroller section circuit schematic PB8 1K CONN T RBLK 3 3V3 J2 1 2 3 3V3 GND C6 100nF R13 C7 100nF C8 100nF C9 100nF C11 100nF C10 100nF C12 100nF C13 100nF C14 100nF C15 100nF C16 100nF C17 100nF PB9 1K CONN T RBLK 3 AM17678v1 Figure 2. NAND Flash circuit schematic R 56 3V3 R 55 3V3 3V3_NAND2 3V3_NAND1 0 O hm 0 O hm 3V3_NAND1 R 19 10K 3V3_NAND1 R 20 10K R 22 10K R 21 10K C 21 1 0 0 nF C 20 1 0 0 nF PG7_FSMC_INT3 PG6_FSMC_INT2 GND PD6_FSMC_NWAIT R 25 0 O hm Mount One at a time R 28 R 26 PD7_FSMC_NCE2 0 O hm 2 2 O hm R 33 PD4_FSMC_NOE 3V3_NAND1 10K 3V3_NAND1 GND PD11_FSMC_ADDR_A16 PD12_FSMC_ADDR_A17 PD5_FSMC_NWE R 41 3V3_NAND1 C 24 1 0 0 nF 10K GND GND PD6_FSMC_NWAIT R 27 U2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 NC NC NC NC NC NC RB R E NC NC VDD VSS NC NC CL AL W WP NC NC NC NC NC NC NC NC NC I/O 7 I/O6 I/O5 I/O 4 NC NC NC VDD VS S NC NC NC I/O 3 I/O2 I/O1 I/O0 NC NC NC NC 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 PE10_FSMC_D7 PE9_FSMC_D6 PE8_FSMC_D5 PE7_FSMC_D4 R 30 PG9_FSMC_NCE3 0 O hm 2 2 O hm R 35 PD4_FSMC_NOE 3V3_NAND2 10K 3V3_NAND1 GND PD1_FSMC_D3 PD0_FSMC_D2 PD15_FSMC_D1 PD14_FSMC_D0 N AN D 5 1 2 B 0 O hm Mount One at a time R 29 DNM: R25, R27 2/7 3V3_NAND2 3V3_NAND2 C 19 1 0 0 nF C 18 1 0 0 nF 3V3_NAND2 GND PD11_FSMC_ADDR_A16 PD12_FSMC_ADDR_A17 PD5_FSMC_NWE R 42 3V3_NAND2 C 25 1 0 0 nF 10K GND U3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 NC NC NC NC NC NC RB R E NC NC VDD VSS NC NC CL AL W WP NC NC NC NC NC NC NC NC NC I/O 7 I/O6 I/O5 I/O 4 NC NC NC VDD VS S NC NC NC I/O 3 I/O2 I/O1 I/O0 NC NC NC NC 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 PE10_FSMC_D7 PE9_FSMC_D6 PE8_FSMC_D5 PE7_FSMC_D4 3V3_NAND2 GND PD1_FSMC_D3 PD0_FSMC_D2 PD15_FSMC_D1 PD14_FSMC_D0 N AN D 5 1 2 B AM17679v1 DocID025324 Rev 1 STEVAL-CCM007V2 Schematic diagram Figure 3. USB full speed circuit schematic R14 PA12_OTG_FS_DP_USB PG8_USB_PU 1.5k USB5V_FS C22 10uF 1 2 3 4 5 J4 USB_VCC USBDM USBDP ID USB_GND SHELL SHELL SHELL SHELL 6 7 8 9 USB_MINIA/B T YPE PA9_OTG_FS_VBUS_USB PA11_OTG_FS_DM_USB PA12_OTG_FS_DP_USB PA10_OTG_FS_ID_USB R31 1M R32 22 R34 22 R36 0 0 1 2 3 U4 I/O1 GND I/O2 I/O1 VBUS I/O2 6 5 4 C23 4.7nF D3 R40 1k USBLC6-2P6 LED_GREEN AM17680v1 Figure 4. JTAG connector circuit schematic PB4_JTAG_JNTRST PA14_JTAG_JTCK PB3_JTAG_JTDO NRST PA13_JTAG_JTMS PA15_JTAG_JTDI J5 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 PB4_JTAG_JNTRST PA14_JTAG_JTCK PB3_JTAG_JTDO NRST PA13_JTAG_JTMS PA15_JTAG_JTDI 3V3 R15 10k R16 10k R17 10k R18 10k R23 0 0 3V3 PB4_JTAG_JNTRST R24 10k PA15_JTAG_JTDI PA13_JTAG_JTMS NRST PA14_JTAG_JTCK RTCK PB3_JTAG_JTDO NRST DBGRQ DBGACK R38 10k R39 10k R37 10k JT AG_CONN AM17681v1 DocID025324 Rev 1 3/7 7 Schematic diagram STEVAL-CCM007V2 XTAL1 XTAL2 3V3_HS Figure 5. USB high speed circuit schematic C 27 C 28 C 29 0 . 1 uF 0 . 1 uF 0 . 1 uF R 43 10K C 30 0 . 1 uF R 44 REG_EN VDD3.3 VDD3.3 VDD3.3 VDD3.3 XO XI 24 23 22 21 20 19 18 17 GNDPAD GND GND CPEN EXTVBUS RBIAS VBUS DM DP ID DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 33 1 2 3 10 32 4 8 7 5 D6 1K L E D_G R E E N R 46 R 47 J7 12K USB5V_HS 820 PC3_OTG_HS_ULPI_NXT PC2_OTG_HS_ULPI_DIR PC0_OTG_HS_ULPI_STP PA5_OTG_HS_ULPI_CK U S B 3300 XTAL1 C 41 3 3 pF Y2 2 4 MH z C 45 3 3 pF 1 2 3 4 5 USB_VCC U S B DM U S B DP ID USB_GND L1 6 SHELL BEAD 7 SHELL 9 11 12 13 14 15 29 26 RESET NXT DIR STP CLKOUT VDD1.8 VDDA1.8 VDD1.8 PA3_OTG_HS_ULPI_D0 PB0_OTG_HS_ULPI_D1 PB1_OTG_HS_ULPI_D2 PB10_OTG_HS_ULPI_D3 PB11_OTG_HS_ULPI_D4 PB12_OTG_HS_ULPI_D5 PB13_OTG_HS_ULPI_D6 PB5_OTG_HS_ULPI_D7 4 . 7 uF 31 16 6 30 25 27 28 + + C 36 U6 R 50 1M C 46 XTAL2 C 42 0 . 1 uF C 43 C 44 4 . 7 uF 0 . 1 uF 4 . 7 uF R 52 0 0 3V3 3V3_HS AM17682v1 Figure 6. Touch screen controller circuit schematic AGND AGND TSC_YD AGND 9 TSC_XR AGND 10 R57 GND 0 0 IN1 GND 11 SCLK A0 AGND VCC SDAT 8 7 3V3 6 C39 100nF SDAT 5 AGND C40 10uF 3V3 4 1 TSC_YD IN2 XY- AGND DATA_IN STMPE811 3 16 Y+ R48 4.7K SCLK AGND TSC_XL 15 12 TSC_YU TSC_YU IN0 VIO INT BEAD C38 100nF X+ 2 C37 1uF 14 PG14_TSCREEN_INT L2 3V3 13 IN3 U7 TSC_XR C34 2pF C33 2pF C32 2pF TSC_XL C31 2pF SCLK R54 10k 3V3 SDAT R51 R53 22 22 R49 4.7K PB6_I2C1_SCL PB7_I2C1_SDA C47 100nF AGND 4/7 DocID025324 Rev 1 AM17683v1 STEVAL-CCM007V2 Schematic diagram Figure 7. Power section circuit schematic D4 3V3 USB5V_FS ST PS1L30U GND 1 2 3 4 D5 5V0 USB5V_HS ST PS1L30U C48 10uF U5 C35 100nF GND VOUT VOUT VIN NC VOUT VOUT NC 8 7 6 5 C26 10uF LD1117D33T R D7 R45 GND 3V3 1k LED_GREEN AM17684v1 Figure 8. TFT connector circuit schematic J6 PG10_FSMC_NE3 PD5_FSMC_NWE NRST PD15_FSMC_D1 PD1_FSMC_D3 PE8_FSMC_D5 PE10_FSMC_D7 PE12_FSMC_D9 PE14_FSMC_D11 PD8_FSMC_D13 PD10_FSMC_D15 5V0 3V3 GND TSC_XL TSC_YD 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 PF0_FSMC_ADDR_A0 PD4_FSMC_NOE PD14_FSMC_D0 PD0_FSMC_D2 PE7_FSMC_D4 PE9_FSMC_D6 PE11_FSMC_D8 PE13_FSMC_D10 PE15_FSMC_D12 PD9_FSMC_D14 GND 3V3 GND 5V0 TSC_XR TSC_YU CONNECT OR20x2 AM17685v1 Figure 9. NAND signals circuit schematic J3 PD14_FSMC_D0 PD15_FSMC_D1 PD0_FSMC_D2 PD1_FSMC_D3 PE7_FSMC_D4 PE8_FSMC_D5 PE9_FSMC_D6 PE10_FSMC_D7 PD11_FSMC_ADDR_A16 PD12_FSMC_ADDR_A17 PD4_FSMC_NOE PD5_FSMC_NWE PD7_FSMC_NCE2 PG9_FSMC_NCE3 PG6_FSMC_INT2 PG7_FSMC_INT3 PD6_FSMC_NWAIT GND 3V3 GND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 CON20 DocID025324 Rev 1 AM17686v1 5/7 7 Revision history 2 STEVAL-CCM007V2 Revision history Table 1. Document revision history 6/7 Date Revision 30-Sep-2013 1 Changes Initial release. DocID025324 Rev 1 STEVAL-CCM007V2 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST's terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST'S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER'S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR "AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL" INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. (c) 2013 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com DocID025324 Rev 1 7/7 7 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: STMicroelectronics: STEVAL-CCM007V2