I'm using two TMS320C6657 EVMs with a PCIe backplane powered by an ATX supply. I've built the PCIE_exampleProject, one as RC and one as EP for the two EVMs and have failed to get a reliable PCIe between the two EVMs. I'm using the integrated XDS200 Onboard Emulator for each EVM. Both EVMs are configured for nonBoot mode (Sleep/EMIF16). What I'm seeing isa successful link training reaching the L0 state (0x11) in DEBUG0[4:0] and then I lose the L0 state almost immediately. I do sometimes get a successful run between the two boards but only if I power off everything and rerun - this does not always result in a successful test run of the PCIe example code. In fact, I see the link state return to 0x0 (pcie_LTSSM_DETECT_QUIET) even with a successful run.
If I do a system reset and reload of core0 I cannot get a successful run - The link training gets to the L0 state and quickly goes to recovery and back to quiet.
I have checked registers with the emulator such as the Device control register (EP = 0x00011801, RC = 0x00019801), SERDES_CFG[0/1] 0x000622A0/0x000222A0 - All the register settings are consistent with the PCIE_exampleProject code settings.
This is an ongoing issue that we need resolved so we can move on to our development phase.
We need to determine why the link state is not staying in L0 for any meaningful period. What help can you provide? What questions do you have for me?
Thanks,
Edward