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.

AM6442: PCIe cannot link-up

Part Number: AM6442
Other Parts Discussed in Thread: TMDS64EVM, AM2434

Tool/software:

Hi,

My customer is now evaluating PCIe on AM64x, but it cannot be linked up. Could you please give them something advice.

 

< HW Environments >

Root-Complex :    EVM #1 (TMDS64EVM)

End-point :            EVM #2 (TMDS64EVM )

     RC (EVM #1) <---- (Card Edge Cable) ----> EP (EVM #2)

 Card Edge Cable 8KJ2-0743-0250 (64 Position PCIe x4 Card Edge to Card Edge 0.820') is modified to connect A16/A17 of RC on EVM #1 to B14/B15 of EP on EVM #2, and each terminal is inserted into J27 connector of each EVM.

  

< Example Software >

They’re using the Example Projects in the folder of “example / drivers / pcie /pcie_benchmark” in the mcu_plus_sdk_am64x_09_01_00_41.

 

< Evaluation Procedure >

  1. EP (EVM #2) starts-up at first.
  2. RC (EVM #1) starts-up immediately after starting-up EVM #2.

 

< Results >

It seems that PCIe cannot succeed the link-up.

Both RC and EP displayed “MAIN_Cortex_R5_0_0:AM2434_ALV” in the console output.

They dumped PCIe registers by stopping RC operation after 20 seconds.

                                                                EP               RC
-----------------------------------------------------------------------------------------

0x0F100000 :PCIE0_revid            :0x68141900  :  0x68141900

0x0F100004 :PCIE0_cmd_status :0x00000001  :  0x00000001

0x0F100008 :PCIE0_rstcmd         :0x00000000  : 0x00000000

0x0F10000C :PCIE0_initcfg          :0x01C41FFC : 0x01C41FFC

0x0F100014 :PCIE0_linkstatus     :0x01000000  : 0x03000001

 

Could you please give them any advice to connect PCIe or should they check something ?

 

They wonder

 PCIe cable should be something special ?

 some more settings are needed on RC side ?

 any program modification should be needed on RC side ?

 

because EP seems to have no issue from the following another evaluation.

 

 

When they connected EP (EVM #2) to other SoC board (PCIe Gen1), then “Device in EP mode” was output to the Console on EVM #2. It looks success to link-up.

RC (Other SoC Board) <---- (PCIe supported Cable) ----> EP (TMDS64EVM #2)

 

When they read the address 0x0F10_0014 by CCS on EP (EVM #2) after stopping RC (Other SoC Board)

0x10000103

  • LTSSM_STATE  = 10h – L0
  • LINK_STATE    = 0x03 – Link up

 

 

Thanks and regards,

Hideaki