We have a communication running over UART and we have issues with clearing framing errors.
If we communicate normally and do do not generate to many errors then we can clear S1[FE] flag without issues. ( we clear it by reading S1 and reading D ).
But we noticed that if we leave the UART running over longer times and produce lots of framing errors it becomes impossible to clear. S1 flag just wont reset any more after trying to clear it.
Did you observe anything similar?