I would like to use xQueueSendToBack function with a block time, so I write the next program:
xQueueSendToBack(xQueue1, ( void * ) &Data, ( portTickType ) 100 );
When I tried to debug this function, I go directly to xQueueGenericSend and the value of xTicksToWait is always 0 instead of the value I have set (100).
Could you please help me to understand this behavior?
For information, I work with:
- FreeRTOS V6.1.1
- EWARM 6.21.3
- Compiler optimisation for FreeRTOS set to High (Speed)
Thanks for your help,