SCI Control Registers
1351
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Serial Communication Interface (SCI) Module
26.7.7 SCI Flags Register (SCIFLR)
and
illustrate this register.
Figure 26-14. SCI Flags Register (SCIFLR) [offset = 1Ch]
31
27
26
25
24
Reserved
FE
OE
PE
R-0
R/W-0
R/W-0
R/W-0
23
16
Reserved
R-0
15
13
12
11
10
9
8
Reserved
RX WAKE
TX EMPTY
TX WAKE
RX RDY
TX RDY
R-0
R/WC-0
R/W-1
R/WC-0
R/W-0
R/W-1
7
4
3
2
1
0
Reserved
BUSY
IDLE
WAKE UP
BRKDT
R-0
R/W-0
R-0
R/WL-0
R/WC-0
LEGEND: R/W = Read/Write; R = Read only; WC = Write in sci-compatible mode only; -
n
= value after reset
Table 26-10. SCI Flags Register (SCIFLR) Field Descriptions
Bit
Field
Value
Description
31-27
Reserved
Reads return 0. Writes have no effect.
26
FE
Framing error flag. This bit is set when an expected stop bit is not found. In SCI compatibility mode,
only the first stop bit is checked. The missing stop bit indicates that synchronization with the start bit
has been lost and that the character is incorrectly framed. Detection of a framing error causes the
SCI to generate an error interrupt, if the SET FE INT bit (SCISETINT[26]) is set. The framing error
flag is cleared by the following:
• Setting of the SW nRST bit
• Setting of the RESET bit
• A system reset
• Writing a 1 to this bit
• Reading the corresponding interrupt offset in SCIINTVECT0/1
• Reception of a new character
In multi-buffer mode, the frame is defined in the SCIFORMAT register.
0
Read:
No framing error has been detected since the last clear.
Write:
Writing a 0 to this bit has no effect.
1
Read:
A framing error has been detected since the last clear.
Write:
The bit is cleared to 0.
25
OE
Overrun error flag. This bit is set when the transfer of data from SCIRXSHF to SCIRD overwrites
unread data already in SCIRD. Detection of an overrun error causes the SCI to generate an error
interrupt if the SET OE INT bit (SCISETINT[25]) is set. The OE flag is reset by the following:
• Setting of the SW nRST bit
• Setting of the RESET bit
• A system reset
• Writing a 1 to this bit
• Reading the corresponding interrupt offset in SCIINTVECT0/1
0
Read:
No overrun error has been detected since the last clear.
Write:
Writing a 0 to this bit has no effect.
1
Read:
An overrun error has been detected since the last clear.
Write:
The bit is cleared to 0.