cancel
Showing results for 
Search instead for 
Did you mean: 

DMA_MultiBufferSetConfig example

leogarberoglio
Associate III
Posted on December 17, 2015 at 01:44

Hi, is there any example of how to implement DoubleBuffer mode for DMA transfer?

I have I2S stream and DMA configured on Circular Mode, but I need to implement double buffering.

Thank
3 REPLIES 3
leogarberoglio
Associate III
Posted on March 23, 2016 at 22:28

nobody?

Walid FTITI_O
Senior II
leogarberoglio
Associate III
Posted on March 26, 2016 at 12:40

Thank for your answer!

I'm looking for a DMA_MultiBufferSetConfig example and both code your provide are not MultiBuffer DMA. You provide example of another tecnique that is make the buffer twice the needed size and use Half Transfer and Complete Transfer to determine wich half is currently in use. My application implement that.

But I saw on HAL library that there is a MultiBuffer mode functions. The problem is that there is no information on how to use it.

Thank again.