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.

Question about mapping system interrupt to Host Interrupt, eventId is -1

Other Parts Discussed in Thread: SYSBIOS, 66AK2H14


I am new to DSP and trying to mapping system interrupt to Host Interrupt  on the EVMK2H platform and bios_6_41_04_54。

            int32_t                 eventId;
       /* Map the System Interrupt i.e. the Interrupt Destination 0 interrupt to the DIO ISR Handler. */
        CpIntc_dispatchPlug(CSL_CIC2_IPC_GR1, (CpIntc_FuncPtr)myCompletionIsr, (UArg)5, TRUE);

        /* The configuration is for CPINTC0. We map system interrupt 112 to Host Interrupt 8. */
        CpIntc_mapSysIntToHostInt(2, CSL_CIC2_IPC_GR1, 8);

        /* Enable the Host Interrupt. */
        CpIntc_enableHostInt(2, 8);

        /* Enable the System Interrupt */
        CpIntc_enableSysInt(2, CSL_CIC2_IPC_GR1);

        /* Get the event id associated with the host interrupt. */
        eventId = CpIntc_getEventId(8);

        /* Plug the CPINTC Dispatcher. */
        EventCombiner_dispatchPlug (eventId, CpIntc_dispatch, 8, TRUE);

when run on core0, eventId is 74 and plug OK,when run on other cores eventId is -1 and terminating execution

ti.sysbios.family.c64p.EventCombiner: line 214: assertion failure: A_invalidEventId: Invalid event Id specified
xdc.runtime.Error.raise: terminating execution.

how to set eventId on other cores?

  • Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    We will get back to you on the above query shortly. Thank you for your patience.

    Thank you.

    PS: We strongly recommend you to create new e2e thread for your queries instead of following up on an old/closed e2e thread, new threads gets more attention than old threads and can provide link of old threads or information on the new post for clarity and faster response.

  • What're Shared Events on the 66AK2H14/12/06
    The following Figure 6-4 show the 66AK2H14/12 interrupt topologies.CIC2 has 103 event outputs which provides 8 Shared Events to each of the C66x CorePacs, 0 through 7.
    I can't fand these on Table 6-22 (the mapping of system events),and host interrupt ID.
  • Please check the attached presentation on below post and get back to us,

    e2e.ti.com/.../1795891