This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello.
I am trying to understand the use of e.g. error flags FE and SCIFFFE.
With Rx FIFO enabled, should I be looking at both?
I assume FE refers to the last char received, and SCIFFFE the one at the top of the FIFO, which will have arrived earlier.
(1) If I am just reading from the FIFO, do I need to ever check FE?
(2) When does SCIFFFE get cleared - should I reset when I get to a FIFO char with this error?
(3) I assume that if I reset as soon as FE is set, I may lose previously received characters that are waiting in the FIFO?
(4) Same for PE and SCIFFPE?
(5) Finally, if using the FIFO, do I need to worry about OE at all? Are all overruns indicated by RXFFOVF?
Thanks
Robnson,
When you enable RXFIFO, you can look at SCIFFFE.
On (1), No need to check FE.
On (2), Yes, SCIFFFE bit is cleared only by clearing the SW RESET bit or by a system reset.
On (3), Will check with our design team and let you know.
On (4), Yes, Same explanation applies to PE and SCIFFPE.
On (5), All overruns are indicated by RXFFOVF.
Thanks and regards,
Vamsi