In UART-example "uartEcho.c" within ISR there is a strange statement for the receiving threshold reached interrupt:
case UART_INTID_RX_THRES_REACH: rxByte = UARTCharGetNonBlocking(SOC_UART_0_REGS); UARTCharPutNonBlocking(SOC_UART_0_REGS, rxByte); break;
Is this really correct? Or shouldn't one read from the RX FIFO until no more data are available before leaving the ISR? When it is done this way it looks like the interrupt is fired for every new byte that arrives.
May be this implementation corresponds to the bug in UARTCharGetNonBlocking() so that it wasn't able to implement this example in a correct wy because for the wrong implemnetation of UARTCharGetNonBlocking()?