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.

AM2634: Setting up interrupts on multiple cores

Part Number: AM2634
Other Parts Discussed in Thread: AM2631,

Hi TI Expert,

Is it possible to set up different interrupts on different cores running in DUAL CORE mode in a multicore environment?

or are the cores required to be in LOCK STEP mode to run interrupts on multiple cores?

I am currently running an interrupt on R5_0 which is working fine. 

I recently added an interrupt on R5_1 which doesn't get called. I have set up the interrupt in a similar way as set up on R5_0.

I do not have any interrupts on R5_2 and R5_3 yet.

Please let me know if I'm missing anything in setting up interrupts on multiple cores? Thanks!

  • Is it possible to set up different interrupts on different cores running in DUAL CORE mode in a multicore environment?

    Hi Sue,

    To register interrupts and seperately execute them on different cores the clusters should be in dual core mode.

    I recently added an interrupt on R5_1 which doesn't get called.

    I presume you're running the examples in No boot mode with the GEL files added. Have you ensured the CORES are in dual boot mode? Are you able to connect to the r50_1 or other cores through debugger?

    You can try to run the IPC notify example which actually runs IPC protocol on all cores and registers individual interrupts on every core so it should satisfy your requirement.

  • Hi Kowshik,

    Yes, I have registered the interrupts separately on different cores and the clusters are in dual core mode and I am running in No Boot mode.

    I have modified the GEL files to be able to run multicore in dual core mode as per the thread here - MCU-PLUS-SDK-AM263X: How to debug multi-core projects in CCS IDE - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

    I am able to connect to R50._1 and other cores and able to run them through debugger but the interrupt on R50_1 doesn't get called.

    I checked the IPC notify example but I do not see usage of interrupts in it. I am using 8.6 SDK. Also, I will not be able to use IPC notify example as it is configured for AM2631 (single core) (e2e.ti.com/.../am2634-multicore-example-project-for-am263x_cc)

  • I checked the IPC notify example but I do not see usage of interrupts in it

    Hi Sue A,

    You will not be able to see Notify example registering any interrupts because the driver code of the IPC Notify is registering the interrupt. Also when you're using a AM2634 multi core project, You will definitely see IPC notify interrupts hitting the function named "Ipc_Notify_Isr" (set a breakpoint in this function from the breakpoints window). 

    Once you execute SyncAll API, you will see cores stopping at the Notify ISR function and you can resume or debug as required.

    Thanks,

    G Kowshik