Thanks for reply,
steved wrote:If your CPU uses the UART2 driver, I use a modified version which gives the option of using only interrupts for the UART transfers - well tested in some specific configurations.
Not quite what you're asking, but might solve the problem in a slightly different way.
Unfortunately i used STM32F407 which is use USARTv1, but i got your idea. Maybe i can edit some Transmit use interrupt but Receive still use DMA in the future. Why you not just using serial driver if want interrupts on UART transfer?
Giovanni wrote:It would be a significant rework because all checks performed on DMA channels, probably the changes would impact other drivers using DMA.
Have you considered using the Serial driver instead? it does not use DMA at all.
Giovanni
I know this will be silly idea. I under development Air Data Computer using STM32F4. Will need some high load calculation, so i build low level peripherals/sensors communication with DMA(2 SPI and 3 UART). And i got SPI and UART in the same DMA channel. This will be solved if i used serial driver, but can be solved if i have received only UART driver too. I choose UART driver as i know DMA is "pure non-blocking" because it handle by hardware. CMIIW