!RXFIFOEMPTY in your case. Did you try to change the former to the latter to see how it works? Thanks, Vitaly