LIN protected ID & checksum calculator
Calculate or validate identifier parity and classic or enhanced LIN checksums, including the diagnostic-frame checksum rule.
Your result
ON YOUR DEVICEEnter your inputs and calculate to see the result.
Verify parity and checksum together.
The PID contains six ID bits and two parity bits. A received PID is checked without hiding a parity error. Diagnostic IDs 60 and 61 always use the classic checksum, even if enhanced is selected. Other defined frames use the chosen model. Identifiers 62 and 63 are reserved.
P0 = ID0 XOR ID1 XOR ID2 XOR ID4
P1 = NOT(ID1 XOR ID3 XOR ID4 XOR ID5)
Checksum = inverted end-around-carry sum