Difference between revisions of "Core Coupled Memory (CCMRAM)"

From Stm32World Wiki
Jump to navigation Jump to search
Line 18: Line 18:
 
[[File:STM32F405 Bus Matrix.png|900px]]
 
[[File:STM32F405 Bus Matrix.png|900px]]
 
</div>
 
</div>
 +
 +
As a result, the [[CCMRAM]] can '''not''' be used with [[DMA]].
  
 
== Usage Examples ==
 
== Usage Examples ==
  
 
* [[STM32 FreeRTOS|Using CCMRAM for FreeRTOS Heap]]
 
* [[STM32 FreeRTOS|Using CCMRAM for FreeRTOS Heap]]

Revision as of 03:17, 14 November 2024

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

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