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 PCIe usage in slave mode

Other Parts Discussed in Thread: SYSBIOS

Hello,

I'm starting working with C6678 DSP and I'm reading and looking information about PCIexpress module. I didn't see nothing about it in the sysbios documentation so I assume that sysbios doesn't support PCIe so I suppose that the easiest way to work with PCIe is by using the chip supporting library.

I'm using CSL reference guide SPRU401J but it seems to work just with host mode. Is it correct? Where can I find the reference to start working in slave PCIe mode?

Regards.

  • There is an LLD and a very basic example in MCSDK 2.0.0.11 which is free to download.  Please see http://e2e.ti.com/support/embedded/b/announcements/archive/2011/07/05/production-release-of-mcsdk-2-0-for-c66x-devices.aspx.

    The hardware autonomously negotiates with the r/c after it is configured to endpoint mode.  When the link is up, the PC will see several BAR regions which can be mapped to the DSP's memory using the IB_BAR registers. The application needs to decide how to use PCIe to communicate with its counterpart running on the PC (or other R/C).

    The example for endpoint (slave in your terminology) will be in C:\Program Files\Texas Instruments\mcsdk_2_00_00_11\tools\boot_loader\examples\pcie after installing the MCSDK.  The example downloads a test application from a linux PC then interacts with it.

    The LLD which includes .chd and .html documentation is in C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_11\packages\ti\drv\pcie.