2021-03-15 01:06 AM
Hello Team ,
Setting core affinity or switching between cores in STM32H757,
We are in early phase of design and looking to go with STM32H757XI ,
We are still not sure which thread to be run on which core ( M4 or M7)
We are looking to use keil rtx5 CMSIS RTOS V2 api .
Can you please suggest some documents which would help us to analyze it better
Reards
Chetan.M
2021-03-15 05:02 AM
Hello @CMatad ,
Have a look to the AN5557 "STM32H745/755 and STM32H747/757 lines dual-core architecture", which provides an overview of the MCUs dual-core architecture, as well as of their memory interfaces and features.
I recommend the following resources that give you help on the debug of your applications which run on the STM32H7x5/x7 microcontrollers using the software Toolchains: EWARM, MDK-ARM and SW4STM32 :
Please mark my answer as best by clicking on the "Select as Best" button if it helped :smiling_face_with_smiling_eyes:.
Imen
2021-03-15 05:12 AM
The cores are not symmetrical or interchangeable. The M4 is best for handling peripheral to which it is most tightly coupled. You should be weighting decisions based on the block diagram and bus matrix so as to limit and contain traffic locally to maximize efficiency.
2021-03-15 05:14 AM
Fix dyslexic title, using H757
2021-03-15 05:43 AM
Tesla DeLorean ,
I understand the cores are not symmetrical , but the application i have can be run on both m4 and m7 accessing the same peripherals,
So was looking for some sample app or some example code for assigning the tasks to the core
Regards
Chetan.M