Enhanced Serial Communication Interface (eSCI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
20-12
Freescale Semiconductor
20.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 20-6. LIN Control Register (ESCI
x
_LCR)
Table 20-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
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...