Skip to main content
Associate III
February 24, 2026
Solved

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

  • February 24, 2026
  • 2 replies
  • 285 views

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.

Best answer by mƎALLEm

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.

2 replies

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
February 25, 2026

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 "Best answer" on the reply which solved your issue or answered your question.
Andrew Neil
Super User
February 25, 2026
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.