AnsweredAssumed Answered

Help with DMA and UART, circular receive buffer

Question asked by markosiponen on Aug 29, 2013
Latest reply on Feb 29, 2016 by Francisco Javier Sanchez Fernandez

I'm using the UART and have set up an UART receive interrupt that reads the received byte value and puts it in a circular buffer.


But when I try higher baud rates I sometimes get over run errors.


Is it possible to use the DMA in some way together with my circular buffer?


Or is it only possible to receive a determined number of bytes with the DMA?


Now I have tested some code.


I think I must link two DMA channels. But now I don't know how to do that. I need some examples.