
Enhanced Serial Communication Interface (ESCI)
MPC5644A Microcontroller Reference Manual, Rev. 6
1384
Freescale Semiconductor
31.4.6.5.5
Slave-not-responding-error detection
The Slave-Not-Responding-Error is defined in
LIN Specification Package Revision 1.3; December 12,
; 6 ERROR AND EXCEPTION HANDLING. The LIN specification requires that a
NO_RESPONSE_ERROR has to be detected if a message frame is not fully completed within the
maximum length T
FRAME_MAX
by any slave task upon transmission of the SYNCH and IDENTIFIER
fields. The maximum frame length TFRAME_MAX is defined in
LIN Specification Package Revision
; 3.3 LENGTH OF MESSAGE FRAME AND BUS SLEEP DETECT, as
Eqn. 31-11
where N
DATA
is the number of data byte fields of the message frame.
The STO interrupt flag in the
Interrupt Flag and Status Register 2 (eSCI_IFSR2)
will be set, if an LIN RX
frame was not fully received in the amount of time specified in the timeout value field TO in the
. The time period starts with the falling edge of the transmitted LIN break
character and is specified in units of transmit bits.
To achieve LIN compliant Slave-Not-Responding-Error detection, the timeout value TO in the
field has to be set to T
FRAME_MAX
when a LIN RX frame is initiated.
31.4.6.5.6
Checksum error detection
If the checksum enable bit CSE in the
LIN transmit register (eSCI_LTR)
was set, the checksum checking
is performed based on the received checksum byte. The checksum mode is selected by the CSM bit in the
LIN transmit register (eSCI_LTR)
. If the value received in the checksum bytes did not match the calculated
checksum, the checksum error flag CKERR in the
Interrupt Flag and Status Register 2 (eSCI_IFSR2)
will
be set.
31.4.6.5.7
CRC error detection
The CRC checking is performed on the two received CRC bytes CRC1 and CRC2 if the CRC Enhanced
LIN frame format was selected by the CRC bit in the
LIN transmit register (eSCI_LTR)
. If the value
received in the two CRC bytes did not match the calculated CRC pattern, the CRC error flag CERR in the
Interrupt Flag and Status Register 2 (eSCI_IFSR2)
will be set.
31.4.6.5.8
Overflow detection
When the receiver has received the next byte field, which should be transferred into the
, but neither the application nor the RX DMA channel have read data from this
register since the last update, the received data overflow flag OVFL in the
will be set. In this case the content of the
LIN receive register (eSCI_LRR)
is
not changed. The data received most recently are lost.
31.4.6.6
LIN wake up
The section describes the LIN Wake Up behavior of the eSCI module.
T
FRAME_MAX
10 N
DATA
45
+
1.4
=
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...