Skip to main content
Arman Ilmak
Senior
July 2, 2023
Question

what is the advantage of openamp over hardware semaphore

  • July 2, 2023
  • 4 replies
  • 1990 views

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?

This topic has been closed for replies.

4 replies

Associate II
August 15, 2023

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
Super User
August 15, 2023

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

hth

KnarfB

Associate II
August 15, 2023

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?

Arman Ilmak
Senior
October 16, 2023

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