Skip to content

LIN Auto Addressing (AA) Example

Overview

LIN Auto Addressing is used to assign/change NADs, read identification, and switch to normal data communication.

Verified Devices

Toomoss & Vector

Graphic

alt

Features

  • LIN device auto addressing

Files

  • lin_aa.ecb: project configuration
  • lin_aa.ts: TypeScript implementation script
  • README.md / README.zh.md: documentation

Usage

  1. Open lin_aa.ecb in EcuBus Pro
  2. Configure LIN hardware
    1. alt
  3. Before starting set variables:
    • LIN_AA.SupplierID (hex string), e.g. 7FFF or 0x7FFF
    • LIN_AA.NadTable (space-separated hex bytes), e.g. 01 02 03 04 11 aa
  4. Set LIN_AA.StartAA = 1 to start, 0 to stop
  5. Press c in console to print current SupplierID and NadTable in hex

Auto Addressing Sequence

  1. Assign NAD (init)
  2. Multiple Set NAD (follow NadTable order)
  3. Save
  4. Finish

References

  • LIN 2.2 Specification
  • EcuBus Pro User Manual