Hello,
I‘m using C6678 dsp and PCIe interface to communicating with DM8168,C6678 work as EP and DM8168 as RC.The data I want to transfer in DM8168 DDR,and outbound to C6678 PCIe data space(the address is 0x60000000),then use EDMA to move these data to C6678 DDR(the address is 0x90000000).
I have tested the transfer rate,only 352MB/S,less than expect(about 650MB/s).I have checke LINK_STAT_CTRL register,the value is 0x10120080,in other words,the value of NEGOTIATED_LINK_WD field is 0x1,only enable one lane.But I think I have set up GEN2 mode,the value of another relevant register:
LINK_CTRL:0x30120
Link_CAP:0x35422
PL_GEN2:0x20F(before link up,I set the DIR_SPD=1,but it is not change in memory view)
can you help me to analyze why only enable one lane?
Regards,
simon,