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.

TMS320C6678: SRIO DOORBELL INTERRUPT PROBLEM

Part Number: TMS320C6678


Hi,

I am using NDK and SRIO in same project.

SRIO receives doorbell interrupt and perform opertation when called independently i.e., without NDK .

When both NDK and SRIO are invoked, srio fail to receive doorbell interrupt. 

I have assigned the doorbell in this way,

  eventId =20;

  EventCombiner_dispatchPlug (eventId, isr_handler , 0, TRUE);

Let me know the changes to make srio and network work.

 

  • Hi,

    Please check:  

    Regards, Eric

  • Hi Eric,

    Thanks for your reply,

    I gone through this link  "e2e.ti.com/.../198711"  and changed the event id as suggested but dint help.

    Kindly clarify why the event id to be assigned 48 or 49 as the  data sheet clearly says 20 is for SRIO interrupt.

    This is the doorbell registration routine used in my code.,

        int eventId=20;
    
        hSrio = CSL_SRIO_Open(0);
        CSL_SRIO_DisableInterruptPacing (hSrio, 0);
        CSL_SRIO_ClearDoorbellPendingInterrupt(hSrio,0,0xFF);
    	
        printf("\n intconfig_db : The event id is %d \n",eventId);
        EventCombiner_dispatchPlug (eventId, isr_sriodb, 0, TRUE);
        EventCombiner_enableEvent(eventId);



    Package version

    ndk_2_21_01_38

    pdk_C6678_1_1_2_6

    It would be great if you can point out the exact changes to be made inorder to make NDK+SRIO work.