This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/RM57L843:连接到32x4096存储器的16位异步 EMIF 接口

Guru**** 2458510 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/642111/ccs-rm57l843-16-bit-async-emif-interface-to-32x4096-memory

器件型号:RM57L843

工具/软件:Code Composer Studio

您好!

我有从 Hercules 到 FPGA 的 EMIF 异步接口(我在 HALCoGe 中配置了一个16位总线)。 我想制作 DMA。 HW 的接口为16位数据、但 FPGA 存储器大小为32x4096。 我如何在代码中实现这一点、我是否可以像这样做:Ext_Mem_Address = Data32bit 到_TO_Write;即使数据库是16位也是如此。 EMIF 是否管理了所有这些、BA 引脚的变化? 谢谢你。
  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Mercel、您好!

    要连接16位异步存储器、应将 EMIF_Ba1连接到 FPGA_Addr[0]、并将 EMIF_Addr[0]连接到 FPGA_Addr[1]。

    您可以从异步存储器读取/写入8位/16位/32位数据。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、WANG、EMIF_Ba1连接到 FPGA 上的额外 BA 引脚。 我的问题是如何在代码中编写此代码? 我可以像这样做 ExT_Mem_Address = Data32bit 到_Write;还是应该将32位字16位进一步移位并使 addr 递增? BR
    Marcel
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Marcel、您好!

    EMIF_Ba1连接到 FPGA 地址 A[0]引脚。

    我创建了2个表来将 MCU 地址信号(Ba1、A0、A1)映射到16位异步存储器(低字节和高字节)。