STMicroelectronics STM32F10xxx Application Note AN2784 Using FSMC to Drive External Memory

This application note explains how to use the STM32F10xxx FSMC peripheral to interface with external NOR, NAND and SRAM memory devices.


STMicroelectronics STM32F10xxx Application Note AN2784 Using FSMC to Drive External Memory - cover page
Brand
STMicroelectronics
Category
Other Electronics
Document type
Application Note
Language
Chinese
Pages
22
File format
PDF
File size
715 KB
Published
15 December, 2011
Updated
04 October, 2026
MD5 checksum
695E3AAC8DBB8FFD129D346F574A91D4

About this manual

The document provides a detailed guide for configuring the Flexible Static Memory Controller (FSMC) of the high‑capacity STM32F10xxx microcontrollers. It introduces the FSMC architecture, shows typical configuration examples, and describes timing calculations and hardware connections for various external memory types.

Key sections cover interfacing with 16‑bit asynchronous NOR flash, 8‑bit NAND flash, and 16‑bit SRAM, as well as ECC implementation for NAND devices, timing parameter tables, and special considerations for 100‑pin package variants. This manual is written in Chinese.

What's inside

  • FSMC Overview
  • Asynchronous 16‑bit NOR Flash Interface
  • 16‑bit SRAM Interface
  • 8‑bit NAND Flash Interface
  • Timing Calculations
  • Hardware Connections
  • Error Correction Code (ECC)
  • 100‑Pin Package FSMC Configuration

Specifications

Data bus width16 bits
Number of address lines26
Maximum external memory per block64 MB
Internal AHB clock (HCLK)72 MHz

Frequently asked questions

What types of external memory can be connected to the STM32F10xxx FSMC?

The FSMC can interface with NOR flash, NAND flash, SRAM, PSRAM, PC‑Card, CF‑Card and other static memory devices.

How many address lines does the FSMC provide?

The FSMC provides 26 address lines, allowing up to 64 MB of external memory per block.

What is the internal AHB clock frequency for the STM32F10xxx?

The internal AHB clock (HCLK) runs at 72 MHz.

How is error correction (ECC) handled for NAND flash devices?

The FSMC includes hardware ECC that can generate 22‑32 bit codes for page sizes from 256 bytes to 8192 bytes, detecting and correcting single‑bit errors and detecting double‑bit errors.

Download PDF (715 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →