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.

C6678 integratred PCIe usage

Hello

There's a PCIe port(2x or 1x lane) in C6678 DSP.

-Does this port can be operated as host?. or

-Without external PCIe host, The PCIe port can communicate with external device(mater read/write or slave mode) which  has PCIe port?.

 

  • Hi,

    The PCI Express fabric looks like a tree structure with nodes connected to each other
    via point-to-point links. The root node is called the root complex (RC), the leaf nodes
    are called end points (EP).

    The PCIe on the C6678 supports RC and EP mode ...

    Please aslo see the PCIe User's Guide:

    http://www.ti.com/litv/pdf/sprugs6a

    Kind regards,

    one and zero

  • Hi Sckim,

    I think one-and-zero already has the main points here. I just specifically answer you questions:

    The PCIe in C6678 can be set as Root Complex (RC), which can issue the configuration read/write to the other external PCIe device. So it can be operated as "host" and communicate with the external PCIe device without external PCIe host.

    But PCIe in C6678 has only one port (2x lanes). So without external switch, it can only connect to one external PCIe port (2x or 1x lane).

    Depending on the external PCIe device operation mode, you can configure the PCIe in C6678 as RC (external PCIe device is EP) or EP (external PCIe device is RC) for the communication, like one "master" and one "slave". Then you can use the RC to configure EP and complete the transaction as you want.

    Hope it helps.

    Sincerely,

    Steven

  • Thanks One and Zero and Steven...

    Mc SDK has example code for RC mode and EP mode setting?.