Reposting new topic:
Has anyone actually tested the USART read to verify it blocks a task? I am using what appears to be the most current FreeRTOS v7.3.0 with ASF (is anything more current?), and a call to freertos_usart_write_packet definitely does not block my task.
I am properly configured with USE_TX_ACCESS_SEM, USE_RX_ACCESS_MUTEX, WAIT_TX_COMPLETE, and WAIT_RX_COMPLETE, and am using 10ms of ticks to block (i.e. 10/portTICK_RATE_MS). The status returned is success.
Using a simple GPIO that I set high before the write, and drop low immediately afterwards clearly shows the GPIO low well before the USART transfer completes.
I did review the PDF usually referenced. I see nothing to suggest I’m doing anything wrong here. I am doing this on an Arduino Due.
Any ideas/suggestions appreciated.