cancel
Showing results for 
Search instead for 
Did you mean: 

stm32F4 ->Q how to send several streams on DMA

haukeye
Associate II
Posted on February 07, 2016 at 14:42

Hi All

I want to know how to send several streams on DMA2.

Thanks for the assistance  !!
4 REPLIES 4
Posted on February 07, 2016 at 18:30

Send streams too/from where, the question is awfully vague and open-ended.

You basically specify source and destination addresses, along with a length. The stream/channels being used will depend if a peripheral is triggering the transfer.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
haukeye
Associate II
Posted on February 08, 2016 at 07:17

Hi,

Thanks for answering.

in the meanwhile i just want to load two streams with memory to memory data transfer.

i'm using the stm32f4 discovery board, and the DMA2.

if you have some example it'll be great.

Thanks

Posted on February 08, 2016 at 18:53

STM32F4xx_DSP_StdPeriph_Lib_V1.6.0\Project\STM32F4xx_StdPeriph_Examples\DMA\DMA_FLASHToRAM\main.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
haukeye
Associate II
Posted on February 10, 2016 at 16:40

Thanks for the answer.

This instructs how to send one stream.

I'm interested in sending several streams ,and configure all beforhand.

Thanks