🚗

LIN Bus Timing Calculator

Bit time, break field and frame time for a LIN bus.

Input
ℹ Each byte = 10 bits (1 start, 8 data, 1 stop); no parity in LIN.
Results
Bit Time—
Break Field—
Frame Time—
💡 Usage & Formula

Frame bits = 43 + 10·N (13 break + 10 sync + 10 PID + 10·N data + 10 checksum). break = 13/baud.

When you need it: Budgeting frame time and bus load for a LIN schedule table in automotive body electronics (mirrors, seats, HVAC flaps) where a master polls low-cost slaves.

Worked example: At 19200 bit/s, an 8-data-byte frame is roughly the header (~34 bit-times) plus response (8 bytes + checksum ≈ 90 bit-times) ≈ 124 bit-times ≈ 6.5 ms nominal. Allowing the spec's up-to-40% inter-byte space, budget about 9 ms per slot.

Tips & gotchas:

  • LIN tolerates roughly ±14% slave clock deviation, which is exactly why RC-oscillator nodes work without a crystal.
  • Maximum bit rate is 20 kbit/s; there is no high-speed LIN.
  • Keep the sum of all frame slots inside the schedule-table period, including the worst-case inter-byte spacing.
  • The break field must be at least 13 dominant bit-times so every slave detects frame start.
📖 References:LIN bus (Wikipedia)