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.

Testing PCIe interface on K2L EVM

Other Parts Discussed in Thread: XEVMK2LX, 66AK2L06, TMDXEVMPCI, SYSBIOS, 66AK2H06, 66AK2E05

Hello,

I'm using Evaluation Module for the 66AK2L06 (the TI PN: XEVMK2LX)

Trying to activate and testing PCIe interface using test program from CCS6 for K2L.

Initialization program reports "PCIe Serdes Mux Not Selected". I checked DEVSTAT

register value, bit28 is really "0" This bit must be set to "1" if GPIO16 pin is "1" during reset.

In fact on the evaluation board XEVMK2LX there is no jumper or another simple way to set

GPIO16 to 1. How to handle this situation?

If I want to test the board's PCIe with PC there is no adaptor card AMC to PCIe which

fit the shape and size of my EVM. I mean adaptor card  like TMDXEVMPCI for C6670.

  • Dear Valeri,
    You can use this project for your PCIe testing.
    C:\ti\pdk_keystone2_3_01_04_07\packages\exampleProjects\PCIE_K2LC66BiosExampleProject

    Which example are you using and how you are testing ?
    Board to board ??

    If yes, you have to configure the "PcieModeGbl" variable to run as EP or RC for both boards.


    Initialization program reports "PCIe Serdes Mux Not Selected".



    Please make sure that you set bootmode to "DSP no boot mode" (emulation mode)

    I've tested in the following methods on K2H and K2E.

    1) PCIe loopback testing (PHY) (example needs to be modified)
    2) PCIe board to board test (using given example ) (SYSBIOS PCIe code is running on both boards)
    3) PCIe board to board test (SYSBIOS (EP) PCIe code is running on one board and Linux (RC) is running on another board)

    I hope this also same for K2L board.

    Please let me know if you have any.
  • Hello Titusrathinaraj Stalin,

    66AK2L06 system is very different than 66AK2H06 and 66AK2E05. EVM boards are
    different too. On 66AK2L06 some PCIe external signals are shared on the same external
    pins along with SGMII. Serdes are shared as well. So if we want to use PCIe interface we have to
    apply “1” on pin GPIO16 during reset. On K2H and K2E this is not necessary to be done.
    My problem is how to apply “1” on GPIO16 pin. Hardware wise this is not taken in account
    when the EVM board has been designed. SGMII is always active by default and for this reason I’m
    getting message "PCIe Serdes Mux Not Selected". The program execution stops right there.
    I’m using the same example code as you.
    My question is whether is possible to ask Advantech (producer of the EVM board) how to change the
    signal from 0 to 1 on pin GPIO16.

    Thank you,
    Valeri
  • Dear Valeri,
    Can you please try "pcie" command in BMC terminal to enable the MUX.

    Ex:

    [00:00:52] BMC>pcie
    [00:00:52] Executing command "pcie"
    [00:00:52] The PCIE CLK Mux select is currently 0
    [00:01:22] BMC>pcie enable
    [00:01:22] Executing command "pcie"
    [00:01:22] The PCIE CLK Mux select is currently 1
    [00:01:22] Setting select to 0
    [00:01:30] BMC>pcie disable
    [00:01:30] Executing command "pcie"
    [00:01:30] The PCIE CLK Mux select is currently 0
    [00:01:30] Setting select to 0
    BMC>
  • Hello Titusrathinaraj Stalin,

    I tried what you sugested.

     Here is the result:

     

    [00:01:24] BMC>pcie

    [00:01:24] Executing command "pcie"

    [00:01:24] The PCIE CLK Mux select is currently 0

    [00:01:31] BMC>pcie enable

    [00:01:31] Executing command "pcie"

    [00:01:31] The PCIE CLK Mux select is currently 0

    [00:01:31] Setting select to 0

    [00:01:41] BMC>pcie enable

    [00:01:41] Executing command "pcie"

    [00:01:41] The PCIE CLK Mux select is currently 0

    [00:01:41] Setting select to 0

    BMC>

     

    As you see PCIe CLK is still not active after execution of “pcie enable”.

    I think the problem is the same as before, PCIe interface is not activated

    using GPIO16 pin at reset.

     

    Best Regards,

    Valeri

  • Valeri,


    Please check the BMC Command Syntax for the command to resolve the mux between SGMII, PCIE, JESD and AIL. I think you would need to use the following BMC commands :

    BMC> interface_muxsel pcie

    This is indicated on the board manufacturer BMC documentation that can be found here:

    Hope this helps.

    Regards,

    Rahul

  • Thank you Rahul.

    BMC command you sent me works and activate PCIe interface.

    Thanks again,

    Valeri Gueorguiev