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

AM1806 UART1 ISR not triggered

$
0
0

Hello,

I am using AM1806 and all UARTs, but at the moment I am looking into UART1.

What I see is that at times I can get into a situation where the ISR is not running anymore and we fail to send data out.

Looking at the IIR register, can we get a THRE and RDA at the same time?  When we are sending data, we expect THRE (Transmitter Holding Register Empty) condition to occur so we can send out more data.  What will happen when there is incoming data?  RDA (Receiver Data Available) has a higher priority than THRE.  If the ISR process the incoming data, will it get another interrupt with THRE?

Thank you for your help.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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