
UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
11 of 464
2.1 General description
The LPC5410x incorporates several distinct memory regions.
shows the overall
map of the entire address space from the user program viewpoint following reset.
The APB peripheral area is 512 KB in size and is divided to allow for up to 32 peripherals.
Each peripheral is allocated 16 KB of space, simplifying the address decoding.
The registers incorporated into the CPU, such as NVIC, SysTick, and sleep mode control,
are located on the private peripheral bus.
2.1.1 Main SRAM
The parts contain up to a total 96 KB of contiguous, on-chip static RAM memory (this is in
addition to SRAM2 as noted in the next section below, so the total device SRAM can be
up to 104 KB). For each SRAM configuration, the SRAM is divided into two blocks:
SRAM0 (up to 64 KB) and SRAM1 (up to 32 KB). The bottom 8 KB of SRAM can be
enabled separately in order to allow saving data with minimal power usage during
Power-down mode. The remaining portion of SRAM0 and the entire SRAM1 can also be
disabled or enabled individually in the SYSCON block to save power. See
“AHB Clock Control register 0”
and
Section 4.5.38 “Power Configuration register”
2.1.1.1 SRAM2
An additional on-chip static RAM memory, SRAM2, is available that is not contiguous to
SRAM0 and SRAM1. This can be used, for example, as the location for the program
stack, or any other use. SRAM2 can be disabled or enabled in the SYSCON block to save
power. See
Section 4.5.22 “AHB Clock Control register 0”
and
.
2.1.1.2 SRAM usage notes
Although always contiguous on all LPC5410x devices, SRAM0 and SRAM1 are placed on
different AHB matrix ports. This allows user programs to potentially obtain better
performance by dividing RAM usage among the 2 ports. For example, simultaneous
access to SRAM0 by the CPU and SRAM1 by the system DMA controller does not result
in any bus stalls for either master.
UM10850
Chapter 2: LPC5410x Memory mapping
Rev. 2.4 — 13 September 2016
User manual
Table 1.
Main SRAM configuration
SRAM0
SRAM1
(total main SRAM = up to 96 KB)
Size
Up to 64 KB
Up to 32 KB
Address range
•
Always begins at 0x0200 0000.
•
Continues to 0x0200 FFFF (for full 64
KB).
•
Begins at end of SRAM0, 0x0201 0000 when SRAM0
is a full 64 KB.
•
Ends at 0x0201 7FFF for 32 KB SRAM1 with 64 KB
SRAM0.
Power Control
(via Power API)
•
First 8 KB is has a separate power switch.
•
Remaining SRAM0 has a single power
switch.
•
All of SRAM1 has a single power switch.