Hi Bernd,
It sounds more like a FreeRTOS issue than a NFC issue, so maybe it is not the right place for this topic, but I am still trying to help.
Though I didn't have the source code of USB_ISR, but referring to https://www.freertos.org/Documentation/FreeRTOS_Reference_Manual_V10.0.0.pdf , it recommends xQueueSendToBackFromISR() and xQueueReceiveFromISR() for ISR queue operation, I guess you used xQueueSend() and xQueueReceive() instead, the reason for "The problem accurs when i try to send information from a task to the usb interrupt. Sending from the interrupt to another process is no problem" is due to the following statement:
"A version of xQueueReceive() that can be called from an ISR." page 189 of FreeRTOS_Reference_Manual_V10.0.0.
"Versions of the xQueueSend(), xQueueSendToFront() and xQueueSendToBack() API functions that can be called from an ISR." page 202 of FreeRTOS_Reference_Manual_V10.0.0.
Please kindly check on your side.
Hope that helps,
Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------