RM0365
DocID025202 Rev 7
3.2 Memory
organization
3.2.1 Introduction
Program memory, data memory, registers and I/O ports are organized within the same linear
4-Gbyte address space.
The bytes are coded in memory in Little Endian format. The lowest numbered byte in a word
is considered the word’s least significant byte and the highest numbered byte the most
significant.
The addressable memory space is divided into 8 main blocks, of 512 Mbytes each.
All the memory areas that are not allocated to on-chip memories and peripherals are
considered “Reserved”. For the detailed mapping of available memory and register areas,
refer to
Memory map and register boundary addresses
and peripheral sections.
3.2.2
Memory map and register boundary addresses
See the datasheet corresponding to your device for a comprehensive diagram of the
memory map.
The following table gives the boundary addresses of the peripherals available in the
devices.
Table 2. STM32F302xB/C peripheral register boundary addresses
(1)
Bus
Boundary address
Size
(bytes)
Peripheral
Peripheral register map
AHB3
0x5000 0000 - 0x5000 03FF
1 K
ADC1 - ADC2
0x4800 1800 - 0x4FFF FFFF
~132 M Reserved
AHB2
0x4800 1400 - 0x4800 17FF
1 K
GPIOF
0x4800 1000 - 0x4800 13FF
1 K
GPIOE
0x4800 0C00 - 0x4800 0FFF
1 K
GPIOD
0x4800 0800 - 0x4800 0BFF
1 K
GPIOC
0x4800 0400 - 0x4800 07FF
1 K
GPIOB
0x4800 0000 - 0x4800 03FF
1 K
GPIOA
0x4002 4400 - 0x47FF FFFF
~128 M Reserved