EasyManua.ls Logo

ST STM32L4 5 Series - Figure 37. FMC Memory Banks; Table 62. NOR;PSRAM Bank Selection; Table 63. NOR;PSRAM External Memory Address

ST STM32L4 5 Series
1830 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Flexible static memory controller (FSMC) RM0351
420/1830 DocID024597 Rev 5
Figure 37. FMC memory banks
16.4.1 NOR/PSRAM address mapping
HADDR[27:26] bits are used to select one of the four memory banks as shown in Table 62.
The HADDR[25:0] bits contain the external memory address. Since HADDR is a byte
address whereas the memory is addressed at word level, the address actually issued to the
memory varies according to the memory data width, as shown in the following table.
D^ϯϰϰϳϱsϭ
ĂŶŬϭ
ϰdžϲϰD
EKZW^ZD^ZD
^ƵƉƉŽƌƚĞĚŵĞŵŽƌLJƚLJƉĞ
ĂŶŬ
ϬdžϲϬϬϬϬϬϬϬ
ĚĚƌĞƐƐ
Ϭdžϲ&&&&&&&
ϬdžϳϬϬϬϬϬϬϬ
Ϭdžϳ&&&&&&&
ϬdžϴϬϬϬϬϬϬϬ
Ϭdžϴ&&&&&&&
ϬdžϵϬϬϬϬϬϬϬ
Ϭdžϵ&&&&&&&
ZĞƐĞƌǀĞĚ
ĂŶŬϯ
ϰdžϲϰD
ZĞƐĞƌǀĞĚ
EE&ůĂƐŚŵĞŵŽƌLJ
Table 62. NOR/PSRAM bank selection
HADDR[27:26]
(1)
1. HADDR are internal AHB address lines that are translated to external memory.
Selected bank
00 Bank 1 - NOR/PSRAM 1
01 Bank 1 - NOR/PSRAM 2
10 Bank 1 - NOR/PSRAM 3
11 Bank 1 - NOR/PSRAM 4
Table 63. NOR/PSRAM External memory address
Memory width
(1)
Data address issued to the memory Maximum memory capacity (bits)
8-bit HADDR[25:0] 64 Mbytes x 8 = 512 Mbit
16-bit HADDR[25:1] >> 1 64 Mbytes/2 x 16 = 512 Mbit

Table of Contents

Related product manuals