Hello,
the default time slice unit is number of ticks. Ticks are set by the frequency of the system timer in the <board>.h file.
u can set it by changing the Task Templete. Please refer 3.2.20 in MQXRM pdf or 3.2.2 in MQXUG.pdf.
location would be C:\Program Files\Freescale\Freescale MQX 3.8\doc\mqx
ex:
{INIT_TASK, init_Task, | 800, 9, "initTask", MQX_AUTO_START_TASK, 0, 100}, |
the bold on will change the time slice of task.
Hi Katre,
In my understanding, The default time unit of slice is milliseconds.
I want to set time slice fewer than the minimum which can set it.
Plase tell me how to change to microsec from millisec.
Best Regards,
George
Hello,
the default time slice unit is number of ticks. Ticks are set by the frequency of the system timer in the <board>.h file.
Thanks Juraj, George i to agree with him, as per my knowledge....the time setting works on ticks so u can make it to microsec....u need to do some calculation to get ur desired number
Thanks Juraj and Swapnil,
Is the parameter which you say the following?
#ifndef BSP_ALARM_FREQUENCY
#define BSP_ALARM_FREQUENCY (200)
#endif
Is my understanding correct?
Best Regards,
George
Yes, that's the parameter.
Thanks Juraj,