Skip to main content
muhammad
Associate II
June 16, 2012
Question

UART with DMA mode

  • June 16, 2012
  • 22 replies
  • 10120 views
Posted on June 16, 2012 at 15:32

hi 

everyone

need help regarding UART with DMA mode,

i am using STM32F407 Discovery Board,

i want to configure UART4 with DMA, and want it to generate interrupt when DMA completes filling the memory. 

so should i configure the UART4's interrupt initializations also or only DMA interrupt initializations. I've attached my code. 

any help will be appreciated a lot. 

#selective-cut-n-paste #uart-usart-dma-interrupt
This topic has been closed for replies.

22 replies

Tesla DeLorean
Guru
July 25, 2016
Posted on July 25, 2016 at 03:24

You should probably consider just using an interrupt (IRQ) for RXNE to manage the bytes as they arrive, 

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
khandaynial_2000
Associate
July 25, 2016
Posted on July 25, 2016 at 09:32

I am reading data from multiple devices and each device can send its data on same time so by using Interrupt i will again i miss data .