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.

RTOS/AM5728: EVM configuration

Part Number: AM5728

Tool/software: TI-RTOS

Hi,

I am new to this environment. So, kindly expect some silly questions.

I want to run AM57xx_EVM_Display_Kit with TI-RTOS. My final moto is to run PCIe interface on it.

I have downloaded the SDK and installed the CCS8.

I am not able to find any example of PCIe. So could you please guide me from where can I find it? what will be the steps to get it running?

  • The RTOS team have been notified. They will respond here.
  • Hi,

    I am not sure which HW and SW you used exactly. It looks AM572x GP EVM and Processor SDK RTOS. Please note that the PCIE can only be tested on AM572x IDK EVM with Processor SDK RTOS, please check
    processors.wiki.ti.com/.../Processor_SDK_RTOS_PCIe. The test is IDK to IDK EVM connected back-to-back with PCIE connection cable.

    The GP EVM only has mSATA and mPCIe slot, not the PCIE x 1 connector as on the IDK EVM. If you use the GP EVM, you may try to use the Processor SDK Linux.

    Regards, Eric
  • Thanks Erick for the reply.

    I am using AM572x GP_EVM. yes it do not support PCIE x1. I will use mPCIe slot. I have downloaded the and installed PDK for it. Now I will be using example preset at "C:\ti\pdk_am57xx_1_0_9\packages\ti\drv\pcie\example".

    I have tried to create project for it with " pdkProjectCreate.bat AM572x evmAM572x little pcie example arm". but it have not created example. "File not found" was shown.

    Please correct me if I am on wrong way.

    Once this is created then I would like to know

    1. can I configure it as Endpoint and connect to PC PCIe?

    2. Can I configure it as RC to connect another PCIe Endpoint? I read somewhere that it will need third party SW for full enumeration?

    3. Are both the examples available in sample-code?

    4. Can I use TI-RTOS for this purpose or this is supported only in Linux?

  • Hi,

    The PCIE RTOS test only support AM57x IDK EVM, not GP EVM. That is why you can't create a CCS project for this.

    1. The GP EVM is designed as RC mode, it outputs the PCIE clock to the remote side. For a connection with a PC, it is expected that PC is the PCIE RC and provides the clock to 572 GP EVM, hardware modification is required.
    2. Yes, you can use it as PCIE RC, the RTOS software doesn't provide the enumeration, you need configure EP side as well.
    3. The example code provide the board to board testing (one is RC, the other is EP) using IDK EVM.
    4. Linux should be able to provide the enumeration if you use GP 572 as RC, we have some testing with WiFI cards as EP, using the mPcie slot.

    Regards, Eric
  • Hi Erick,

    Thank you for providing the information. Now I have much clarity.
    I will appreciate you if you could provide me following information also. It will be really helpful to us in AM572x based development.
    1. As you have mentioned that the GP EVM is designed as RC mode. Could you please let me know any example of GP EVM as RC based on RTOS?
    2. What are the HW modification required on GP EVM to connect it to PC?
    3. Could you please provide me any example of GP EVM as Endpoint with RTOS?
  • Hi,

    For 1 and 3, the PCIE is the same for AM572x GP EVM and AM572x IDK EVM. The difference is the PCIE connector on the board. The GP has the mini-PCIE and IDK has PCIE x 1 connection. From RTOS software, the IDK EVM was used for PCIE verification, but not the GP EVM. The same software is expected to work on GP EVM as well.

    For 2, I need find out the info and update here.

    Regards, Eric
  • Thanks Erick for this information.
    I will wait for your reply.
  • For 2, please check e2e.ti.com/.../653443

    Regards, Eric
  • Thank you Erick.
    I will do these changes in my GP EVM and then will try this and accordingly update here.

    at this moment, could you please let me know that in project properties -> General -> variant.

    What should I select GP EVM or IDK.  I have GP EVM but I will make some changes in PCIe HW and also I am using IDK example.

  • Hi,

    In the variant, the selection doesn't matter. Before you modify the GP EVM, I think it is best for you to run the IDK example on it as PCIE RC, and connect some mini PCIE device, like a wifi card or something, make sure you have PCIE link come up.

    Regards, Eric