2022-11-01 12:35 PM
I want to disassemble the ADC function and BLE data transmission asynchronously.
So, I want to program the microcontroller using multi-thread.
When I coded BLE, It look already used multi-thread but I couldn't understand it exactly.
Is there any example of this?
Solved! Go to Solution.
2022-11-02 06:10 AM
Hello,
There is a MOOC for FreeRTOS on ST Youtube : https://www.youtube.com/playlist?list=PLnMKNibPkDnExrAsDpjjF1PsvtoAIBquX
2022-11-01 01:02 PM
Hi @KKIM.6
Firstly, You need to implement an RTOS, then, for example, you can add your threads in the main.c file. Inside each thread, you can call a function. Each function should have a while(1) loop inside.
2022-11-02 02:16 AM
Hello,
You can use STM32CubeMX and select RTOS.
For example for STM32 L4 you can select FreeRTOS and then you can add tasks thanks to CubeMX GUI and generate the project.
2022-11-02 02:49 AM
Is there any official Youtube video to follow?
2022-11-02 06:10 AM
Hello,
There is a MOOC for FreeRTOS on ST Youtube : https://www.youtube.com/playlist?list=PLnMKNibPkDnExrAsDpjjF1PsvtoAIBquX
2022-11-10 04:04 AM
Thanks for your reply. I'll check the videos!