Enhanced Serial Communication Interface (eSCI)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
24-10
Freescale Semiconductor
Preliminary
24.3.2.5
LIN Control Register (ESCIx_LCR)
ESCI
x
_LCR
can be written when there are no ongoing transmissions only.
LWAKE
Received LIN Wakeup Signal. A LIN slave has sent a wakeup signal on the bus. When this signal is detected,
the LIN FSM will reset. If the setup of a frame had already started, it must be repeated.
LWAKE will also be set if ESCI receives a LIN 2.0 wakeup signal (in which the baud rate is lower than 32K baud).
See the WU bit.
0 LIN2.0 wakeup signal not received
1 LIN2.0 wakeup signal received
STO
Slave Time Out. Represents a NO_RESPONSE_ERROR. This is set if a slave does not complete a frame within
the specified maximum frame length. For LIN 1.3 the following formula is used:
0 No time out detected
1 A slave did not complete a frame within the specified maximum frame length
PBERR
Physical Bus Error. No valid message can be generated on the bus. This is set if, after the start of a byte
transmission, the input remains unchanged for 31 cycles. This will reset the LIN FSM.
0 No error
1 Physical bus error
CERR
CRC Error. The CRC pattern received with an extended frame was not correct.
0 No error
1 CRC error
CKERR
Checksum Error. Checksum error on a received frame.
0 No error
1 Checksum error
FRC
Frame Complete. LIN frame completely transmitted. All LIN data bytes received.
0 Frame not complete
1 Frame complete
bits 24–29
Reserved.
UREQ
Unrequested Data on LIN Bus. The UREQ bit indicates whether unrequested activity has been detected on the
LIN bus. Since the eSCI is used as a master node, this is normally an error condition. The UREQ flag is not set
if the activity is identified as a wakeup character. In addition, the RXRDY flag will also be set and the ESCIx_LRR
register must be read before normal operations can proceed. Set when the condition is detected and cleared by
writing 1 to it.
0 No unrequested data detected
1 Unrequested data detected
OVFL
ESCIx_LRR Overflow. The LIN receive register has not been read before a new data byte, CRC, or checksum
byte has been received from the LIN bus. Set when the condition is detected and cleared by writing 1 to it.
0 No overflow
1 Overflow detected
Table 24-5. ESCIx_SR Field Descriptions (continued)
Field
Description
TFRAME_MAX
10
NDATA
44
+
×
(
)
1.4
×
=