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

From Stm32World Wiki
Jump to navigation Jump to search
m (Lth moved page CCMRAM to Core Coupled Memory)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
To be added
+
[[Category:STM32]][[Category:STM32 Hardware]][[Category:STM32 Documentation]][[Category:STM32 Development]]{{metadesc|STM32 Core Coupled Memory - CCMRAM}}
 +
Some [[STM32]] [[MCU]]s 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=Eh7Szh-K-u8 https://www.youtube.com/watch?v=pvekb2h8_og].
 +
 
 +
{{#ev:youtube|pvekb2h8_og}}
 +
 
 +
== Official documentation ==
 +
 
 +
According to the [https://www.st.com/resource/en/datasheet/dm00037051.pdf datasheet], the memory in [[STM32F405]] is:
 +
 
 +
<div class="res-img">
 +
[[File:STM32F405 Memory.png|400px]]
 +
</div>
 +
 
 +
In the block diagram it is shown like this:
 +
 
 +
<div class="res-img">
 +
[[File:STM32F405 Memory Architecture.png|900px]]
 +
</div>
 +
 
 +
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:
 +
 
 +
<div class="res-img">
 +
[[File:STM32F405 Bus Matrix.png|900px]]
 +
</div>
 +
 
 +
As a result, the [[CCMRAM]] can '''not''' be used with [[DMA]].
 +
 
 +
== Usage Examples ==
 +
 
 +
* [[STM32 FreeRTOS|Using CCMRAM for FreeRTOS Heap]]

Latest revision as of 06:48, 28 November 2024

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