Reading single Bytes from UART | Cypress Semiconductor
Reading single Bytes from UART
for my Application ( Composite Device UVC + CDC-ACM ) I need to receive single bytes from the FX3 UART and forward them to the appropriate CDC Bulk EP..
Using DMA doesn't work because the data will transferred only if a buffer is filled, what means that at least 16 bytes have to be read.
When using the UART in register mode the function CyU3PUartReceiveBytes(...) seems to Block the whole system for a while if no bytes are available, even if I use it in a separate thread! Is there any possibility to avoid this?