Other Parts Discussed in Thread: SYSCONFIG
Hello,
I am trying to trigger a previously created High Prio(OSAL_TASK_Prio_30) Task every 1ms using GP Timer Compare Match ISR Callback.
void Callback(GPTIMER_Handle handle)
{
//OSAL_EVT_set(l_pTaskEvent);
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
vTaskNotifyGiveFromISR(gTaskHdl, &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
//OSAL_postSignal(l_pTaskSignal);
}
Only in Profinet Sample Application, task trigger is delay by 500 - 600 us sometimes. I have tested the same approach in a simple freertos application and Notification to Task Activation delay is less 10us.
This task has highest priority. I don't understand which Task/ISR causing the delay in this task activation.
Please help.
Thank you.
Best Regards,
Upendar Sama



