Skip to main content
S.Kamath
Associate III
February 22, 2020
Question

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

  • February 22, 2020
  • 2 replies
  • 585 views

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?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
February 22, 2020

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
S.Kamath
S.KamathAuthor
Associate III
February 23, 2020

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?