lpcware

UART Shift Register Empty Interrupt

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by John Sinclair on Sun Jul 29 23:59:24 MST 2012
Hello,

I have to develop a RS485 Master. So I have checked the Uart_Rs485Master Projekt on LPCware. This was good to start, the only messy thing is: When I have to send an address byte, I have to stick the parity on this byte and have to wait until the TX Shift Register (UnTSR) is empty. This was done in a while loop polling the LSR->TEMT flag.
Instead polling is there a chance to get an interrupt after the adress-byte was send?
Thx

Outcomes