Skip to main content
CGren.1
Associate II
May 18, 2021
Solved

STM32L451 DMA and request on same channel?

  • May 18, 2021
  • 2 replies
  • 636 views

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

This topic has been closed for replies.
Best answer by CGren.1

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

Thanks

2 replies

waclawek.jan
Super User
May 18, 2021

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

No.

JW

CGren.1
CGren.1AuthorBest answer
Associate II
May 18, 2021

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

Thanks