how to know what lin version a slave node is using

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to know what lin version a slave node is using

508 Views
robertwillich
Contributor I

Is there a way to detect what version of lin (1 or 2) a slave node is using ?

Labels (1)
0 Kudos
1 Reply

339 Views
RadekS
NXP Employee
NXP Employee

Hi Robert,

The one of the biggest change between LIN1.3 and LIN2.0 was adding an enhanced checksum and diagnostic.

 

The classic checksum is checksum model used in the LIN specification versions up to version 1.3 for all frames. In LIN 2.x it is used only for the diagnostic frames. The classic checksum considers the data bytes only.

 

The enhanced checksum is checksum model used in the LIN specification versions starting from LIN 2.0 for all frames, except the diagnostic frames. The enhanced checksum includes the PID and the data bytes.

Frame identifiers 60 (0x3C) to 61 (0x3D) shall always use classic checksum.

 

If your LIN2.x master node is able to communicate with LIN slave with frame identifiers different from 0x3C or 0x3D, the LIN slave is LIN2.x compatible. The problem with the checksum at such frame identifiers may point to incompatible LIN versions.

I hope it helps you.

Have a great day,
Radek

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos