cancel
Showing results for 
Search instead for 
Did you mean: 

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!

WKUNY.1
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions

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
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

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
Up vote any posts that you find helpful, it shows what's working..

Thanks�?