cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L451 DMA and request on same channel?

CGren.1
Associate II

Hello,

I am running FreeRTOS Multitasks application.

Actually, I am using the DMA1 channel 4 and 5 for SPI transfer and request #1.

Now, I wonder if I can run in parallel USART DMA using the same channels (4 and 5) but they are linked to another request #.. #2.

So, can I have some issue to enable both? For example, I can wait data on UART lines for few seconds and in same time, I am using the SPI to communication with a device using the same DMA channel.

Thanks for your help

Christian

1 ACCEPTED SOLUTION

Accepted Solutions
CGren.1
Associate II

I found that I can map UART to DMA2 channels 6 and 7. So, I will not have any conflict.

Thanks

View solution in original post

2 REPLIES 2

> I wonder if I can run in parallel USART DMA using the same channels (4 and 5)

No.

JW

CGren.1
Associate II

I found that I can map UART to DMA2 channels 6 and 7. So, I will not have any conflict.

Thanks