AnsweredAssumed Answered

UART is dropping bytes

Question asked by Robert Deml on Aug 29, 2014
Latest reply on Sep 3, 2014 by TomE

I have 2 boards that talk to each other via UART.  I have test programs in each board so that one board sends bytes and the other board receives and checks the data.  The data is 0x00 through 0xFF.

 

When I am running at a high baud rate (~1Mbps), the Coldfire 5272 is dropping bytes.  To help debug this I added a 10ms pause after sending the data.  Now the Coldfire is reading all the bytes.  The Coldfire UART interrupts are set to fire when the FIFO is 25% full (6 bytes) and on a receive timeout.  If the UART can keep up with 200 bytes, why does it need a pause before the next block of data?

Outcomes