TI-AM335X GPMC 7个config寄存器重点.doc

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
TI-AM335X GPMC 7个config寄存器重点

每个Config寄存器有32位 Config1: 1-0 GPMCFCLKDIVIDER Divides the GPMC.FCLK clock //用于设置时钟 使用默认0 0 GPMC_CLK frequency = GPMC_FCLK frequency 1h GPMC_CLK frequency = GPMC_FCLK frequency/2 2h GPMC_CLK frequency = GPMC_FCLK frequency/3 3h GPMC_CLK frequency = GPMC_FCLK frequency/4 4 TIMEPARAGRANULARITY Signals timing latencies scalar factor (Rd/WRCycleTime, AccessTime,PageBurstAccessTime, CSOnTime, CSRd/WrOffTime, ADVOnTime, //设置时间速度有关,没懂,默认0 ADVRd/WrOffTime, OEOnTime, OEOffTime, WEOnTime, WEOffTime, Cycle2CycleDelay, BusTurnAround, TimeOutStartValue) 0 ×1 latencies 1 ×2 latencies 9-8 MUXADDDATA Enables the Address and data multiplexed protocol (Reset value is CS0MUXDEVICE input pin sampled at IC reset for CS[0] and 0 for CS[1-5]) //使用默认 0 0 Non-multiplexed attached device 1h AAD-multiplexed protocol device 2h Address and data multiplexed attached device 3h Reserved 11-10 DEVICETYPE Selects the attached device type //默认0,我的是SRAM 0 NOR Flash like, asynchronous and synchronous devices 1h Reserved 2h NAND Flash like devices, stream mode 3h Reserved 13-12 DEVICESIZE Selects the device size attached (Reset value is BOOTDEVICESIZE input //终于自己设置了,要操作的ram是16位的,当然以后操作别的ram就改为其它的 pin sampled at IC reset for CS[0] and 01 for CS[1-5]) 0 8 bit 1h 16 bit 2h Reserved 3h Reserved 28 WRITEMULTIPLE Selects the write single or multiple access //28 30设置读写为单个或复用?有点不肯定,但这里都设置为0 0 Single access 1 Multiple access (burst if synchronous, considered as single if asynchronous) 30 READMULTIPLE Selects the read single or multiple access 0 single access 1 multiple access (burst if synchonous, page if asynchronous) config2-6: //按照芯片手册757页时序图配置 config7: 5-0 BASEADDRESS 0-3Fh Chip-select base address. //设置为0x10;A24设置为有效 CSi base address where i = 0 to 3 (16 Mbytes minimum granularity). Bits [5-0] corresponds to A29, A28, A27, A26, A25, and A24. 11-8 MASKADDRESS Chip-select mask address. Values not listed must be avoided as they create holes in the?chip-select address space. //默认设置为0 0 Chip-select size of 256 M

文档评论(0)

小教资源库 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档