Skip to main content
OADDI.1
Associate II
Jul 20, 2020 2:30 PM UTC
Question

Communication with interrupt between 2 cores

Hello,

I am trying to communicate with interrupt between the Cortex M4 and M7. I tested the HSEM but, maybe I'm wrong, the semaphore locks a process when it waits for it.

Thanks for you help

This topic has been closed for replies.

3 replies

RMcCa
Senior II
Jul 20, 2020 2:43 PM UTC

One core can do a fast take and immediate​ release of an unlocked semaphore which can cause a release interrupt in the other core. No blocking, just set a flag in the isr. Also, one core can start a mdma transfer to/from f7 tcram to d2 ram and the finished mdma transfer can interrupt the other core, so there is also a nonblocking way to copy data from one to the other.

OADDI.1
OADDI.1Author
Associate II
Jul 20, 2020 2:50 PM UTC

Okkk i will try, thank you very much for your fast reply !!!

OADDI.1
OADDI.1Author
Associate II
Jul 24, 2020 11:53 AM UTC

Have you some examples of hsem with interrupt please ?