LIN Protocols

This section documents the LIN (Local Interconnect Network) protocol specifications for various devices commonly found in motorhomes and RVs.

LIN Protocol Overview

LIN (Local Interconnect Network) is a serial network protocol used for communication between electronic components in vehicles and other applications. It provides a cost-effective solution for connecting devices that don’t require the full complexity of CAN bus.

Technical Specifications

  • Baud Rate: 19,200 bps (standard for most automotive applications)
  • Bus Architecture: Single-wire plus ground
  • Topology: Master-slave with up to 16 slave nodes
  • Frame Format: Header (master) + Response (slave)
  • Data Length: 2, 4, or 8 bytes per frame

LIN Diagnostic Frames

LIN protocol includes standardized diagnostic frames for device discovery and identification. These frames are used by CI devices for automatic device detection.

Frame IDs

  • 0x3C: Master Request Frame (diagnostic requests from master to slaves)
  • 0x3D: Slave Response Frame (diagnostic responses from slaves to master)

Both frames always contain 8 data bytes.

Read By Identifier (SID 0xB2)

The most common diagnostic service for device discovery. The master sends a request to read product identification from slave nodes.

Request Frame (0x3C):

ByteFieldDescription
0NADNode Address - target device address
1PCIProtocol Control Information (0x06 for single frame, 6 data bytes)
2SIDService Identifier (0xB2 = Read By Identifier)
3Identifier0x00 = Product Info, 0x01 = Serial Number, 0x20-0x3F = User defined
4Data 1Supplier ID LSB (little-endian)
5Data 2Supplier ID MSB
6Data 3Function ID LSB (little-endian)
7Data 4Function ID MSB

Response Frame (0x3D) for Product Info (Identifier 0x00):

ByteFieldDescription
0NADNode Address - responding device
1PCI0x06 (single frame, 6 data bytes)
2RSIDResponse SID (0xF2 = positive response to 0xB2)
3Data 1Supplier ID LSB
4Data 2Supplier ID MSB
5Data 3Function ID LSB
6Data 4Function ID MSB
7Data 5Variant ID

LIN Product Identification Fields:

  • Supplier ID (16-bit): Assigned by LIN Consortium to each manufacturer
  • Function ID (16-bit): Device type identifier (assigned by supplier)
  • Variant ID (8-bit): Product variant identifier

Known Supplier IDs

Supplier IDManufacturer
0x1234Dometic
0x1987Votronic
0x41DEAlde
0x4617Truma
0x55BEBüttner
0x7468Thetford

Positive Response: RSID = SID + 0x40 (e.g., 0xB2 + 0x40 = 0xF2)

Checksum: Diagnostic frames (0x3C-0x3F) use classic checksum (sum of data bytes only, PID excluded).

Protocol References