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.

dsp6748 与fpga接口 emifa

(1)dsp与FPGA之间通过emifa进行数据交互,用cs0,将fpga配置成sdram。

(2)dsp配置emifa时将总线配置为16bit。

dsp程序中用short类型指针向fpga写入数据,如下

*(short)(0x4000000)= 0x1111;

*(short)(0x4000002)= 0x2222;

在fpga端用chipscope看到的是地址0x4000000,和0x4000002反映到数据总线上的地址是一样的。

程序如果改为

*(short)(0x4000000)= 0x1111;

*(short)(0x4000004)= 0x2222;

则在fpga端看到连续变化的地址线。

这是因为硬件地址第0bit没有连接么(硬件工程师表示地址全部连接啦),还是配置有问题?

  • EMIF配置为16bit时,EMA_A0地址线和FPGA的A1地址线相连。请看下面文档对EMA_A0管脚的说明。

    The EMIFA address pin EMA_A[0] always provides the least significant bit of a 32-bit word address.
    http://www.ti.com/lit/ug/spruh79c/spruh79c.pdf

  • dsp用cs0端口和fpga进行交互,不是cs(2--5).您刚才回复的是在下面的章节中

    18.2.5.1 Interfacing to Asynchronous Memory
    Figure 18-7 shows the EMIFA's external pins used in interfacing with an asynchronous device. In
    EMA_CS[n], n = 2, 3, 4, or 5.

    难道是”EMIF配置为16bit时,EMA_A0地址线和FPGA的A1地址线相连“,适用于cs0,也适用cs2--5

  • 6748 pdf资料中的表格 table 18-13中  Logical Address 是什么意义?是dsp6748 emifa的真正地址么?Logical Address(0)是EMA_WE_DQM[0]么?



  • 以为你是把FPGA当aysnc来用,如果作SDRAM的用话,A0没有这个限制。



  •   Logical Address是EMIFA空间地址,A[0]对应MA_WE_DQM[0]。

  • 那是不是可以这么认为

    (1)我将MA_WE_DQM[0]管脚连接到fpga中,作为地址总线的最低位,这样的话用short类型的指针操作在fpga中地址总线应该是连续的吧。

    (2)dsp的芯片中的EMA_A[0]管脚此时不是EMIFA空间地址的管脚。