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.

TM4C123BE6PM: When switching FIFO of UART from Enable to Disable

Part Number: TM4C123BE6PM


Hi all,

In the current program, first set the UART FIFO to enable, and switch the FIFO to disable during operation.

When this operation is performed, an overrun error will occur.

Is it necessary to execute a dummy read of the FIFO to empty the FIFO before disabling the FIFO?

If FIFO setting is disable after emptying the FIFO, the overrun error will not be occur.

Best regards,

Sasaki

  • Hi Sasaki-san,

    S.Sasaki said:
    When this operation is performed, an overrun error will occur.

    Is this a question or is this what you observed after disabling FIFO with data still in the FIFO. I will suggest you empty the FIFO by reading them first before you disable the FIFO to avoid any missed data.

  • Hi Charles-san,

    Thank you for your support.

    Charles Tsai said:
    Is this a question or is this what you observed after disabling FIFO with data still in the FIFO. I will suggest you empty the FIFO by reading them first before you disable the FIFO to avoid any missed data.

    Yes. This is question. 

    I'd like to know if the FIFO should be empty.

    The problem was solved.

    Best regards,

    Sasaki