Skip to main content
WKUNY.1
Associate II
October 25, 2020
Solved

I am using STM32H755 for a project, I need to exchange data between two cores, how to achieve memory sharing between two cores, I use CUBEMX to generate no OS code, how do I need to configure or add code? Thank you!

  • October 25, 2020
  • 2 replies
  • 1001 views

..

This topic has been closed for replies.
Best answer by Tesla DeLorean

See the block diagram model.

Several of the SRAM are dual port.or visible to both cores.

Use the Linker Scripts or Scatter Files to describe the memory and object placement.

Create a structure decribing common view objects and include that into the code of both core. You can place signalling variables, and use the HSEM to send signals/interrupts between cores.​

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
October 25, 2020

See the block diagram model.

Several of the SRAM are dual port.or visible to both cores.

Use the Linker Scripts or Scatter Files to describe the memory and object placement.

Create a structure decribing common view objects and include that into the code of both core. You can place signalling variables, and use the HSEM to send signals/interrupts between cores.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
WKUNY.1
WKUNY.1Author
Associate II
October 25, 2020

Thanks�?