User manual

LIN Serial Analyser PC Program
© 2008 Microchip Technology Inc. DS51675B-page 13
3.3.7 Errors
This field displays any of the error types described in this section. If multiple errors are
detected, only one is displayed.
3.3.7.1 PARITY
The parity is calculated on the frame identifier bits as shown in Equation 3-1.
EQUATION 3-1: PARITY CALCULATIONS
3.3.7.2 TX BIT
A slave or master node that is transmitting a bit on the bus also monitors the bus. A TX
bit error is when the bit or byte value that is received is different from the bit or byte
value that is transmitted.
3.3.7.3 CHECKSUM
A checksum error is when the inverted modulo-256 sum over all received data bytes
and the protected identifier (when using enhanced checksum) and the received
checksum byte field does not result in $FF.
3.3.7.4 FRAMING
A byte field framing error is when the ninth bit after a valid Start bit is dominant. This
check does not apply to the Break character.
3.3.7.5 NO ANSWER
This value displays when a new Break/Sync/ID header was detected, but no data was
received within the bus time-out period.
3.3.7.6 BREAK
This displays when data characters were received before a valid Sync Break header
was detected.
3.3.7.7 BUS TIME-OUT
This value indicates that the time interval allocated for an eight-byte message expired.
This time is set to approximately 140% of a single bit time.
The time-out may also be configured to a fixed value not dependent on baud rate.
3.3.7.8 SWBREAK
This value displays when a valid Sync Break is not detected by the UART. A Break was
“assumed” because the first byte received was 0x00, but without a framing error.
P0 = ID0 ℘? ID1 ℘? ID2 ℘?
P1 = - (ID1 ℘? ID3 ℘? ID4 ℘? I
P0 is bit 6 and P1 is bit 7 of the ID byte.
Note: This function is not currently implemented.
Note: This function is not currently implemented.
Note: This function is not currently implemented.
Note: This function is not currently implemented.