AnsweredAssumed Answered

Time delay with RTOS

Question asked by felix feng on Feb 1, 2018

A strange prolem is confusing me. When a 1000ms deleay time is set. It's valid while transmitting CAN messages.


void Wait100MS()
    tNow = OSIF_GetMilliseconds(); 
  }while((OSIF_GetMilliseconds() - tNow) < TBOXCTL100MS);
Though 100ms delay is passed into function OSIF_TimeDelay(100) this delay is invalid(No delay). It means that a slow timer it's using while fast timing slice setting is ignored.