Hi,
Would like to understand how SCI errors are flagged/cleared when in FIFO mode (SCIFFTX:SCIFFENA = 1) as the TRM is not clear on several points.
- When FIFO is enabled, is it correct to say that there 4 relevant errors and 5 error flags that can be set?
Error Error flag(s) set when error occurs Break SCIRXST:RXERROR and SCIRXST:BRKDT Framing SCIRXBUF:SCIFFFE Parity SCIRXBUF:SCIFFPE Overrun SCIFFRX:RXFFOVF - Is it correct to say that in FIFO mode only a Break error can trigger a receive interrupt (whereas Framing, Parity, and Overrun errors only set flags that must be checked manually in the receive ISR)? And for that to happen SCICTL1:RXERRINTENA must be set?
- Will the FE, OE, and PE error flags in SCIRXST be set by the hardware even when FIFO is enabled? i.e. causing the RXERROR flag to be set unnecessarily.
- Are the SCIFFFE and SCIFFPE error flags cleared by a software reset (SCICTL1:SWRESET) or channel reset (SCIFFTX:SCIRST)? Or can they only be cleared by writing zero to the flag directly?
Thank you!
Regards,
Hong En