PE & Round Robin  MQX

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

PE & Round Robin  MQX

1,237 次查看
aussiemate
Contributor II

I want to use MQX in round robin tasks.

 

When I use Processor Expert PE to generate the MQX tasks using the OS_Task component,

the PE overwrites the MQX_TIME_SLICE_TASK attribute and the tasks time slice value. 

Is there any way to make PE set these values so every time  I run the PE I don't need to manually go and type in these values?

标签 (1)
标记 (3)
0 项奖励
回复
2 回复数

1,103 次查看
DavidS
NXP Employee
NXP Employee

Hi Matthew,

I do not see a way to set up the TIMESLICE within PE.

If you have multiple tasks with the same priority level, then they are going to round robin.  You just need to make sure there is some code in each task that will block it (ex: OSA_TimeDelay) so the other task will get a chance to run.

Regards,

David

0 项奖励
回复

1,103 次查看
aussiemate
Contributor II

OK,

will have a look at the non time sliced same priority method.

I just assumed that PE would have some method of enabling time slicing using the MQX_TIME_SLICE_TASK parameter without destroying the manually edited values each time...

0 项奖励
回复