Interrupt signaling between dual cores

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
SaGa_4641021
Level 4
Level 4
50 questions asked 50 replies posted 100 sign-ins

Hi

I need to use Core4 to trigger and ISR on Core0 which happens regularly. I am doing it using 2 pins and a jumper, such that Core$ raises pin-put, and this pin is connected to pin-in using a jumper, then an ISR responds to pin-in on Core0.

This has controlled timing and reliable, but I need to replace this waste of pins by a software method. I tried using shared variables but this requires polling and ruins synchronization.

Is there another software method to trigger interrupts between cores that does not use polling ?

thanks

0 Likes
1 Solution
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @SaGa_4641021 

 

Please take a look at the PSoC™ 6 MCU: Dual-CPU IPC pipes code example that uses pipes to send a message between CPU cores. You can use the same as an interrupt source as well. 


Best regards, 
Hari

View solution in original post

1 Reply
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @SaGa_4641021 

 

Please take a look at the PSoC™ 6 MCU: Dual-CPU IPC pipes code example that uses pipes to send a message between CPU cores. You can use the same as an interrupt source as well. 


Best regards, 
Hari