Skip to main content
haukeye
Associate
February 7, 2016
Question

stm32F4 ->Q how to send several streams on DMA

  • February 7, 2016
  • 4 replies
  • 979 views
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  !!
    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    February 7, 2016
    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    haukeye
    haukeyeAuthor
    Associate
    February 8, 2016
    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

    Tesla DeLorean
    Guru
    February 8, 2016
    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    haukeye
    haukeyeAuthor
    Associate
    February 10, 2016
    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