GD32W51x User Manual
44
registers and I/O ports are organized within the same linear 4-Gbyte address space which is
the maximum address range of the Cortex
®
-M33 since the bus address width is 32-bit.
Additionally, a pre-defined memory map is provided by the Cortex
®
-M33 processor to reduce
the software complexity of repeated implementation of different device vendors. In the map,
some regions are used by the Arm
®
Cortex
®
-M33 system peripherals which can not be
modified. However, the other regions are available to the vendors.
based on IDAU mapping of GD32W51x devices
shows the memory map of the GD32W51x
devices, including Code, SRAM, peripheral, and other pre-defined regions. Almost each
peripheral is allocated 1KB of space. This allows simplifying the address decoding for each
peripheral.
Table 1-5. Memory map based on IDAU mapping of GD32W51x devices
Pre-defined
Regions
Bus
Secure
boundary address
Non-Secure
boundary address
Peripherals
-
-
0xE000 1000 - 0xE00F FFFF
Cortex M33 internal peripherals
External
device
AHB3
-
0x9800 0000 - 0xDFFF FFFF
Reserv ed
-
0x9000 0000 - 0x97FF FFFF
QSPI_FLASH(MEM)
-
0x6800 0000 - 0x8FFF FFFF
Reserv ed
-
0x6000 0000 - 0x67FF FFFF
SQPI_PSRAM(MEM)
Peripheral
AHB2
0x5C06 3000 - 0x5FFF FFFF
0x4C06 3000 - 0x4FFF FFFF
Reserv ed
0x5C06 1000 - 0x5C06 2FFF
0x4C06 1000 - 0x4C06 2FFF
PKCAU
0x5C06 0C00 - 0x5C06 0FFF
0x4C06 0C00 - 0x4C06 0FFF
Reserv ed
0x5C06 0800 - 0x5C06 0BFF
0x4C06 0800 - 0x4C06 0BFF
TRNG
0x5C06 0400 - 0x5C06 07FF
0x4C06 0400 - 0x4C06 07FF
HAU
0x5C06 0000 - 0x5C06 03FF
0x4C06 0000 - 0x4C06 03FF
CAU
0x5C05 0400 - 0x5C05 FFFF
0x4C05 0400 - 0x4C05 FFFF
Reserv ed
0x5C05 0000 - 0x5C05 03FF
0x4C05 0000 - 0x4C05 03FF
DCI
0x5C04 0000 - 0x5C04 FFFF
0x4C04 0000 - 0x4C04 FFFF
Reserv ed
0x5C00 0000 - 0x5C03 FFFF
0x4C00 0000 - 0x4C03 FFFF
Reserv ed
AHB1
0x5904 0000 - 0x5BFF FFFF
0x4904 0000 - 0x4BFF FFFF
Reserv ed
0x5900 0000 - 0x5903 FFFF
0x4900 0000 - 0x4903 FFFF
USBFS
0x500B 1000 - 0x58FF FFFF
0x400B 1000 - 0x48FF FFFF
Reserv ed
0x500B 0800 - 0x500B 0FFF
0x400B 0800 - 0x400B 0FFF
Reserv ed
0x500B 0400 - 0x500B 07FF
0x400B 0400 - 0x400B 07FF
TZBMPC3
0x500B 0000 - 0x500B 03FF
0x400B 0000 - 0x400B 03FF
TZBMPC2
0x500A 1000 - 0x500A FFFF
0x400A 1000 - 0x400A FFFF
Reserv ed
0x500A 0C00 - 0x500A 0FFF
0x400A 0C00 - 0x400A 0FFF
TZBMPC1
0x500A 0800 - 0x500A 0BFF
0x400A 0800 - 0x400A 0BFF
TZBMPC0
0x500A 0400 - 0x500A 07FF
0x400A 0400 - 0x400A 07FF
TZIAC
0x500A 0000 - 0x500A 03FF
0x400A 0000 - 0x400A 03FF
TZSPC
0x5008 0400 - 0x5009 FFFF
0x4008 0400 - 0x4009 FFFF
Reserv ed
0x5008 0000 - 0x5008 03FF
0x4008 0000 - 0x4008 03FF
ICACHE
0x5003 3000 - 0x5007 FFFF
0x4003 3000 - 0x4007 FFFF
Reserv ed