STM32L451 DMA and request on same channel?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-18 6:55 AM
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
Solved! Go to Solution.
- Labels:
-
DMA
-
FreeRTOS
-
SPI
-
STM32L4 series
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-18 9:41 AM
I found that I can map UART to DMA2 channels 6 and 7. So, I will not have any conflict.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-18 8:35 AM
> I wonder if I can run in parallel USART DMA using the same channels (4 and 5)
No.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-18 9:41 AM
I found that I can map UART to DMA2 channels 6 and 7. So, I will not have any conflict.
Thanks
