I am new on FreeRTOS and I cannot figure what is my mistake.
I am working on a EFM32TG11B (ARM M0+) with FreeRTOS V10.1.1 The project use the tickless mode of freertos.
My problem is the following.
I enter an interrupt, in this interrupt I send a signal to a task
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
The task is waiting for the signal
So when I exit the interrupt, I expect the OS to go and execute the task. But it seems it go directly to the task IDLE and my task is in READY state.
Moreover, in the void vPortSuppressTicksAndSleep( TickType_t xExpectedIdleTime )
I go in EM2 like bellow :
Important informations, if I pause and re run the debugger, it is working, I go into the task.
If I comment the EMU_EnterEM2(true), it is also working.
Do you have any idea what could be the problem ?
Thank you very much