cancel
Showing results for 
Search instead for 
Did you mean: 

what is the advantage of openamp over hardware semaphore

Arman Ilmak
Senior

Hi everyone.

I was struggling with openamp library and finally i couldnt handle it.

As i understand this library is built to share data between two cores and as i know both cores have access to the whole memory region.

So when we want to share for example data from m4 to m7 we can write it to a predetermined address and inform the other core with the hardware semaphore.

Why to use this library?

4 REPLIES 4
arslan437
Associate II

I am able to make it work. It took me quite a while to get it working? 

Did you tired the other method ? With hardware semaphore 

KnarfB
Principal III

Check out app note AN5617 "STM32H745/755 and STM32H747/757 lines inter-processor communications" for examples and explanations.

hth

KnarfB

arslan437
Associate II

I want to send around 4kb data from the M4 to M7. Which method is best for this? 

There are three methods

  1. OpenAMP
  2. freeRTOS
  3. Hardware semaphore and shared memory

I have implemented the openamp it is taking around 350uS.

which method will be best for the application?

I think using just hardware semaphore would result in the best performance.