2016-06-23 01:08 AM
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:
Having 2 DMA controllers means that I can have 2 independent DMA transfers occurring at the same time without any collision?
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?
2016-06-23 04:45 AM
Hi nunes.ricardo,
Yes, you can use two independent DMAs to make transfers at the same time without any collision. -Hannibal-