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.
Part Number: TMDXIDK5718
This is a question about the PCIe endpoint on TMDXIDK5728 board but the forum doesn't have it as part number so I set TMDXIDK5718.
I'm using the PCIe endpoint in enpoint mode and want to test with the Linux endpoint framework driver. To use the PCIe endpoint in endpoint mode I followed the docs and made a modified PCIe cable:
I connected the board with a Linux PC via the modified PCIe cable, followed the instructions in the doc, and then rebooted the PC, but there's no new PCIe device found (lspci shows no new device). On the board Linux system when I bind the endpoint function driver to endpoint controller driver there're warnings about BAR4/5 not successfully set, but it's expected because there're only 4 inbound windows according to the device tree file. No other warnings/errors shown.
What could be the problem? Is this feature only for two same board connecting each other, not for PC with the board? Or maybe it's the modified cable issue? I cannot get the exactly same cable as the wiki, so I bought a PCIe 1x male-to-male cable, and removed all 12V, 3.3V, clk+/- pins on one side.
In reply to Rex Chang:
I see you mentioned this in both threads:
"the EP should take clock from RC. So, the PCIE_SS shouldn't use current internal clock source, but take the external clock from RC through LJCB_CLKP/N by programming ACSPCIE in RX mode.
Please refer to section 26.4 PCIe PHY Subsystem of the AM5728 TRM, SPRUHZ6J, and take a look at Figure 26-17."
If the another TMDXIDK5728 plays the RC role, this is not needed as the EP using the internal clock which is same as the RC clock?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to zhangxin:
That is correct. When both RC and EP are TI AM57x EVMs, each can run its internal clock and they are in sync.
To who finds this thread for the same question, despite the clock/power is disconnected on the cable, my colleague swapped Tx and Rx of the cable then the board as RC can find the board as EP connected.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.