Skip to main content
mluessi
Associate II
January 23, 2014
Question

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

  • January 23, 2014
  • 2 replies
  • 666 views
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?
    This topic has been closed for replies.

    2 replies

    waclawek.jan
    Super User
    January 23, 2014
    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
    mluessiAuthor
    Associate II
    January 23, 2014
    Posted on January 23, 2014 at 18:31

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