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.

关于AM5728的PCIe

最近在看例程D:\ti\pdk_am57xx_1_0_4\packages\MyExampleProjects\PCIE_idkAM572x_wSoCFile_armExampleProject,有几点不太明白的地方,请大家指点。

1、例程中的RC,所有设置都是pcie_LOCATION_LOCAL本地操作的,似乎没有对EP端配置的过程,是不是这样?

2、如果1成立,那么TI有没有裸跑的比较完善的RC例程,比如有对EP进行配置的代码?

3、请简要说明一下该处理器上PCIe的RC以及EP初始化的过程,每一步的作用是什么,以及需要设置哪些寄存器。

万分感谢!

  • Q1:可以参考:http://processors.wiki.ti.com/index.php/Linux_Core_PCIe_EP_User%27s_Guide

    Q2:我猜你要的是类似之前裸机代码Starterware的东西,这个东西目前是在我们的PROCESSOR SDK RTOS中有相应的提供,你可以下载:

    http://software-dl.ti.com/processor-sdk-rtos/esd/AM57X/latest/index_FDS.html

    然后PCIE的部分使用参考:

    http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_PCIe

    Q3:有个video可供参考:Enabling PCIe End Point (EP) Mode on Sitara™ AM57x using Processor SDK Linux with Texas Instruments

    https://training.ti.com/am57x-pcie-ep-demo-processor-sdk-linux%20