Hi,
I use AMC-PCIe adapter card to connect DM8168 EVM and C6678 EVM board,DM8168 work as RC and C6678 as EP.I met some problem as following:
1.After link training success,I have checked some PCIe registers,the value is:
PL_LINK_CTRL:0x30120(both DM8168 and C6678)
PL_GEN2:0x20F(both DM8168 and C6678)
LINK_CAP:0x135422(DM8168),0x35422(C6678)
LINK_STAT_CTRL:0x30120008(DM8168),0x10120080(C6678)
According to LINK_STAT_CTRL register,we can see NEGOTIATED_LINK_WD is 0x1,only use x1 lane.both DM8168 and C6678 support x2 lane.what can I do to change x1 mode to x2?
2. To solve problem1, I checked the value of PCIE_SERDES_STS register,the value is 0x00000201,according to document: "Loss of Signal detect of Lane1. Driven high asynchronously when a loss of signal (electrical idle) condition is detected."so I think the problem occured on lane1,why loss of signal detect of lane1?How can I solve it?
3.The problem whether or not related to the boot mode?Do I need to use PCIe boot or others boot mode for C6678?
Regards,
Simon