Josef Gessler

UART Buffer Error

Discussion created by Josef Gessler on Jun 24, 2016



Sometimes I observe a strange behaviour on the UART in the Kinetis using MQX.

When I send a sign, the software (actually the Serial Interrupt in the MQX driver) receives what I sent 4 signs before.

I think that means the other signs are waiting in the FIFO until the next sign is sent.

I can easily reproduce this error when I open in IAR the registers view and let Display the UART registers.

What is happening here? Is there an hardware bug? And how could I solve it?


Thank you for your answers!