
Enhanced Serial Communication Interface (eSCI)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
21-13
21.3.3.6
LIN Transmit Register (ESCI
x
_LTR)
ESCI
x
_LTR can be written to only when TXRDY is set. The first byte written to the register selects the
transmit address, the second byte determines the frame length, the third and fourth byte set various frame
options and determine the timeout counter. Header parity is automatically generated if the
ESCI
x
_LCR[PRTY] bit is set. For TX frames, the fourth byte (bits T7–T0) is skipped, since the timeout
function does not apply. All following bytes are data bytes for the frame. CRC and checksum bytes are
automatically appended when the appropriate options are selected.
When a bit error is detected, an interrupt is set and the transmission aborted. The register can only be
written again after the interrupt is cleared. Afterwards a new frame starts, and the first byte needs to contain
a header again.
Additionally it is possible to flush the ESCI
x
_LTR by setting the ESCI
x
_LCR[LRES] bit.
NOTE
Not all values written to the ESCI
x
_LTR generate valid LIN frames. The
values are determined according to the LIN specification.
7
LIN
LIN mode. Switch device into LIN mode.
0 LIN disabled
1 LIN enabled
8
RXIE
LIN RXREG ready interrupt enable. Generates an Interrupt when new data is available in the LIN RXREG. For a list
of interrupt enables and flags, Refer to
9
TXIE
LIN TXREG ready interrupt enable. Generates an Interrupt when new data can be written to the LIN TXREG. For a
list of interrupt enables and flags, Refer to
10
WUIE
RX wake-up interrupt enable. Generates an Interrupt when a wake-up flag from a LIN slave has been received. For
a list of interrupt enables and flags, Refer to
.
11
STIE
Slave timeout error interrupt enable. Generates an Interrupt when the slave response is too slow. For a list of interrupt
enables and flags, Refer to
.
12
PBIE
Physical bus error interrupt enable. Generates an Interrupt when no valid message can be generated on the bus. For
a list of interrupt enables and flags, Refer to
.
13
CIE
CRC error interrupt enable. Generates an Interrupt when a CRC error on a received extended frame is detected. For
a list of interrupt enables and flags, Refer to
.
14
CKIE
Checksum error interrupt enable. Generates an Interrupt on a detected checksum error. For a list of interrupt enables
and flags, Refer to
15
FCIE
Frame complete interrupt enable. Generates an Interrupt after complete transmission of a TX frame, or after the last
byte of an RX frame is received. (The complete frame includes all header, data, CRC and checksum bytes as
applicable.) For a list of interrupt enables and flags, Refer to
16–22
Reserved.
23
OFIE
Overflow interrupt enable. Generates an Interrupt when a data byte in the ESCIx_LRR has not been read before the
next data byte is received. For a list of interrupt enables and flags, Refer to
.
24–31
Reserved.
Table 21-7. ESCI
x
_LCR Field Descriptions (continued)
Field
Description
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...