cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F405RG using SPI2 and SPI3 at the same time with DMA?

mluessi
Associate II
Posted on January 23, 2014 at 16:44

Hi,

In my application I would like to use all three SPI interfaces of the STM32F405RG at the same time, with DMA. I noticed that SPI2 and SPI3 are both assigned to DMA1 Channel 0, but different streams. Does this mean that SPI2 and SPI3 can't be used at the same time with DMA?
2 REPLIES 2
Posted on January 23, 2014 at 17:09

The terminology is confusing: Streams here are the DMA ''submachines'', and Channels denote the possible trigger inputs to the individual DMA ''submachines''.

Read the manual more carefully.

JW
mluessi
Associate II
Posted on January 23, 2014 at 18:31

Thanks for clearing this up. I somehow got confused when reading the manual.