Enhanced Serial Communication Interface (eSCI)
MPC5566 Microcontroller Reference Manual, Rev. 2
21-38 Freescale Semiconductor
NOTE
It is also possible to setup a whole sequence of RX and TX frames, and 
generate a single event at the end of that sequence.
Refer to Figure 21-26 for more information. 
Figure 21-26. DMA Transfer of an RX frame
21.4.10.4 LIN Error Handling
The LIN hardware can detect several error conditions of the LIN protocol. LIN hardware receives all 
transmitted bytes, and compares the values with expected values to determine if the data is valid. If a 
mismatch occurs, a bit error is generated and the LIN FSM returns to its start state.
For an RX frame the LIN hardware can detect a slave timeout error. The exact slave timeout error value 
can be set via the timeout bits in the ESCIx_LTR. If the frame is not complete within the number of clock 
cycles specified in the register, the LIN FSM returns to its start state, and the STO interrupt is issued.
The LIN protocol supports a sleep mode. After 25,000 bus cycles of inactivity the bus is assumed to be in 
sleep mode. Normally entering sleep mode can be avoided, if the LIN master is regularly creating some 
bus activity. Otherwise the timeout state needs to be detected by the application software, for example by 
setting a timer.
Both LIN masters and LIN slaves can cause the bus to exit sleep mode by sending a break signal. The LIN 
hardware generates a break when the WU bit in the LIN control register is written. After transmitting the 
break, data is not sent out (TXRDY = 0) until the wake-up period expires. Define the wakeup period using 
the WUD bits in the LIN control register. 
Break signals sent by a LIN slave are received by the LIN hardware, and so indicated by setting the WAKE 
flag in the LIN status register.
Break Sync ID Data Data CSum
• • •
LIN Frame
Transmit
DMA
controller
Data n
Data 1
Timeout
Control/timeout
Length
ID
•
•
•
TX DMA
channel
LIN eSCI
Receive
From master From slave
RX DMA
channel
register
register