
Enhanced Serial Communication Interface (eSCI)
MPC5566 Microcontroller Reference Manual, Rev. 2
21-12
Freescale Semiconductor
21.3.3.5
LIN Control Register (ESCI
x
_LCR)
ESCI
x
_LCR
can be written only when there are no ongoing transmissions.
Address: Base + 0x000C
Access: R/W
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
LRES
0
WUD
0
WUD
1
LDBG
DSF
PRTY
LIN
RXIE
TXIE WUIE STIE
PBIE
CIE
CKIE
FCIE
W
WU
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
0
0
0
0
0
0
0
OFIE
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 21-6. LIN Control Register (ESCI
x
_LCR)
Table 21-7. ESCI
x
_LCR Field Descriptions
Field
Description
0
LRES
LIN resynchronize. Causes the LIN protocol engine to return to start state. This happens automatically after bit
errors, but software can force a return to start state manually via this bit. The bit first must be set then cleared, so
that the protocol engine is operational again.
1
WU
LIN bus wake-up. Generates a wake-up signal on the LIN bus. This must be set before a transmission, if the bus is
in sleep mode. This bit auto-clears, so a read from this bit always returns 0.
According to LIN 2.0, generating a valid wake-up character requires programming the SCI baud rate to a range of
32K baud down to 1.6K baud.
2–3
WUD
[0:1]
Wake-up delimiter time. Determines how long the LIN engine waits after generating a wake-up signal, before starting
a new frame. The eSCI does not set ESCIx_SR[TXRDY] before this time expires. In addition to this delimiter time,
the CPU and the eSCI require some setup time to start a new transmission. Typically there is an additional bit time
delay. The following table shows how WUD0 and WUD1 affect the delimiter time.
4
LDBG
LIN debug mode. Prevents the LIN FSM from automatically resetting, after an exception (bit error, physical bus error,
wake-up flag) has been received. This is for debug purposes only.
5
DSF
Double stop flags. When a bit error is detected, an additional stop flag is added to the byte in which the error
occurred.
6
PRTY
Activating parity generation. Generate the two parity bits in the LIN header.
WUD0
WUD1
Bit Times
0
0
4
0
1
8
1
0
32
1
1
64
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...