This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX Timer Problem

Hi,

we have configured our main task to activate at every 10ms as shown below

Number of concurrent tasks running 13
Timer tick interval: 10ms

void task1(void)
{ os_itv_set(1);

for(;;)
{ os_itv_wait();

}
}

Some times the Os_itv_wait is getting corrupted.
We are able to see this in RTX Kernal window
which we are able to see in debug
it was showing delay as 10045.

Could you please help us in fixing the problem

Thank you for your support
Harish

Parents
  • Hi,

    Thank you for your reply,

    I am verifying the time by displaying taskid on the LCD screen.
    It is getting strucked for almost 5 minutes and it is start executing after 5 minutes.

    if i use os_dly_wait in place of Os_itv_set and Os_itv_wait the code is working fine,

    I dont know wat is the problem in using the os_itv_wait()and os_itv_set

Reply
  • Hi,

    Thank you for your reply,

    I am verifying the time by displaying taskid on the LCD screen.
    It is getting strucked for almost 5 minutes and it is start executing after 5 minutes.

    if i use os_dly_wait in place of Os_itv_set and Os_itv_wait the code is working fine,

    I dont know wat is the problem in using the os_itv_wait()and os_itv_set

Children
No data