cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 dual core: FreeRTOS & Timer selection for each core

HDesa.1
Senior

Hello,

I am using STM32H7 dual core series. Currently I am planning to enable FreeRTOS in M4 core and let M7 core run in regular fashion.

As FreeRTOS uses SysTick, I have given M4 core on of the controller timer. Is there any need to also give M7 core a different timer? As M7 core is not running FreeRTOS, can it continue running on SysTick timer.

-Regards

-Regards
Hrishikesh
1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Hello,

Each core has its own system tick timer. Each core has its own program to run and using systick or not on CM7 doesn't change anything in your scenario.

https://developer.arm.com/Processors/Cortex-M4

https://developer.arm.com/Processors/Cortex-M7

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
SofLit
ST Employee

Hello,

Each core has its own system tick timer. Each core has its own program to run and using systick or not on CM7 doesn't change anything in your scenario.

https://developer.arm.com/Processors/Cortex-M4

https://developer.arm.com/Processors/Cortex-M7

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Thank you for the clarification.

This means I can definitely run one core in a loop & other core using FreeRTOS, right?

Also if I need to communicate between the cores then I can still use Openamp middleware.

-Regards

-Regards
Hrishikesh

Yes indeed.OpenAmp or other mechanism you want: 

https://www.st.com/resource/en/application_note/an5617-stm32h745755-and-stm32h747757-lines-interprocessor-communications-stmicroelectronics.pdf

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.