Content originally posted in LPCWare by NXP_USA on Tue Feb 15 11:13:46 MST 2011
The UART driver code is not re-entrant. In a multitasking environment it should be placed into a single resource-management thread or the global variables should be replaced with semaphores. I am not certain moving the "UART3TxEmpty" assignment will completely work around this.
-NXP