Core Coupled Memory (CCMRAM)

From Stm32World Wiki
Jump to navigation Jump to search

Some STM32 MCUs include a feature called CCMRAM (Core Coupled Memory), which is separate from the regular SRAM region.

Video

We have created a tutorial video describing use of CCMRAM. The video can be viewed here: https://www.youtube.com/watch?v=pvekb2h8_og.

Official documentation

According to the datasheet, the memory in STM32F405 is:

STM32F405 Memory.png

In the block diagram it is shown like this:

STM32F405 Memory Architecture.png

It is worth noticing a few things. As the name implies this RAM is connected directly to the MCU core but separate from the AHB bus matrix. Looking at the bus matrix:

STM32F405 Bus Matrix.png

As a result, the CCMRAM can not be used with DMA.

Usage Examples