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.
Check your user manual. You should be able to configure DMA to perform a peripheral to peripheral.
@Tamir Michael
I had tried for configuring the Peripheral to Peripheral using DMA.
But i cudnt find any reference of how to do the configuration.
This must be explained in the user manual or an application note!
It certainly has nothing to do with Keil!