
Flexible static memory controller (FSMC)
RM0008
490/1096
Doc ID 13902 Rev 12
Figure 185. FSMC block diagram
21.3 AHB
interface
The AHB slave interface enables internal CPUs and other bus master peripherals to access
the external static memories.
AHB transactions are translated into the external device protocol. In particular, if the
selected external memory is 16 or 8 bits wide, 32-bit wide transactions on the AHB are split
into consecutive 16- or 8-bit accesses.
The FSMC generates an AHB error in the following conditions:
●
When reading or writing to an FSMC bank which is not enabled
●
When reading or writing to the NOR Flash bank while the FACCEN bit is reset in the
FSMC_BCRx register.
●
When reading or writing to the PC Card banks while the input pin FSMC_CD (Card
Presence Detection) is low.
AHB
b
u
s
FSMC interrupt to NVIC
NOR
HCLK
From clock
controller
controller
memory
NAND/PC Card
controller
memory
Configuration
Registers
signals
NAND
signals
Shared
signals
NOR/PSRAM
FSMC_NE[4:1]
FSMC_NL (or NADV)
FSMC_NWAIT
FSMC_A[25:0]
FSMC_D[15:0]
FSMC_NOE
FSMC_NWE
FSMC_NIORD
FSMC_NREG
FSMC_CD
signals
PC Card
ai14718c
FSMC_NBL[1:0]
FSMC_NCE[3:2]
FSMC_INT[3:2]
FSMC_INTR
FSMC_NCE4_1
FSMC_NCE4_2
FSMC_NIOWR
FSMC_NIOS16
FSMC_CLK