Can the value of 1 tick = 5msec, changed, i.e. increase or decrease its value?
Also is there a way in MQX, where no one can disable a particular interrupt, because I have a periodic PIT1 interrupt at 500usec, which always needs to happen, it should never be missed,
After some analysis, I realized that I miss PIT1 interrupt, every 5 msec, which is the tick period.
I would assume that the scheduler runs every tick, and it will disable all interrupts to see if it has to scheudle or run a task.
Does anyone have any inputs on this issue?
Solved! Go to Solution.
Hi Srikar,
Just thinking out loud without much thought into the subject.
You could raise the PIT1 interrupt level to be the highest in the system. And use it as the incrementer for the RTOS TICK.
Ex: Every 10 PIT1 interrupts, increment the TICK and let its code run.
I haven't tried chaning the tick period but you should be able to do that.
Regards,
David
Hi Srikar,
Just thinking out loud without much thought into the subject.
You could raise the PIT1 interrupt level to be the highest in the system. And use it as the incrementer for the RTOS TICK.
Ex: Every 10 PIT1 interrupts, increment the TICK and let its code run.
I haven't tried chaning the tick period but you should be able to do that.
Regards,
David