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.

DSP与FPGA通过SRIO通信问题



我现在想通过SRIO实现TMS320C6678与Xilinx-v5之间的数据通信,用到的是Keystone例程。

如果DSP做主设备,还需要调用Keystone_SRIO_match_ACK_ID(0,DSP1_SRIO_BASE_ID, 0)函数吗,里面的DSP1_SRIO_BASE_ID应该就是FPGA的id号吧?

我用的是DSP和FPGA的port0。

如果需要调用这个函数,那么Keystone_SRIO_match_ACK_ID个函数体里面的uiResult= Keystone_SRIO_Maintenance(uiLocalPort, uiLocalPort,

uiDestID, 0x148+(0x20*uiRemotePort), GLOBAL_ADDR(&uiMaintenanceValue),SRIO_PKT_TYPE_MTN_READ)函数里面的参数怎么设置啊

现在直接用论坛提供的这个程序,一直卡在这个地方。是不是因为从设备是FPGA,所以需要修改 Keystone_SRIO_Maintenance函数里的参数啊

非常感谢