Salasidis
03-24-2008, 02:51 PM
I am trying to use the timing withing uCOS-II as my real time source.
I only need to service a routine 1x/sec, and this routine takes 100uS to complete.
I seem to be getting innacurate timing. My service routine (which is the higherst priority task) only runs every 1.000- 1.03 seconds.
I have disabled all external interrupts, I run no other interrupts on timers etc. I use OS_ENTER_CRITICAL, but only for some floating point assignments to global variables (infrequent).
I am using an RCM4200
My RTC seems to accurately reflect the true time, so it seems that some periodic interrupts are not being seen by uCOS-II?
Can anyone make any suggestions?
I only need to service a routine 1x/sec, and this routine takes 100uS to complete.
I seem to be getting innacurate timing. My service routine (which is the higherst priority task) only runs every 1.000- 1.03 seconds.
I have disabled all external interrupts, I run no other interrupts on timers etc. I use OS_ENTER_CRITICAL, but only for some floating point assignments to global variables (infrequent).
I am using an RCM4200
My RTC seems to accurately reflect the true time, so it seems that some periodic interrupts are not being seen by uCOS-II?
Can anyone make any suggestions?