This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Correct handling of UART overrun error

Hello,

I'm using a LPC2478. I have a little problem with handling a UART buffer overrun error only during debugging. when the program is stopped on a breakpoint several times, and the line status register indicates "overrun error", reseting the contents of the RX FIFO (it is 8 byte long) causes CTI interrupts to start bombarding the system so often than it becomes inert. If I do not reset the contents of the RX FIFO debugging is possible. Note that when it goes wrong, I do not see any traffic on the serial bus (it is a RS485). Can you help me explain this?

Tamir