AMBA总线bus介绍.ppt

  1. 1、本文档共98页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* 例:DMA Step0:CPU检查DMA的状态以确认是否可用 While(1) { Read(0x30004,status) if(status == 0) break; } * 例:DMA Step1:CPU设置(source address)、(destination address)(size) Write (0x30008,0x10000) Write(0x3000C,0x20000) Write(0x30010,0x100) Step 2: 启动DMA Write(0x30000,0x1) * 例:DMA Step3: DMA把数据从memory 1 传送到memory 2 * 例:DMA Step 4:DMA 向CPU发出中断请求 Step 5:CPU检查DMA的状态 Read(0x30004, status) * All systems require some master to be granted at any time. If no master is requesting then you should grant a master by default. However there are two types of “default” master. The first is a simple dummy master which only performs IDLE cycles. This master never does anything useful with the bus. The second is a default master which is a real master. This master will again perform IDLE cycles until either another master requests or it actually wants to use the bus. The advantage with this master is that if it needs the bus it does not have to go through the 2 cycle arbitration period. However in systems that support SPLIT operations we have the possibility of all masters receiving SPLIT responses. The only safe master to grant in this case would be a full dummy master. If a locked access gets a split response then all you can legitimately grant is the dummy master as lock means grant no other master combined with split meaning grant another master. * With a 32 bit address bus we can address 4Gb of address space. It is unlikely that a design will fully utilise this space so 2 options are left. The simplest is to continuously address the available slaves (wrapping round ignoring the MSBs of the address) but this risks missing why the code has exceeded its available real memory space. It also may leave gaps. The standard solution is to define a default slave which is selected in all places where no real slave exists. This will trap both gaps in the memory map and when software exceeds the physical limits of available memory. The response given by this default slave depends on the

您可能关注的文档

文档评论(0)

xina171127 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档