cancel
Showing results for 
Search instead for 
Did you mean: 

data sharing between the cores

Srinath_03
Associate III

Hi,

I'm using STM32H7 dual core, where the data has to be shared between the cores, so im having totally 21 variables totally 76 bytes, thought of do it like a structure, so where to place the structure exactly for this data sharing. so, this structure should be placed in any linker file of one of the cores or where?

if so, thus we have to keep the structure in both the core or what

which method is a fastest wat to share the data, like a ring buffer, HSEM.

if we use HSEM, we can use that structure or access outside, before calling the HSEM TAKE, or structure values should be assigned only inside after the HSEM TAKEOVER.

 

 

regards,

srinath

3 REPLIES 3
Andrew Neil
Super User

Try a search of the Knowledge Base

 

PS:

Also check out the available Application Notes; eg,

AN5617: STM32H745/755 and STM32H747/757 lines inter-processor communications

via: https://www.st.com/en/microcontrollers-microprocessors/stm32h7-series/documentation.html

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@Andrew Neil wrote:

Also check out the available Application Notes; eg,

AN5617: STM32H745/755 and STM32H747/757 lines inter-processor communications

via: https://www.st.com/en/microcontrollers-microprocessors/stm32h7-series/documentation.html


+ Check the OpenAMP exampleshttps://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/STM32H747I-EVAL/Applications/OpenAMP

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@Srinath_03 which also shows up in the Knowledgebase search results ...

 

PS:

More on OpenAMP (Open Asymmetric Multi-Processing):

https://www.openampproject.org/

https://github.com/OpenAMP/open-amp 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.