DocID018909 Rev 11
RM0090
Flexible static memory controller (FSMC)
1588
36.4
External device address mapping
From the FSMC point of view, the external memory is divided into 4 fixed-size banks of
256 Mbytes each (Refer to
):
•
Bank 1 used to address up to 4 NOR Flash or PSRAM memory devices. This bank is
split into 4 NOR/PSRAM subbanks with 4 dedicated Chip Selects, as follows:
–
Bank 1 - NOR/PSRAM 1
–
Bank 1 - NOR/PSRAM 2
–
Bank 1 - NOR/PSRAM 3
–
Bank 1 - NOR/PSRAM 4
•
Banks 2 and 3 used to address NAND Flash devices (1 device per bank)
•
Bank 4 used to address a PC Card device
For each bank the type of memory to be used is user-defined in the Configuration register.
Figure 433. FSMC memory banks
36.4.1 NOR/PSRAM
address
mapping
HADDR[27:26] bits are used to select one of the four memory banks as shown in
Bank 1
NAND Flash
NOR / PSRAM
Supported memory type
Banks
4 × 64 MB
6000 0000h
6FF F FFF Fh
Address
7000 0000h
7FF F FFF Fh
8000 0000h
8FF F FFF Fh
9000 0000h
9FF F FFF Fh
Bank 2
4 × 64 MB
Bank 3
4 × 64 MB
Bank 4
4 × 64 MB
PC Card
ai14719
Table 211. NOR/PSRAM bank selection
HADDR[27:26]
(1)
Selected bank
00
Bank 1 - NOR/PSRAM 1
01
Bank 1 - NOR/PSRAM 2