cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Multi-threading/ multi functions

OSmit.1
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

1 REPLY 1
TDK
Guru

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".