Skip to main content
WKUNY.1
Associate II
Oct 25, 2020 2:10 AM UTC
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!

..

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Oct 25, 2020 11:46 AM UTC

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..

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Oct 25, 2020 11:46 AM UTC

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
Oct 25, 2020 12:32 PM UTC

Thanks�?