)
(
5
4
3
1
1
)
(
4
2
1
0
0
P a rity
o d d
ID
ID
ID
ID
P
P a rity
e v e n
ID
ID
ID
ID
P
Å
Å
Å
=
Å
Å
Å
=
BIT MONITOR
SCITXSHF
0
7
T
X
GND
VBAT
SCIRXSHF
=
RX
0
7
LIN BUS
Bit-Error Flag
Bit-Error Int. (if enabled)
Bus-Error Flag
Bus-Error Int. (if enabled)
ID
PARITY
CHECKER
CHECKSUM
CALCULATOR
Checksum-Error Flag
Checksum-Error Int.
(if enabled)
ID-Parity-Error
ID-Parity Error Flag
ID-Pairty Interrupt
(if enabled)
LIN Communication Formats
1261
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Serial Communication Interface (SCI)/ Local Interconnect Network (LIN)
Module
25.7.8.1 Bit Errors
A bit error (BE) is detected at the bit time when the bit value that is monitored is different from the bit value
that is sent. A bit error is indicated by the BE flag in SCIFLR. After signaling a BE, the transmission is
aborted no later than the next byte. The bit monitor ensures that the transmitted bit in LINTX is the correct
value on the LIN bus by reading back on the LINRX pin as shown in
NOTE:
If BE Occurs due to New Header reception during a Slave Response, NRE/TIMEOUT flag
will not be set for the new Frame.
Figure 25-21. TXRX Error Detector
25.7.8.2 Physical Bus Errors
A Physical Bus Error (PBE) has to be detected by a master if no valid message can be generated on the
bus (Bus shorted to GND or VBAT). The bit monitor detects a PBE during the header transmission, if no
Synch Break can be generated (for example, because of a bus shortage to VBAT) or if no Synch break
Delimiter can be generated (for example, because of a bus shortage to GND). Once the Synch Break
Delimiter was validated, all other deviations between the monitored and the sent bit value are flagged as
Bit Errors (BE) for this frame.
25.7.8.3 ID Parity Errors
If parity is enabled, an ID parity error (PE) is detected if any of the two parity bits of the sent ID byte are
not equal to the calculated parity on the receiver node. The two parity bits are generated using the
following mixed parity algorithm.
(45)
If an ID-parity error is detected, the ID-parity error is flagged, and the received ID is not valid. See
for details.