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

Unwanted interaction between EDMA3 and UART on OMAP L138

$
0
0

Hi all,

I am working on this system that uses the OMAP L138.

We have an extremely slow device on the EMIFA (Async interface) from where data is copied into the main DDR memory, currently using a copy loop running on the ARM (which runs linux)

I have written some code to use EDMA3 (on the ARM) to do this transfer, using the kernel edma functionality (available from arch/arm/mach-davinci/dma.c, edma.h).

Everything seems to work fine except that that I am now getting Overrun Error from the UART. We have some unrelated code that periodically uses the UART and it seems that when this overlaps with the DMA transfer (which can last up to 200 millisec) the UART generates an overrun.

Note that the UART driver DOES NOT uses EDMA to read/write its FIFOs.

Has anyone seen anything similar in the past?

thanks


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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