Enhanced Serial Communication Interface (eSCI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
20-13
20.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 20-7. ESCI
x
_LCR Field Descriptions (continued)
Field
Description
Содержание 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...