External Device Address Mapping; Nor/Psram Address Mapping; Table 42. Nor/Psram Bank Selection; Figure 32. Fsmc Memory Banks - ST STM32F412 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0402
Wrap support for NOR Flash/PSRAM
Wrap burst mode for synchronous memories is not supported. The memories must be
configured in Linear burst mode of undefined length.
Configuration registers
The FSMC can be configured through a set of registers. Refer to
detailed description of the NOR Flash/PSRAM controller registers.
11.5

External device address mapping

From the FSMC point of view, the external memory is divided into fixed-size banks of
256 Mbytes each (see
Bank 1 used to address up to 4 NOR Flash memory or PSRAM devices. This bank is
split into 4 NOR/PSRAM subbanks with 4 dedicated chip selects, as follows:
Bank 3 used to address NAND Flash memory devices.The MPU memory attribute for
this space must be reconfigured by software to Device.
For each bank the type of memory to be used can be configured by the user application
through the Configuration register.
11.5.1

NOR/PSRAM address mapping

HADDR[27:26] bits are used to select one of the four memory banks as shown in
transactions are allowed (the controller reads the entire 16-bit memory word and
uses only the required byte).
Figure
32):
Bank 1 - NOR/PSRAM 1
Bank 1 - NOR/PSRAM 2
Bank 1 - NOR/PSRAM 3
Bank 1 - NOR/PSRAM 4

Figure 32. FSMC memory banks

Address
0x6000 0000
0x6FFF FFFF

Table 42. NOR/PSRAM bank selection

(1)
HADDR[27:26]
00
01
10
11
Flexible static memory controller (FSMC)
Bank
Supported memory type
Bank 1
4 x 64 MB
Bank 1 - NOR/PSRAM 1
Bank 1 - NOR/PSRAM 2
Bank 1 - NOR/PSRAM 3
Bank 1 - NOR/PSRAM 4
RM0402 Rev 6
Section
11.6.6, for a
NOR/PSRAM/SRAM
Selected bank
MS34476V1
Table
42.
249/1163
287

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F412 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF