Tool/software: Linux
Hi,
I am using the custom board of AM5728-EVM and ti-processor-sdk-linux-am57xx-evm-04.01.00.06.
we want to use pcie to communicate with windows pc.
Here is what we meet:
first,if we want to communicate with windows pc and the am5728-evm as EP mode,the am5728-evm must use the clock from the RC(windows PC) and use the synchronize mode.
synchronize mode change by CM_CLKMODE_APLL_PCIE,bit[7] 0x1: APLL reference input clock is from ACSPCIE.
we change the CTRL_CORE_SMA_SW_6.PCIE_TX_RX_CONTROL bit to change the ACSPCIE Ref. clock buffer mode as RX_mode.
But the windows do not recognize am5728-evm.
For confirm we change the CTRL_CORE_SMA_SW_6.PCIE_TX_RX_CONTROL at uboot is right,so we change it to TX_mode,and the CM_CLKMODE_APLL_PCIE,bit[7] 0x0: APLL reference input clock is from ADPLL.
ljcb_clkp and ljcb_clkn do not have 100Mhz clock.I use devmem2 tool to check the register value,the value has been changed.
Here is my questions:
(1) we can use two am5728-evm,one as RC and another as EP,it can work fine at asynchronous mode.so,I think the PCIE hardware design is fine.
(2)am5728-evm use pcie to communicate with windows pc,we must set ACSPCIE buffer as RX_mode,and change the APLL reference input clock is from ACSPCIE,am I right?
(3)I change the register 0x4a00341c and 0x4a00821c at uboot,we can see it is changed at filesystem,why the ljcb_clkp and ljcb_clkn don't have signal output at TX_MODE?
(4)if we can't change the register at uboot,can you tell me where can I change it?
(5)finally, our purpose is the am5728-evm(EP) use pcie to communicate with windows pc(RC), TI have some documents about this?
Any help will be appreaciate!
Thanks!