Flexible static memory controller (FSMC)
For NAND Flash memory, the common and attribute memory spaces are subdivided into
three sections (see in
•
Data section (first 64 Kbytes in the common/attribute memory space)
•
Command section (second 64 Kbytes in the common / attribute memory space)
•
Address section (next 128 Kbytes in the common / attribute memory space)
Section name
Address section
Command section
Data section
The application software uses the 3 sections to access the NAND Flash memory:
•
To send a command to NAND Flash memory: the software must write the command
value to any memory location in the command section.
•
To specify the NAND Flash address that must be read or written: the software
must write the address value to any memory location in the address section. Since an
address can be 4 or 5 bytes long (depending on the actual memory size), several
consecutive writes to the address section are needed to specify the full address.
•
To read or write data: the software reads or writes the data value from or to any
memory location in the data section.
Since the NAND Flash memory automatically increments addresses, there is no need to
increment the address of the data section to access consecutive memory locations.
31.5
NOR Flash/PSRAM controller
The FSMC generates the appropriate signal timings to drive the following types of
memories:
•
Asynchronous SRAM and ROM
–
–
–
•
PSRAM (Cellular RAM)
–
–
–
•
NOR Flash
–
–
–
The FSMC outputs a unique chip select signal NE[4:1] per bank. All the other signals
(addresses, data and control) are shared.
1264/1378
Table 172
Table 172. NAND bank selections
1X
01
00
8-bit
16-bit
32-bit
Asynchronous mode
Burst mode for synchronous accesses
Multiplexed or nonmultiplexed
Asynchronous mode
Burst mode for synchronous accesses
Multiplexed or nonmultiplexed
below) located in the lower 256 Kbytes:
HADDR[17:16]
RM0033 Rev 8
Address range
0x020000-0x03FFFF
0x010000-0x01FFFF
0x000000-0x0FFFF
RM0033
Need help?
Do you have a question about the STM32F205 series and is the answer not in the manual?
Questions and answers