Content originally posted in LPCWare by embd02161991 on Thu Aug 22 22:48:00 MST 2013
Hi,
Whenever there is data in the Rx FIFO , the software would set RNE to 1 and this data would be read. This data would not be your required data .During this period any incoming data will be lost. In order to avoid this situation , the receiver FIFO is initially cleared before enabling the interrupts.
Thanks,
KS