2021-06-03 08:18 PM
HI
I'm working on STM32H745. I'm tiring to understand share data with 2 cores. Can you please post a program ?
2021-06-03 09:02 PM
There are many ways to do this. Using a pointer to a region of memory both cores can access is perhaps the most straightforward. Still need to manage cache properly.
Here is another example:
2021-06-15 06:41 AM
Hello @TWalp.1,
You can find an example within STM32H7 Cube package that shows how to use the ResourcesManager in order to share resources between cores under the path:
“\STM32Cube\Repository\STM32Cube_FW_H7_V1.9.0\Projects\STM32H747I-EVAL\Applications\ResourcesManager\ResourcesManager_SharedResources�?.
There are also several ways to get the dual core communication, such as the FreeRTOS IPC (the Inter-processors communication) module and the OpenAMP framework that will help, you find examples under: “\STM32Cube\Repository\STM32Cube_FW_H7_V1.9.0\Projects\STM32H747I-EVAL\Applications�?.
You may as well refer to STM32H745/755 and STM32H747/757 lines inter-processor communications application note AN5617 to get more details.
Chahinez.