ABSTRACT

This chapter provides general information about the ARM Cortex-M4 and MSP432P4 microcontroller memory system. It mainly focuses on the memory system used in an MSP432P401R MCU system. The chapter discusses the system memory map specially designed for that MCU, connections between the processor and memory, and the connection between the memory and peripherals, memory architecture and requirements, bit-band principle and operations, memory access attributes, memory endianness, memory access behaviors, and memory programming applications in the MSP432P401R MCU system. Most popular control registers applied on these memory models are introduced and discussed in detail with related example projects. The chapter discusses API functions used for flash memory. Some special memory implementation techniques, such as bit-band alias and flash memory programming, are introduced with actual example projects. It discusses the flash memory controller, including the flash controller operational clocking and addressing mode, all different flash memory operation modes, and related status registers.