cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger multiple DMA transfers?

ricardomiguel
Associate II
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?

1 REPLY 1
Walid FTITI_O
Senior II
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-