Associate III
July 19, 2020
Question
Can two DMA work in parallel without competing for Bus?
- July 19, 2020
- 9 replies
- 2956 views
Hi, I was wondering if the two DMA modules can work simultaneously without competing for Bus?
For example:
In BusMatrix.png file you can see that both DMA1 and DMA2 are connected SRAM1,SRAM2,AHB1 peripherals and AHB2 peripherals.
So if I set the DMA1 to get data from ADC1(In AHB2 Bus shown in Connections.png) to SRAM2 and set the DMA2 to get data from SRAM1 to USART1(In AHB1 Bus shown in Connections.png) are these two DMAs will compete to be the master of the bus? Or are they going to work simultaneously without disturbing each another?
If so, can this be used when there are no available bandwidth in DMA1 so ADC part can be moved to DMA2 to free up some bandwidth in DMA1?
