Skip to main content
s7v7n92
Associate II
July 24, 2014
Question

Double buffer DMA

  • July 24, 2014
  • 3 replies
  • 948 views
Posted on July 24, 2014 at 22:55

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.

Thanks

DMA_DoubleBufferModeConfig

DMA_DoubleBufferModeConfig

DMA_DoubleBufferModeConfig

#stm32-dma-double-buffer
This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
July 24, 2014
Posted on July 24, 2014 at 22:59

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.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
s7v7n92
s7v7n92Author
Associate II
July 24, 2014
Posted on July 24, 2014 at 23:26

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?

Tesla DeLorean
Guru
July 24, 2014
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..