Hello VIGNESH BALAJI,
hope you are doing great.


The OR flag will tell you when you overrun on the UART. I recommend to have a buffer to save the information before you process you information to prevent the information lost in case you overrun the UART buffer. you can set an interrupt to this flag to know when this is happening. in the reference manual there is the table where I found this information (section 33.3.5).
Best regards.
Jonathan Iglesias