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

OMAP L138 UART EDMA Interrupt problems

$
0
0

Hey All,

I have a program which handles 2 UART devices at 460800 Baud rate.

I use Omap L138 Logic PD SOM with Starterware (1_10_03_03) and SysBios (6.34.2.18).

The UARTs (0 & 2) are handled by the EDMA CC0 and TCC0 and are inserted to a cyclic buffer.

After working correctly for a while (few milliseconds) one of the EDMA stops triggering completion interrupts.

I attached the relevant part of my project here: (Please visit the site to view this file)

What I do in the program is, Initiate EDMA and UARTS, start UART streaming in both of the UARTS and then wait.
Every completion interrupt, the Cyclic buffer is updated.
After a while (k==1000) I stop and I can see that one of the UARTs interrupts was fired only 15-16 times while the other fired 900 times.

It's important to say that this happens when the UART works in high capacity (actual 290Kbps of the 460Kbps), when working in normal capacity (170Kbps) this doesn't happen.

I cannot change the UART Baud rate.

Regards,
Yoel


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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