This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PM: Flushing/clearing UART FIFO

Part Number: TM4C123GH6PM

Hello.

In previous post the was a question - how to flush RX FIFO buffer.

Could we have simple and straight answer to this simple question ?

Is there a reliable way to disable that RX FIFO buffer at all ?

Best wishes,

Vaidas P.

  • Hi,
    By default the FIFO disabled after reset. You can also disable the FIFO by clearing the FEN bit in the UARTLCRH register. However, the disabling applies to both the TX and RX FIFO. You cannot just keep one of them enabled. If you happened to enable the FIFO and wanted to disable the FIFO later you must flush the remaining data in the FIFO as described in the other post.