STM32 之五 Core Coupled Memory(CCM)内存

本文介绍了STM32F4的Core Coupled Memory(CCM)内存,包括其基本架构和使用方法。CCM是64KB的高速RAM,只能通过CPU访问,适用于存放频繁读取的数据和中断函数,以提高程序执行速度。文中提到了两种使用CCM的方式:一是通过Keil配置自动分配,二是手动指定内存分配。同时,文章也讨论了在使用FreeRTOS时如何利用CCM,并提醒了与DMA配合时的注意事项。
摘要由CSDN通过智能技术生成

写在前面

  • 今天在搞STM32F4时,用到了一部分特殊内存——CCM。搜了搜网上没多少介绍,索性自己查手册。
  • 某些芯片没有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-Kby

  • 29
    点赞
  • 151
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ZC·Shou

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值