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.

how to receive data from SRIO

helo everyone
   I  want to receive data from srio on 6678DSP. the DSP's SRIO connects to a FPGA chip. when a falling edge signal arrival on the GIO4 PIN , FPGA has transmitted data to DSP through SRIO and DSP should read the data from SRIO . I want to know how  to receive data From SRIO  and read the data to a fixed DSP memory. can you give me an example or some guidlines ,thank you !

  • Hi Jian,

    Please take a look at SRIO user guide document(SPRUGW1B).

    http://www.ti.com/lit/sprugw1

    Please download the latest MCSDK for Keystone I devices(C6657/70/78) and the follow user guide here. Refer the following SRIO example projects:

    \ti\pdk_C6678_1_1_2_6\packages\ti\drv\exampleProjects\SRIO_LoopbackDioIsrexampleproject

    \ti\pdk_C6678_1_1_2_6\packages\ti\drv\exampleProjects\SRIO_LoopbackTestProject

    \ti\pdk_C6678_1_1_2_6\packages\ti\drv\exampleProjects\SRIO_TputBenchmarkingTestProject

    Thanks,

  • Please see the examples that are suggested.  In general there are two methods for data transfer, directIO and messaging.  For an FPGA interface, you will want to use directIO.  There are many e2e threads on this if you search FPGA and SRIO.  With directIO, the FPGA will write directly into the DSP memory address specified by the packet.  There is no DSP involvement at all, it is done by the SRIO peripheral DMA.  So the DSP can receive the data by either, 1) polling the memory location that the data is written to by the FPGA, or 2) the FPGA can interrupt the DSP after sending the data.  There are many possible ways to implement, but please start with the examples.

    Regards,

    Travis