Skip to main content
mkim.51
Associate II
December 14, 2018
Solved

STM32F4 I2C DMA1 & UART DMA1 A SAME STREAM IS IT AVAILABLE?

  • December 14, 2018
  • 4 replies
  • 1660 views

I'm using an STM32F411 chip.

and it is trying to use the DMA function of UART2 and I2C3.

there are same DMA1 bus line.

​

at that time,

​

Is it available when both functions try to work at the same time? 

Does Stm32 handle itself? 

If so, what is the priority?

​

I have implemented the DMA function for UART2. 

However, I am currently not able to implement I2C DMA function continuously. 

We have not tested the two for the same time. 

but, In the end, I have to use those two functions at the same time.

​

​

my email is royalmdm@naver.com ​

thank you.

This topic has been closed for replies.
Best answer by Tesla DeLorean

They all use different Streams, so should all function concurrently

0690X000006CpRVQA0.jpg

4 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
December 14, 2018

They all use different Streams, so should all function concurrently

0690X000006CpRVQA0.jpg

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
mkim.51
mkim.51Author
Associate II
December 14, 2018

thank you for your reply.

​

I lacked understanding of the stream.

​

what if I use I2C3_RX and UART4_RX DMA?

at that time i use same stream..

​

still no problem?? ​

waclawek.jan
Super User
December 14, 2018

> what if I use I2C3_RX and UART4_RX DMA?

You can't.

JW

mkim.51
mkim.51Author
Associate II
December 14, 2018

thank you