Hello,
I am using a MKM34Z256 - with Kinetis Design Studio and SDK V2 enviroment and FreeRTOS.
If I use the PRINTF Function, it looks like this funktion use the "UART_WriteBlocking" Function and so it blockes the rest of the system while giving out the UART-Data.
In fsl_debug_console.c in row 244 (approx) is the command:
s_debugConsole.ops.tx_union.UART_PutChar = UART_WriteBlocking;
How can I change this to use the non blocking transfer function?
Thank You!
With best Regards
Manfred
Hi, Manfred,
As you see that there are two or three transfering mode:polling mode, interrupt mode and DMA mode, in the example based on Freertos, the printf() or putchar() use polling mode. if you use interrupt mode or DMA mode, it is complicated.
Considering the fact that there is not much information to output to UART, I think it is okay.
Hope it can help you
BR
XiangJun Rong