Part Number: AM5728
Tool/software: TI-RTOS
Hi,all
HW: I am using a am5728 board which is based on am5728-evm board.
SW: PCIE_idkAM572x_wSoCFile_armExampleProject
We notice that the am5728-evm board is designed as RC,but we want to change it as EP,So we modify the hardware design and let PC provides the PCIE reference clock (spread spectrum) to EP.
e2e.ti.com/.../2236952
we overwrite the code at the PlatformPCIESS1PllConfig()
HW_WR_FIELD32(SOC_SEC_EFUSE_REGISTERS_BASE + CSL_CONTROL_CORE_SEC_SMA_SW_6,
CSL_CONTROL_CORE_SEC_SMA_SW_6_PCIE_TX_RX_CONTROL, 0x02U);
HW_SET_FIELD(regVal, CM_CLKMODE_APLL_PCIE_REFSEL,
CM_CLKMODE_APLL_PCIE_REFSEL_CLKREF_ACSPCIE);
Then we test two am5728-evm board communicate with pcie,the RC do not detect the EP at this time.(It is success at CM_CLKMODE_APLL_PCIE_REFSEL_CLKREF_ADPLL),So I think the APLL ref clock is change successfully.
But when we put the am5728-evm(EP) to PC PCIe slot,and run the program.the program is always at "Starting link training..".
I have doubts about the 100Mhz hardware design,but at sometime,the link is up.....but PC do not detect the EP board.

I have some questions want to confirm:
(1) from what I have done now,Can I sure the 100Mhz to ljcb_clkp is right now?(Because sometime the link is up)


