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.

CPINTC

Hi

I am working on EVM 6670.

Can i use same event id on two cores.

The use case is like this :

EDMA3 on core 2 :          22(Secondary interrupt from EDMA to CIC) -> 8+16*n (Host interrupt 40 on core 2) -> 74 (GEM event ID) -> HWI

Qpend queue on core 1 : 662 (Qpend queue) ->  134( Secondary interrupt from qpend to CIC) -> 8+16*n ( Host interrupt 24 on core 1) ->  74 (GEM event ID) -> HWI

Should it create any problem ? Both using same event id ,How it resolves which HWI to invoke ?

  • Hi Rahul,

    Please note that CIC are external to the cores so in case you are using the same event ID than you will get interrupts on both cores if they are both connected to one of the core interrupts, please check - http://processors.wiki.ti.com/index.php/Configuring_Interrupts_on_Keystone_Devices

    Thanks,

    HR

  • Hi HRi

    Can u plz elaborate the situation as i am only able to get proper result when i change event ID 74 to 75 on EDMA core 2 configuration.

    Is EDMA3 global interrupt broad casted to all cores ? 

  • Hi Rahul,

    The EDMA is one of the external interfaces of the C6678 which means that it serves all the Cores on the device, The CIC (Chip-level Interrupt Controller is also external to the cores which means that all the four cores sees the same System Event Mapping event ID, you can connect any of the System Event Mapping event ID to one of the core interrupts, so in case you are mapping on each core event#x to one of the internal interrupt than when event#x occurs than all the cores will get the interrupt,

    Beside the general events there are also the CIC0..2 events which are not going directly to the cores and need to be connected first to the System event mapping (special places) and than the System Event Event ID needs to be mapped to the core, fo example EDMA1 GINT is event 6 on CIC0 (system Interrupt) which needs to be mapped to an Host Interrupt on the System Event and than the System Event needs to be connected to one of the cores interrupt.

    Thanks,

    HR