Skip to main content
OSmit.1
Visitor II
August 11, 2021
Solved

STM32 Multi-threading/ multi functions

Hi,

I am a newbie to STM controllers but I have worked on Arduino and Pi. I am thinking of working on STM because I have read that it supports multi threading, means we can perform multiple functions at the same time, as in high level languages. So, I want to know is it true?

Moreover, on which basic STM board should I work? As arduino UNO in Arduino platform. I have read that STM32 is most commonly used. So should I buy this one for learning?

    This topic has been closed for replies.
    TDK
    TDKBest answer
    August 11, 2021

    Except for the more recent dual core MCUs, most STM32 are limited to running only one thing at a time, but you can use FreeRTOS or similar to have the system switch between tasks as needed, but this is not the same as multi-threading where multiple things are running simultaneously.

    Any nucleo board is a cheap and good way to start learning. Let your project needs drive the decision on which to get. The one you linked is a knock-off board.

    "If you feel a post has answered your question, please click ""Accept as Solution""."

    1 reply

    TDK
    TDKBest answer
    August 11, 2021

    Except for the more recent dual core MCUs, most STM32 are limited to running only one thing at a time, but you can use FreeRTOS or similar to have the system switch between tasks as needed, but this is not the same as multi-threading where multiple things are running simultaneously.

    Any nucleo board is a cheap and good way to start learning. Let your project needs drive the decision on which to get. The one you linked is a knock-off board.

    "If you feel a post has answered your question, please click ""Accept as Solution""."