
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
=
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...