PE & Round Robin  MQX

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

PE & Round Robin  MQX

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