Hello Team,
I am seeing an issue, where the USART interrupt handler is invoking only once when I use the free rtos API inside usart interrupt handler, even though there is a new data arrived.
This is the API called from usart interrupt handler,
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
xSemaphoreGiveFromISR(RcvSemaphore(), &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
When I comment the free RTOS api everything works fine.
Did anyone see similar type of issue?
The reason why I am using freertos api inside the interrupt handler is, I have created free task and in the task handler where I am waiting for a semaphore, which is released from usart interrupt handler when all the data is received, so in the free rtos task handler the data will be processed.
Regards,
San