K. Let me do a little poking around first. BTW, I am on Kinetis SDK 1.1.0 and FreeRTOS V8.0.1.
The Freescale OSA takes msec as input but translates it into clock ticks. I confirmed that my delay is correctly translated into a "wait 4 ticks" call to FreeRTOS.
Would there by ANY logical explanation as to why the following call, with the parameters translated into 4 ticks, return immediately as opposed to returning after the 4 ticks? The OS is set to preemptive, BTW.
/*FUNCTION**********************************************************************
*
* Function Name : OSA_TimeDelay
* Description : This function is used to delay for a number of milliseconds.
*
*END**************************************************************************/
void OSA_TimeDelay(uint32_t delay)
{
vTaskDelay(delay/portTICK_RATE_MS);
}