Skip to main content
ricardomiguel
Associate II
June 23, 2016
Question

Trigger multiple DMA transfers?

  • June 23, 2016
  • 1 reply
  • 484 views
Posted on June 23, 2016 at 10:08

I'm using STM32F446. I'm working in a project with 3 SPI in master mode and SDIO. Ideally I would want to have every communications using DMA, but I have some questions I can't answer by reading the manual:

  1. Having 2 DMA controllers means that I can have 2 independent DMA transfers occurring at the same time without any collision?

  2. Let's say that I trigger 2 DMA transfers in the same controller, at the same time: 1 for SPI (highest priority) and the other for SDIO (lowest priority). Does that mean that both of them will happen at the same time, but when SPI needs to load a new value SDIO will have to wait? Does SDIO transfer loose any value because of it?

    This topic has been closed for replies.

    1 reply

    Walid FTITI_O
    Visitor II
    June 23, 2016
    Posted on June 23, 2016 at 13:45

    Hi nunes.ricardo,

    Yes, you can use two independent DMAs to make transfers at the same time without any collision.

    -Hannibal-