Download Print this page

ST STM32L4+ Series Reference Manual page 352

Hide thumbs Also See for STM32L4+ Series:

Advertisement

System configuration controller (SYSCFG)
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 FB_MODE: Flash Bank mode selection
Bits 7:3 Reserved, must be kept at reset value.
Bits 2:0 MEM_MODE: Memory mapping selection
1. When BFB2 bit is set, the system memory remains aliased at @0x0000 0000.
Note:
When the FSMC is remapped at address 0x0000 0000, only the first two regions of Bank 1
memory controller (Bank1 NOR/PSRAM 1 and NOR/PSRAM 2) can be remapped. In remap
mode, the CPU can access the external memory via ICode bus instead of System bus
which boosts up the performance.
9.2.2
SYSCFG configuration register 1 (SYSCFG_CFGR1)
Address offset: 0x04
Reset value: 0x7C00 0001
352/2301
For 2 Mbytes devices:
0: Flash Bank 1 mapped at 0x0800 0000 (and aliased @0x0000 0000
and Flash Bank 2 mapped at 0x0810 0000 (and aliased at 0x0010 0000)
1: Flash Bank 2 mapped at 0x0800 0000 (and aliased @0x0000 0000
and Flash Bank 1 mapped at 0x0810 0000 (and aliased at 0x0010 0000)
For 1 Mbyte devices:
0: Flash Bank 1 mapped at 0x0800 0000 (and aliased @0x0000 0000
and Flash Bank 2 mapped at 0x0808 0000 (and aliased at 0x0008 0000)
1: Flash Bank2 mapped at 0x0800 0000 (and aliased @0x0000 0000
and Flash Bank 1 mapped at 0x0808 0000 (and aliased at 0x0008 0000)
For 512 Kbytes devices:
0: Flash Bank 1 mapped at 0x0800 0000 (and aliased @0x0000 0000
and Flash Bank 2 mapped at 0x0804 0000 (and aliased at 0x0004 0000)
1: Flash Bank2 mapped at 0x0800 0000 (and aliased @0x0000 0000
and Flash Bank 1 mapped at 0x0804 0000 (and aliased at 0x0004 0000)
These bits control the memory internal mapping at address 0x0000 0000. These bits are
used to select the physical remap by software and so, bypass the BOOT pin and the option
bit setting. After reset these bits take the value selected by BOOT0 pin (or option bit
depending on nSWBOOT0 option bit) and BOOT1 option bit.
000: Main Flash memory mapped at 0x00000000
001: System Flash memory mapped at 0x00000000.
010: FMC bank 1 (NOR/PSRAM 1 and 2) mapped at 0x00000000.
011: SRAM1 mapped at 0x00000000.
100: OCTOSPI1 memory mapped at 0x00000000
101: OCTOSPI2 memory mapped at 0x00000000
111: Reserved
(1)
RM0432 Rev 6
(1)
)
(1)
)
(1)
)
(1)
)
(1)
)
(1)
)
.
RM0432

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32L4+ Series and is the answer not in the manual?

Subscribe to Our Youtube Channel