2009-01-15 01:54 AM
USART1 et DMA cmd
2011-05-17 03:59 AM
Hello all!
My situation is :i have a buffer TxBuffer[size] that i want transfer in USART1_DR by using DMA and then transfer it into an external device. But i can only do the transfer when i active the DMA_Cmd in the first time ( DMA and USART do it automtically). What i have to do if i want transfer one more times my buffer? Thanks2011-05-17 03:59 AM
You may use the DMA in Circular Mode. When circular mode is activated, the number of data to be transferred is automatically
reloaded with the initial value programmed during the channel configuration phase, and the DMA requests continue to be served. This feature can be enabled using the CIRC bit in the DMA_CCRx register. Chris2011-05-17 03:59 AM
ok, it worked
thanks you very much