Created 3 different tasks with three different functions each in 20ms time period. But three tasks are not running simultaneously. One task created for updating chart, second task for updating numbers and 3rd task for updating numbers. all the priorities for the task also given same.
I am not sure if this was a question, observation. But if this was a question around why they are not running simultaneously… Then I believe that the tasks are non-preemptive. The documentation does not state if it will use one core or all the cores available when creating tasks, but assuming you have one CPU and LVGL does not create tasks on different cores available then tasks wont interrupt each other and thus will not run simultaneously.
Look into the source how this is handled, or perhaps somebody else has an additional comment…
I need two task work at different timer(ms). one task in 20ms updating data and other task in 100ms updating data. I debug the program but 20ms and 100ms not properly occur the task function. Show tested debug process for two task in 20ms. But two task does not work at same time.
this above lvgl library function inside use millisecond timer. I am use this lvgl library timer.
How to create different timer(ms) for lv_task ?
any possible different timer use for for lv_task function without lv_task_create().