Enhanced Serial Communication Interface (eSCI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
20-15
Table 20-8. ESCI
x
_LTR First Byte Field Description
Field
Description
0–1
P
n
Parity bit
n
. When parity generation is enabled (ESCI
x
_LCR[PRTY] = 1), the parity bits are generated automatically.
Otherwise they must be provided in this field.
2–7
ID
n
1
1
The values 3C, 3D, 3E and 3F of the ID-field (ID0-5) indicate command and extended frames. Refer to LIN Specification
Package Revision 2.0.
Header bit
n
. The LIN address, for LIN 1.x standard frames the length bits must be set appropriately so the extended
frames are recognized by their specific patterns. Refer to the
8–31
Reserved.
Table 20-9. ESCI
x
_LTR Second-Byte Field Description
Field
Description
0–7
L
n
Length bit
n
. Defines the length of the frame (0 to 255 data bytes). This information is needed by the LIN state
machine to insert the checksum or CRC pattern as required. LIN 1.x slaves only accepts frames with 2, 4, or 8 data
bytes.
8–31
Reserved.
Table 20-10. ESCI
x
_LTR Third-Byte Field Descriptions
Field
Description
0
HDCHK
Header checksum enable. Include the header fields into the mod 256 checksum of the standard frames.
1
CSUM
Checksum enable. Append a checksum byte to the end of a TX frame. Verify the checksum byte of an RX frame.
2
CRC
CRC enable. Append two CRC bytes to the end of a TX frame. Verify the two CRC bytes of an RX frame are correct.
If both CSUM and CRC bits are set, the LIN FSM first appends the CRC bytes, then the checksum byte, and are
processed in this order. If HDCHK is set, the CRC calculation includes the header and data bytes, otherwise, the
CRC is performed on the data bytes only. CRC bytes are not part of the LIN standard; they are normal data bytes
and belong to a higher-level protocol.
3
TX
Transmit direction. Indicates that the eSCI transmits a frame to a slave. Otherwise, an RX frame is assumed, and the
eSCI only transmits the header. The data bytes are received from the slave.
0 RX frame
1 TX frame
ID5
ID4
data bytes
0
0
2
0
1
2
1
0
4
1
1
8
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...