存储器映射
3 存储器映射
本器件包含多种存储器和内存映射外设,并且都在 4 GB 的存储空间之内。有关
系统存储器和外设位置的更多详细信息,请参见参考手册的“存储器映射”章节。
0x4000_0000
Reserved
0x4000_8000
DMA controller
0x4000_9000
DMA controller transfer control descriptors
0x4000_A000
Reserved
Flash memory controller (FMC)
Flash memory
DMA channel mutiplexer
Reserved
FlexCAN 0
FlexCAN 1 (only for KS22)
Reserved
0x4001_F000
0x4002_0000
0x0000_0000
0x4002_1000
0x4002_2000
0x4002_4000
0x4002_5000
0x4002_6000
Flash
0x0000_0000
0x0800_0000
0x1C00_0000
0x4002_9000
0x4002_A000
0x4002_B000
0x4002_C000
0x07FF_FFFF
Random Number Generator (RNGA)
LPUART 0
Code space
Reserved
note:
take 256 KB flash memory as an example
Reserved
SPI 0
0x4002_D000
0x4002_E000
0x4002_F000
0x4003_0000
0x4003_1000
0x4003_2000
0x4003_3000
0x4003_6000
0x4003_7000
SPI 1
Reserved
I2S 0
I2S 1
Reserved
CRC
Reserved
0x1C00_0000
SRAM_L
SRAM_U
Data space
Reserved *
0x2000_0000
Programmable delay block (PDB)
Periodic interrupt timers (PIT)
TPM 0
0x2010_0000
0x4003_8000
0x4003_9000
0x4003_A000
0x4003_B000
0x4003_C000
0x4003_D000
TPM 1
TPM 2
ADC 0
0x200F_FFFF
note:
0x2200_0000–0x23FF_FFFF: Aliased to SRAM_U bitband
0x3000_0000–0x33FF_FFF: Program Flash and read only data
Reserved
Real-time clock (RTC)
VBAT register file
0x4003_E000
0x4003_F000
0x4004_0000
0x4004_1000
0x4004_2000
0x4004_7000
0x4000_0000
0x4010_0000
DAC 0
Low-power timer (LPTMR)
System register file
Reserved
SIM low-power logic
System integration module (SIM)
Port A multiplexing control
Port B multiplexing control
Port C multiplexing control
Port D multiplexing control
Port E multiplexing control
Public
peripherals
0x4000_0000
AIPS
peripherals
0x4007_FFFF
0x4008_0000
0x4004_8000
0x4004_9000
0x4004_A000
Reserved
0x400F_EFFF
0x4004_B000
0x4004_C000
Reserved *
note:
0x400F_F000
0x400F_FFFF
0x4200_0000–0x42FF_FFFF
: Aliased to peripheral bridge (AIPS-lite) bitband
0x43FE_0000–0x43FF_FFFF
GPIO
0x4004_D000
0x4004_E000
0x4005_2000
Reserved
Software watchdog
: Aliased to general purpose input/output(GPIO) bitband
0xE000_0000
0x4005_3000
0x4005_F000
0x4006_0000
0x4006_1000
0x4006_2000
0x4006_4000
0x4006_5000
0x4006_6000
0x4006_7000
0x4006_8000
0x4006_A000
0x4006_B000
0x4006_C000
0x4006_D000
0x4007_2000
0x4007_3000
0x4007_4000
0x4007_C000
Reserved
FlexIO
Reserved
note:
Private
Peripheral
Bus
0xE000_0000–0xE000_0FFF: Instrumentation Trace Macrocell (ITM)
0xE000_1000–0xE000_1FFF: Data Watchpoint and Trace (DWT)
0xE000_2000–0xE000_2FFF: Flash Patch and Breakpoint (FPB)
0xE000_3000–0xE000_DFFF: Reserved
0xE000_E000–0xE000_EFFF: System Control Space (SCS) (for NVIC and FPU)
0xE000_F000–0xE003_FFFF: Reserved
0xE004_0000–0xE004_0FFF: Trace Port Interface Unit (TPIU)
0xE004_1000–0xE004_1FFF: Reserved
0xE004_2000–0xE004_2FFF: Reserved
0xE004_3000–0xE004_3FFF: Reserved
0xE004_4000–0xE007_FFFF: Reserved
0xE008_0000–0xE008_0FFF: Miscellaneous Control Module (MCM)
0xE008_1000–0xE008_1FFF: Reserved
0xE008_2000–0xE00F_EFFF: Reserved
External watchdog
Reserved
Multi-purpose Clock Generator (MCG)
System oscillator (OSC)
LPI2C 0
(PPB) *
LPI2C 1
Reserved
UART 0
UART 1
UART 2
Reserved
0xFFFF_FFFF
USB Full Speed OTG Controller
0xE00F_F000–0xE00F_FFFF: ROM Table - allows auto-detection of debug components
0xE010_0000–0xFFFF_FFFF: Reserved
CMP (with 6-bit DAC)
Reserved
Low-leakage wakeup unit (LLWU)
Power management controller (PMC)
System Mode controller (SMC)
Reset Control Module (RCM)
0x4007_D000
0x4007_E000
0x4007_F000
0x4007_FFFF
图 5. 存储器映射
4 引脚配置
27
KS22/KS20 Microcontroller, Rev 3, 04/2016
NXP Semiconductor, Inc.