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.
Hi,
We have a system in which, AM3894 and Xilinx FPGA is present. Below is details of the system.
The system is inconsistent in detecting PCIe interface
We are able to see Xilinx Endpoint with LSPCI command on Linux. In the failure condition we have read LTSSM status bits. During link training failure LTSSM value is states Polling Compliance.
We are using the same software package as of 816x/389x EVM from Digital Spectrum.
Please can anyone suggest solution for this issue.
Regards,
SMK
Hello,
Please provide following:
1) I assume FPGA board is powered separately, right? What is the POR sequence you are using?
2) How is the 100MHz ref clk provided to FPGA?
3) Can you provide the LTSSM dump - at least first few transitions?
4) Which PSP release are you using?
Hemant
Yes. We are powering on the FPGA after all the voltages on AM3894 processor
module are stable. Since 0.9V is the last voltage in processor module, we are using the power good of 0.9V regulator to enable the power to FPGA.
We are connecting the RSTOUTn output of processor to reset of FPGA.The total POR duration is 580ms. (We also checked with 1.25sec POR duration, but result is same).
2) How is the 100MHz ref clk provided to FPGA?
We are using the same clock generator used in DM816x EVM. One of the 100MHz clock o/p is provided to AM3894 & other o/p clock is provided to FPGA.
3) Can you provide the LTSSM dump - at least first few transitions?
Attached pcie_working.TXT is for working condition.
pcie_non_working.TXT is for non-working condition.
4) Which PSP release are you using?
linux-2.6.37-psp04.00.00.10.tar.gz which is given in the sdk ti-ezsdk_dm816x-evm_5_01_01_80
Hello,
I will probably require more time to analyze in detail but as quick comments I can suggest following:
1) Can you try independently powering up FPGA board and make sure it is ON before 816x device starts (of course the reset driver from 816x has to be disconnected.
2) AND/OR get similar state transition data from FPGA side?
From the logs I do not see the LTSSM getting in to compliance state - it seems going from Detect to poll to detect mostly. Have you tried any other off the shelf PCIe card (e.g., the one mentioned in Root Complex driver user guide? Or try with another 816x EVM?
If nothing works, can you also provide dump of DEBUG1 register too (@5100172c)?
Thanks.
Hemant
Roshan,
Roshan Dsouza said:5. along with this hardware change we have done a software change so that reset to fpga is de-asserted at the same time when pci local reset in processor is released.
Roshan Dsouza said:questions1. how does pci local reset in processor effect pcie link training2. when exactly pci local reset need to be released