工程师您好!
我们现在使用的环境是CCS9.3,pdk_c667x_2_0_16\packages\MyExampleProjects\SRIO_LpbkDioIsr_evmc6678_C66BiosExampleProject 这个例程,
修改后,可以与FPGA进行link,并FPGA可以收到DSP的数据。
但看到的srcTID,还有nWrite的目标寄存器addr也是固定的,请问这两个值是在哪里修改?
还是有功能更完整的例程?
感谢!
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.
工程师您好!
我们现在使用的环境是CCS9.3,pdk_c667x_2_0_16\packages\MyExampleProjects\SRIO_LpbkDioIsr_evmc6678_C66BiosExampleProject 这个例程,
修改后,可以与FPGA进行link,并FPGA可以收到DSP的数据。
但看到的srcTID,还有nWrite的目标寄存器addr也是固定的,请问这两个值是在哪里修改?
还是有功能更完整的例程?
感谢!
硬件会自动设置。请看SRIO user guide的说明。
Some fields, such as the RapidIO srcTID/targetTID field, are assigned by hardware and do not have a corresponding command register field.
Each LSU can support up to 16 SRCTIDs. Thus LSU0 can generate transactions with SRCTID 0-15, LSU1 from SRCTIDs 16-31, and so on. When a new command is started from an LSU, it starts back at the starting SRCTID. Thus for LSU1, every new command starts at 16.
https://www.ti.com/lit/ug/sprugw1c/sprugw1c.pdf