Enhanced Serial Communication Interface (eSCI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
20-10
Freescale Semiconductor
Table 20-6. ESCI
x
_SR Field Descriptions
Field
Description
0
TDRE
Transmit data register empty flag. TDRE is set when the transmit shift register receives a byte from the eSCI data
register. When TDRE is 1, the data register (ESCI
x
_DR) is empty and can receive a new value to transmit. Clear
TDRE by writing 1 to it.
0
eSCI
has not transferred data to the transmit shift register since the last time software cleared TDRE
1 Byte transferred to transmit shift register; transmit data register empty
1
TC
Transmit complete flag. TC is set low when there is a transmission in progress or when a preamble or break character
is loaded. TC is set high when the TDRE flag is set and no data, preamble, or break character is being transmitted.
When TC is set, the TXD out signal becomes idle (logic 1).
After the device is switched on (by clearing the MDIS bit, Refer to
Section 20.3.3.2, “eSCI Control Register 2
,” a preamble is transmitted; if no byte is written to the SCI data register then the completion of the
preamble can be monitored using the TC flag. Clear TC by writing 1 to it.
0 Transmission in progress
1 No transmission in progress. Indicates that TXD out is idle.
2
RDRF
Receive data register full flag. RDRF is set when the data in the receive shift register transfers to the eSCI data
register. Clear RDRF by writing 1 to it.
0
0 eSCI has not transferred data to the receive data register since last time software cleared RDRF
1 Received data available in eSCI data register
3
IDLE
Idle line flag. IDLE is set when 10 consecutive logic 1s (if M = 0) or 11 consecutive logic 1s (if M = 1) appear on the
receiver input. After the IDLE flag is cleared, a valid frame must again set the RDRF flag before an idle condition can
set the IDLE flag. Clear IDLE by writing 1 to it.
0 Receiver input is either active now or has never become active since the IDLE flag was last cleared
1 Receiver input has become idle
Note:
When the receiver wake-up bit (RWU) is set, an idle line condition does not set the IDLE flag.
4
OR
Overrun flag. OR is set when software fails to read the eSCI data register before the receive shift register receives
the next frame. The OR bit is set immediately after the stop bit has been completely received for the second frame.
The data in the shift register is lost, but the data already in the eSCI data registers is not affected. Clear OR by writing
1 to it.
0 No overrun
1 Overrun
5
NF
Noise flag. NF is set when the eSCI detects noise on the receiver input. NF bit is set during the same cycle as the
RDRF flag but does not get set in the case of an overrun. Clear NF by writing 1 to it.
0 No noise
1 Noise
6
FE
Framing error flag. FE is set when a logic 0 is accepted as the stop bit. FE bit is set during the same cycle as the
RDRF flag but does not get set in the case of an overrun. Clear FE by writing 1 to it.
0 No framing error
1 Framing error
7
PF
Parity error flag. PF is set when the parity enable bit, PE, is set and the parity of the received data does not match
its parity bit. Clear PE by writing 1 to it.
0 No parity error
1 Parity error
8–10
Reserved, Must be 0.
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...