PE & Round Robin  MQX

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PE & Round Robin  MQX

463 Views
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?

Labels (1)
Tags (3)
0 Kudos
2 Replies

329 Views
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 Kudos

329 Views
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 Kudos