Difference between revisions of "Core Coupled Memory (CCMRAM)"
Jump to navigation
Jump to search
(→Video) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[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. | 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: | According to the [https://www.st.com/resource/en/datasheet/dm00037051.pdf datasheet], the memory in [[STM32F405]] is: | ||
Line 10: | Line 19: | ||
<div class="res-img"> | <div class="res-img"> | ||
− | [[File:STM32F405 Memory Architecture.png| | + | [[File:STM32F405 Memory Architecture.png|900px]] |
</div> | </div> | ||
Line 16: | Line 25: | ||
<div class="res-img"> | <div class="res-img"> | ||
− | [[File:STM32F405 Bus Matrix.png| | + | [[File:STM32F405 Bus Matrix.png|900px]] |
</div> | </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:
In the block diagram it is shown like this:
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:
As a result, the CCMRAM can not be used with DMA.