FreeRTOS configuration for executing 4 tasks simultaneously (S32K148 EVB)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FreeRTOS configuration for executing 4 tasks simultaneously (S32K148 EVB)

1,345 次查看
Ajinkya_KP
Contributor I

Hello All,

In project I am using S32K148 EVB controller, I have added FreeRTOS for scheduling the four tasks, I have not made any change in RTOS default configuration. I have created four tasks with default stack size and same priority(0) for all tasks. 

However only one or sometime two tasks are executing randomly. 
Could you please help me to configure FreeRTOS to run all four tasks and resolve this issue?

Thanks in advance!!

Best Regards,
Ajinkya

0 项奖励
回复
1 回复

1,337 次查看
Miki849
Contributor II

HI ,

FreeRTOS doesn't permit execute 4 task simultaneously. It execute the task in order to priority and period times. 

So I imagine that you problem is that you have a little period in your task , so when the scheduler check the task , the first task is availble to run again. For this reason you dont see the other 2 tasks to run.

 

0 项奖励
回复