Skip to main content
mkim.51
Associate II
Dec 14, 2018 1:56 AM UTC
Solved

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

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.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Dec 14, 2018 3:13 AM UTC

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..

4 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Dec 14, 2018 3:13 AM UTC

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
Dec 14, 2018 4:00 AM UTC

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
Dec 14, 2018 6:32 AM UTC

> what if I use I2C3_RX and UART4_RX DMA?

You can't.

JW

mkim.51
mkim.51Author
Associate II
Dec 14, 2018 8:04 AM UTC

thank you