cancel
Showing results for 
Search instead for 
Did you mean: 

I'm using STM32H757I-EVAL for prototype design. What is the best way to establish communication between 2 cores?

S.Kamath
Associate II

I want declare a uint32_t variable which will be updated/written by one of the cores and read by another core. Any sample code (or document) available for Arm Cortex-M4 and Cortex-M7 cores?

2 REPLIES 2

You'd need it to both be volatile, and actively manage write buffers and cache coherency.

Look at the HSEM examples for inter-core comms.

STM32Cube_FW_H7_V1.5.0\Projects\STM32H747I-EVAL\Examples\HSEM\HSEM_ResourceSharing

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
S.Kamath
Associate II

Thanks for details.

HSEM_ResourceSharing is example for resource (GPIO in this case) sharing between 2 cores. My need is different.

I want declare a uint32_t variable which will be updated/written by one of the cores and read by another core. What is the memory address of SRAM which is common to both the cores? Can you share any example on this?