Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

eDMA gives up with SPI and UART simultaneously transmitting using DMA.

$
0
0

Hi,

I am using omapl138. We have added eDMA support in our SPI and UART drivers for our custom RTOS. I have two tasks in my environment. One task continuously transmits data via UART using eDMA and the other task transmits and receives data via SPI using DMA. The problem is that as soon as SPI starts transmitting data my UART DMA stops. The events missed register show that missed events have occurred on TX channel of UART and TX channel of SPI. SPI transfers still keep on working but UART transfers stop. I cannot figure out a reason for this. Maybe the EDMA controller cannot perform under heavy loads. Also please can someone tell me what what should one do once he get the missed event in case of UART. Thank You.

Regards,

Mughees


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>