cancel
Showing results for 
Search instead for 
Did you mean: 

How can I bridge between two cores in STM32H745 to share data?

Davood_Kesha
Associate III

Dear ST team,
I need some tips!!!
I am using STM32H745 for my project. In the project, the M7 core is dedicated to control and measure the power circuit values and M4 core is responsible for communications (few UARTs) and LCD. I configured the MCU with STM32CubeMX and use Keil uvision fore code composing. After generating code, I noticed that there are two separated codes were generated for each CPU.
How can I bridge between two CPUs to share data? I want to send measured data by M7 via UARTs controlled by M4?
I will appreciate if you give me some applicable suggestions.

1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

Hello,

I invite you to refer to AN5617 "Introduction to inter-processor communications for STM32H745/755 and STM32H747/757 MCUs"

And this knowledge base articles:

1- STM32H7 Dual-Core: How to communicate between CM4 & CM7

2- How to implement inter-processor communication in an STM32H7 using HSEM

3- How to implement inter-processor communication in an STM32H7 using OpenAMP

See also examples based on OpenAMP library available in CubeH7 package: https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/STM32H745I-DISCO/Applications/OpenAMP

PS: I'm changing the thread title to be more concise.

Hope I've answered your question.

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.

View solution in original post

2 REPLIES 2
mƎALLEm
ST Employee

Hello,

I invite you to refer to AN5617 "Introduction to inter-processor communications for STM32H745/755 and STM32H747/757 MCUs"

And this knowledge base articles:

1- STM32H7 Dual-Core: How to communicate between CM4 & CM7

2- How to implement inter-processor communication in an STM32H7 using HSEM

3- How to implement inter-processor communication in an STM32H7 using OpenAMP

See also examples based on OpenAMP library available in CubeH7 package: https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/STM32H745I-DISCO/Applications/OpenAMP

PS: I'm changing the thread title to be more concise.

Hope I've answered your question.

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.
Andrew Neil
Super User

Sharing data between two cores of H7

 

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.