This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM1806 UART1 ISR not triggered

Other Parts Discussed in Thread: AM1806

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.