Part # Application Notes General Purpose Products Access Control Audio Computer And Peripherals Computer Power Supply Corded Terminals datasheet

Part Manufacturer: ST Microelectronics

ST Microelectronics

Part Description: Using the high-density STM32F10xxx FSMC peripheral to drive external memories


Part Details:

AN2784 Application note Using the high-density STM32F10xxx FSMC peripheral to drive external memories Introduction This application note describes how to use the High-density STM32F10xxx FSMC (flexible static memory controller) peripheral to drive a set of external memories. To that aim, it gives an overview of the STM32F10xxx FSMC controller. Then it provides memory interfacing examples that include the typical FSMC configuration, the timing computation method and the hardware connection. This application note is based on memories mounted on the STM3210E-EVAL, which is the evaluation board for High-density STM32F10xxx devices. The used memories are a 16-bit asynchronous NOR Flash memory, an 8-bit NAND Flash memory and a 16-bit asynchronous SRAM. The STM32F10xxx firmware library, the different memory drivers and examples of use for each of the memory types used in this application note, are available for download from the STMicroelectronics website: www.st.com/mcu. July 2008 Rev 1 1/30 www.st.com Contents AN2784 Contents 1 Overview of the STM32F10xxx flexible static memory controller . . . . 5 2 Interfacing with a nonmultiplexed, asynchronous16-bit NOR Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1 FSMC configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.1 Typical use of the FSMC to interface with a NOR Flash memory . . . . . 10 2.2 Timing computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.3 Hardware connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.4 Code execution from an external NOR Flash memory . . . . . . . . . . . . . . . 13 3 Interfacing with a nonmultiplexed, asynchronous 16-bit SRAM . . . . . 15 3.1 FSMC configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.1 Typical use of the FSMC to interface with an SRAM . . . . . . . . . . . . . . . 16 3.2 Timing computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3 Hardware connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.4 Using the external SRAM as a data memory . . . . . . . . . . . . . . . . . . . . . . 18 4 Interfacing with an 8-bit NAND Flash memory . . . . . . . . . . . . . . . . . . . 19 4.1 FSMC configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.1.1 Typical use of the FSMC to interface with a NAND memory . . . . . . . . . 21 4.2 Timing computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.3 Hardware connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.4 Error correction code computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.4.1


Please click the following link to download the datasheet:

Application Notes General Purpose Products Access Control Audio Computer And Peripherals Computer Power Supply Corded Terminals.pdf Datasheet