2014-07-24 01:55 PM
Hi,
I am trying to develop an application for STM32L series. I need to use DMA in double buffer mode. I found information in the reference manual for a double buffer circular mode which uses a single DMA buffer with half and full complete flags. However I want to use two separate buffer and have a way to switch between the two of them and fill them separately. I am looking for something like DMA_DoubleBufferModeConfig that is available for STM32F series.ThanksDMA_DoubleBufferModeConfig
DMA_DoubleBufferModeConfig
DMA_DoubleBufferModeConfig
#stm32-dma-double-buffer2014-07-24 01:59 PM
You could also use Normal mode, and then chain through a list of transfer buffers at the TC of the prior buffer, setting up a new DMA transaction.
2014-07-24 02:26 PM
Thanks for the response. Now I want this DMA transfer process to happen repeatedly since its capturing a continuous signal from an ADC. How should I configure the DMA to restart the process in normal mode?
2014-07-24 04:55 PM
I built a USART example at the end of
. This could be optimized significantly, by prefilling structures, etc.