Question
extra byte in front of USART buffer received with DMA
I have inherited code that received 1400 bytes over a 2mbps serial link. I've increased that to 1892 bytes and on occasion (not always, but frequently enough to be annoying) I receive my buffer "shifted" by one byte and a garbage byte for byte 0 in the buffer. I can shift the data "left" by one byte in a loop and the buffer is correct.
Before enabling DMA I make sure to read the USART until RXNE is cleared.
Anyone else ever seen this and hopefully have a solution?
