2026-02-24 12:58 PM - last edited on 2026-02-25 12:07 AM by mƎALLEm
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.
Solved! Go to Solution.
2026-02-25 12:06 AM - edited 2026-02-25 1:45 AM
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.
2026-02-25 12:06 AM - edited 2026-02-25 1:45 AM
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.
2026-02-25 1:03 AM
Sharing data between two cores of H7