MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
21-24
Freescale Semiconductor
•
May set the overrun flag, OR, noise flag, NF, parity error flag, PF, or the receiver active flag, RAF.
For more details, see
Section 21.3.3.4, “eSCI Status Register (ESCIx_SR)
.”
21.4.4.4
Idle Characters
An idle character contains all logic 1s and has no start, stop, or parity bit. Idle character length depends on
the M bit in eSCI control register 1 (ESCI
x
_CR1). The preamble is a synchronizing idle character that
begins the first transmission initiated after toggling the TE bit from 0 to 1.
If the TE bit is cleared during a transmission, the TXD output
becomes idle after completion of the
transmission in progress. Clearing and then setting the TE bit during a transmission queues an idle
character to be sent after the frame currently being transmitted.
NOTE
When queueing an idle character, return the TE bit to logic 1 before the stop
bit of the current frame shifts out through the TXD output. Setting the TE
bit after the stop bit shifts out through the TXD output
causes data
previously written to the eSCI data register to be lost. Toggle the TE bit for
a queued idle character while the TDRE flag is set and immediately before
writing the next byte to the eSCI data register.
21.4.4.5
Fast Bit Error Detection in LIN Mode
Fast bit error detection has been designed to allow flagging of LIN bit errors while they occur, rather than
flagging them after a byte transmission has completed. In order to use this feature, it is assumed a physical
interface connects to the LIN bus as shown in
Figure 21-14. Fast Bit Error Detection on a LIN Bus
If fast bit error detection is enabled (FBR = 1), the eSCI will compare the transmitted and the received data
stream when the transmitter is active (not idle). After a mismatch between the transmitted data and the
received data is detected the following actions are performed:
•
The LIN frame is aborted (provided LDBG=0).
•
The bit error flag BERR will be set.
•
If SBSTP is 0, the remainder of the byte will be transmitted normally.
•
If SBSTP is 1, the remaining bits in the byte after the error bit are transmitted as 1s (idle).
Bus Clock
Compare
Bit Error
Receive Shift
Register
Transmit Shift
Register
Sample Point
LIN Bus
RxD Pin
TxD Pin
Synchronizer Stage
LIN Physical Interface
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...