Has anyone successfully implemented non-blocking UART I/O using the MQX KDSK on a K64? If I understand the documentation correctly, the normal fread/read calls are all implemented as blocking functions and there are no IOCTL mechanisms to make it non-blocking.
I've tried using the UART Peripheral API (UART_DRV_* functions) instead of the stdio functions. These work until you call UART_DRV_AbortReceivingData and UART_DRV_ReceiveData to start using a new buffer. After that, it never receives another character.
I'm using KDS 1.1.1 and MQX KDSK 1.0.0 on a TWRK64F120M.
Hi Larry,
We have detected a bug in KSDK, this is already reported. This is going to be fixed in our next KSDK1.1 release which is targeted for December.
Best regards,
Carlos
Hi Carlos,
What is the progress of fixing UART_DRV_AbortReceivingData bugs.
I still have the same bug when start a new buffer.
Do you have any idea how to fix this bug?
Regards,
Henry