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.

Routing SRIO interrupt in c6678

HI Forum,

I am using c6678 multi core DSP, with DSP package pdk_C6678_1_0_0_11, I am not able get any example codes for enabling SRIO transfer with completion interrupt. I found few examples in forum itself for some older version CSL API. could any one give the example code for routing SRIO interrupt to one of the hot interrupt with the given CSL package

  • Hi,

    I think you installed very old MCSDK package. Better to install latest MCSDK package for keystone I devices(C6678). Please download the latest MCSDK for Keystone I devices(C6657/70/78) and the follow user guide here.

    LSU Transfer completion interrupt based SRIO example available on latest MCSDK package. 

    MCSDK path: "\ti\pdk_C6678_1_1_2_6\packages\ti\drv\exampleProjects\SRIO_LoopbackDioIsrexampleproject"

    Thanks,

  • Hi Ganapathi,

    Thanks for the reply, as per our current project requirements and due to some other dependencies, we are supposed to use pdk_C6678_1_0_0_11 only.

    We used the example code available from forum in our package. Its same as that of the example available in
    "pdk_C6678_1_0_0_15\packages\ti\drv\srio\example\SRIOLoopbackDioIsr"

    (But we did not enable pdk_C6678_1_0_0_15 in our project configurations. We have enabled pdk_C6678_1_0_0_11 only)

    When we used this code snippet, we are facing linking failures as "undefined symbols CpIntc_dispatchPlug, CpIntc_mapSysIntToHostInt.."

    So, please let us know if the pdk_C6678_1_0_11 support SRIO with Interrupt (including the interrupt mapping).

    Thank you!
  • Hi,

    I am not sure this PDK version SRIO example support or not. Please check the SRIO release notes document.

    MCSDK Path: "\ti\pdk_C6678_x_x_x_x\docs\ReleaseNotes_SRIODriver.pdf"

    Better to port your old test code to latest version PDK example.

    Thanks,
  • Hi Ganapathi,

    Thanks for your reply...with existing MCSDK it self we are able to map the SRIO completion interrupt to a ISR. we were giving wrong argument while creating HWI parqams. previously we was passing SRIO handle address as input , looks like we need to configure the "arg" variable with HostEventID.

     

    Thanks

  • Thanks for your update. After this modification the SRIO interrupt is working on your test application.