LPC802 TXRDY interrupt in UART0

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC802 TXRDY interrupt in UART0

21 Views
Contributor II

Hi,

I've enabled interrupt for Tx_Ready in Uart0. As soon as I enable interrupt, code jump to the interrupt callback, I check status flag and exit from the callback. Problem is that code is going to interrupt callback continuosly. Is there any way to clear TXRDY flag and avoid continous interrupt callback ?

The idea is to send a byte in tx uart and then get interrupt one time when byte is sent. What am I doing wrong ? 

Thanks,

Asier.

0 Kudos
0 Replies