Skip to main content
Graduate II
June 19, 2024
Solved

STM32H7 dual core: FreeRTOS & Timer selection for each core

  • June 19, 2024
  • 1 reply
  • 1822 views

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

    This topic has been closed for replies.
    Best answer by mƎALLEm

    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

     

    1 reply

    mƎALLEmAnswer
    Technical Moderator
    June 19, 2024

    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

     

    HDesa.1Author
    Graduate II
    June 22, 2024

    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

    Technical Moderator
    June 22, 2024