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.

6678 PCIE demo程序问题请教



HI,TI engineers:

     最近在调试6678的PCIE和外部芯片通信,在调试demo代码的时候无法正常运行。调试的代码路径为:

      C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_16\packages\ti\drv\exampleProjects\PCIE_exampleProject

     在并未修改demo代码的时候运行到

/*Enable link training*/ pcieLtssmCtrl(handle, TRUE)) ;

 /* Wait for link to be up */

pcieWaitLinkUp(handle);

此处后就无法再往下运行了。阅读代码后发现函数里面是是一个wait for link to be up 的while死循环,而这部分代码在RC和EP外,

感觉和RC和EP没有关系。

死循环里是等待ltssmState== pcie_LTSSM_L0(0x11)。但是在代码上半部已经做了enable link了,但是程序并未跳出while循环。

请问还需要设置其他参数和配置么?能否请TI工程师看下demo可否正常运行?谢谢