FreeRTOS configuration for executing 4 tasks simultaneously (S32K148 EVB)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FreeRTOS configuration for executing 4 tasks simultaneously (S32K148 EVB)

1,329件の閲覧回数
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,321件の閲覧回数
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 件の賞賛
返信