IT lexicon › Hardware › CCM RAM

CCM RAM

Hardware På svenska → Updated: 2026-11-05

A separate SRAM block on some STM32 parts, wired straight to the core's bus and therefore fast — but invisible to DMA.

Core-coupled memory appears on, among others, the STM32F405/407 (64 KB) and the STM32F3 (a few kilobytes). It is attached to the core without going through the bus matrix, so it never competes with DMA traffic for bandwidth. The downside follows from the same design: the DMA controller cannot reach it, and on the F4 it hangs off the data bus only, so code cannot execute from it. On the F3 it can.

Typical tenants are stacks, the RTOS heap and lookup tables that only the CPU touches. The classic bug is putting a UART buffer there and wondering why the DMA transfer writes nothing but zeros. Using it takes a dedicated section in the linker script, and the startup code will not initialise it unless asked.

← Back to the lexicon