问小白 wenxiaobai
资讯
历史
科技
环境与自然
成长
游戏
财经
文学与艺术
美食
健康
家居
文化
情感
汽车
三农
军事
旅行
运动
教育
生活
星座命理

STM32F407芯片中CCM RAM的使用详解

创作时间:
作者:
@小白创作中心

STM32F407芯片中CCM RAM的使用详解

引用
CSDN
1.
https://blog.csdn.net/qinbo1234567890/article/details/127745230

STM32F4系列微控制器在嵌入式开发领域备受关注,其中CCM(Core Coupled Memory)RAM因其独特的性能特点而备受开发者青睐。本文将详细介绍STM32F407芯片中CCM RAM的使用方法和架构特点。

某些芯片没有CCM

基本架构

废话少说,先看看这块内存特殊在哪里。官方的基本架构说明如下:

  The main system consists of 32-bit multilayer AHB bus matrix that interconnects:

Eight masters:

– Cortex® -M4 with FPU core I-bus, D-bus and S-bus

– DMA1 memory bus

– DMA2 memory bus

– DMA2 peripheral bus

– Ethernet DMA bus

– USB OTG HS DMA bus

Seven slaves:

– Internal Flash memory ICode bus

– Internal Flash memory DCode bus

– Main internal SRAM1 (112 KB)

– Auxiliary internal SRAM2 (16 KB)

– AHB1 peripherals including AHB to APB bridges and APB peripherals

– AHB2 peripherals

– FSMC

  The bus matrix provides access from a master to a slave, enabling concurrent access and efficient operation even when several high-speed peripherals work simultaneously. The 64-Kbyte CCM (core coupled memory) data RAM is not part of the bus matrix and can be accessed only through the CPU. This architecture is shown in

其架构和之前的STM32F1x区别还是挺大的。由上可知,CCM共64KB,是直接挂在D-bus上的,除了CPU(即Cortex-M核)之外,谁都无法访问。

© 2023 北京元石科技有限公司 ◎ 京公网安备 11010802042949号