STM32F405RG using SPI2 and SPI3 at the same time with DMA?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-01-23 7:44 AM
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 discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-01-23 8:09 AM
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. JWOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-01-23 9:31 AM
Posted on January 23, 2014 at 18:31
Thanks for clearing this up. I somehow got confused when reading the manual.
