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.

TMS320C6678与Xilinx-v5 通信链路连接问题 KeyStone

Other Parts Discussed in Thread: TMS320C6678

您好,我现在想通过SRIO实现TMS320C6678与Xilinx-v5之间的数据通信,用到的是Keystone例程。在调试过程中遇到一些问题,请您帮忙解答。

在2DSP 这个程序里面,要实现两个终端设备的ACK ID 匹配。Keystone_SRIO_match_ACK_ID(2,DSP1_SRIO_BASE_ID, 2)这个函数里面的uiResult= Keystone_SRIO_Maintenance(uiLocalPort, uiLocalPort,

uiDestID, 0x148+(0x20*uiRemotePort), GLOBAL_ADDR(&uiMaintenanceValue),

SRIO_PKT_TYPE_MTN_READ);

这里面的 0x148+(0x20*uiRemotePort) 是怎么来的,是对方设备的对应寄存器的地址吗?请您解释一下,谢谢!

  • 你好,这个应该是fpga的寄存器地址偏移量,但是我没有在v5的srio的手册上发现这个寄存器,不知道怎么修改,你现在解决了吗?另外,uiMaintenanceValue里面的数据存储是不是需要修改啊,因为FPGA那边的寄存器也不一定和6678DSP一样啊,这样直接写过去不知道行不行