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

Re: DMA with USART1 & USART2

I m tying to do FIFO emulation using DMA with USART1 and USART2 in circular mode. The target that i m using is STM32F103VBT6.

My application requires that the data received in the USART1 is to be transmitted to USART2. USART1 operates at 115200,8,n,1 and USART2 operates at 9600,8,n,1.

Initially i tried using the interrupt routines. But due to the transimission of data from the higher baud rate to lower rate there was hug data loss. The data that i tried is transfer is around 1KB.

And hence thought of using the DMA FIFO concept in circular buffer mode.

To implement this data transaction does it requires physical connection between the USART1 and USART2 using DMA?

Is the above requirement can be done by DMA?

Please let me know. I m bit confused over this concept.