Enhanced Serial Communication Interface (eSCI)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
24-32
Freescale Semiconductor
Preliminary
24.4.8.2.2
TC Description
The transmit complete (TC) interrupt is set by the eSCI when a transmission has completed. A TC interrupt
indicates that there is no transmission in progress. TC is set high when the TDRE flag is set and no data,
preamble, or break character is transmitted. When TC is set, the TXD pin becomes idle (logic 1). The TC
bit is cleared by writing a 1 to the TC bit location in the ESCI
x
_SR.
24.4.8.2.3
RDRF Description
The receive data register full (RDRF) interrupt is set when the data in the receive shift register transfers to
the eSCI data register. An RDRF interrupt indicates that the received data has been transferred to the eSCI
data register and that the received data can now be read by the MCU. The RDRF bit is cleared by writing
a one to the RDRF bit location in the ESCI
x
_SR.
24.4.8.2.4
OR Description
The overrun (OR) interrupt is set when software fails to read the eSCI data register before the receive shift
register receives the next frame. The newly acquired data in the shift register is lost in this case, but the
data already in the eSCI data registers is not affected. The OR bit is cleared by writing a 1 to the OR bit
location in the ESCI
x
_SR.
24.4.8.2.5
IDLE Description
The idle line (IDLE) interrupt 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 is cleared, a valid frame must again set the RDRF flag
before an idle condition can set the IDLE flag.
The IDLE bit is cleared by writing a 1 to the IDLE bit
location in the ESCI
x
_SR.
24.4.8.2.6
PF Description
The interrupt is set when the parity of the received data is not correct. Writing a 1 clears the PF.
24.4.8.2.7
FE Description
The interrupt is set when the stop bit is read as a 0, which violates the SCI protocol. Writing a 1 clears the
FE.
24.4.8.2.8
NF Description
The NF interrupt is set when the eSCI detects noise on the receiver input.
24.4.8.2.9
BERR Description
While the eSCI is in LIN mode, the bit error (BERR) flag is set when one or more bits in the last
transmitted byte is not read back with the same value. The BERR flag is cleared by writing a 1 to the bit.
A bit error will cause the LIN FSM to reset. Writing a 1 to the bit clears the BERR flag.