{"id":448,"date":"2026-09-08T09:00:00","date_gmt":"2026-09-08T09:00:00","guid":{"rendered":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/"},"modified":"2026-10-15T20:43:59","modified_gmt":"2026-10-15T20:43:59","slug":"lin-a-single-wire-bus-that-runs-on-a-schedule","status":"publish","type":"post","link":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/","title":{"rendered":"LIN: a single-wire bus that runs on a schedule"},"content":{"rendered":"<p>Not every ECU needs CAN. A door module, a wiper or a headlight exchanges a few bytes now and then, and for those jobs the Local Interconnect Network, LIN, is cheaper: one wire, a simple transceiver and a microcontroller&#8217;s standard serial interface. In most applications LIN works as a sub-bus of CAN, often with the LIN commander built into the ECU that acts as the gateway.<\/p>\n<p>The LIN Consortium published the first specification as version 1.3. Version 2.0 followed in 2003, version 2.1 in 2006, and version 2.2A in 2010, after the consortium had closed. Since 2016 LIN has been an international standard, the ISO 17987 series, and several of its parts were updated in 2025. The new edition calls the two roles commander and responder, where earlier versions said master and slave.<\/p>\n<h2>One wire and a pull-up<\/h2>\n<p>A LIN cluster is one commander and up to 16 responders on a single wire. The commander pulls the line up to the vehicle&#8217;s battery voltage through a resistor, typically 1 k&Omega;, and a diode; each responder has a 30 k&Omega; pull-up built into its transceiver. With nobody transmitting, the bus sits high: the recessive state. A node sends a dominant bit by pulling the line low. Transceivers usually work from 9 to 18 V; a typical vehicle has a 12 V battery system, some larger vehicles 24 V. The bit rate goes up to 20 kbit\/s.<\/p>\n<p>Every byte on the bus is framed the way a serial port frames it: a dominant start bit, eight data bits with the least significant bit first, and a recessive stop bit. That is why a LIN node can use a microcontroller&#8217;s standard serial interface rather than a dedicated protocol controller.<\/p>\n<h2>The commander keeps the schedule<\/h2>\n<p>LIN has no arbitration, because only the commander starts frames. It works through a schedule table and opens every frame with a header:<\/p>\n<ul>\n<li><strong>Break:<\/strong> 13 dominant bit times, longer than any byte can produce, so every node recognizes the start of a frame, followed by a recessive break delimiter.<\/li>\n<li><strong>Sync byte, 0x55:<\/strong> alternating ones and zeros. Responders measure the bit time from its edges, which is how they keep in step without a crystal oscillator.<\/li>\n<li><strong>Protected identifier:<\/strong> a 6-bit frame ID plus two parity bits. IDs 0 to 59 carry signals, 60 and 61 carry diagnostics, 62 and 63 are reserved.<\/li>\n<\/ul>\n<p>The node that publishes that ID answers with the response: one to eight data bytes and a checksum. The publisher can be a responder or the commander itself, since the commander also runs a responder task. LIN 2.x uses the enhanced checksum, the inverted 8-bit sum with carry over the protected identifier and the data; the classic checksum covers the data only, and the diagnostic frames always use it.<\/p>\n<figure class=\"viz\" data-viz=\"lin-schedule\">\n<div class=\"viz-stage\" role=\"img\" aria-label=\"Animation: a commander and three responders on one LIN wire. The commander's schedule table sends a header for each slot, and the node that publishes the frame answers with data bytes and a checksum. The waveform below is drawn bit by bit.\"><\/div><figcaption>A commander and three responders on one LIN wire. The schedule has three slots: ID 0x10 published by responder 1, ID 0x21 by responder 2 and ID 0x0B by the commander itself. Every frame is drawn bit by bit, with the parity bits and the enhanced checksum computed as the standard defines them. Slowed down: at 19.2 kbit\/s one bit takes 52 &micro;s.<\/figcaption><\/figure>\n<p>Because responders only speak when the header asks them to, LIN traffic is fully predictable. The price is a single point of failure: if the commander stops, the whole cluster stops, which is one reason LIN is not used for safety-related communication. Besides the ordinary unconditional frames, LIN defines event-triggered and sporadic frames to save bandwidth for signals that change rarely, and diagnostic frames, always 8 bytes long, for configuration and diagnostics.<\/p>\n<h2>LIN on a test rig<\/h2>\n<p>On a hardware-in-the-loop rig, the simulator plays whichever side of the cluster is not on the bench. To test a responder, such as a door module, the rig runs the commander&#8217;s schedule and stands in for the other responders. To test the commander, for example a body controller that also acts as the CAN gateway, the rig answers as every responder it expects to find. The schedule, frames and signals come from the cluster&#8217;s LIN description file, so the rig follows the same definition as the vehicle.<\/p>\n<p>We integrate LIN into real-time systems with the same fault injection we use on CAN: responses that are missing or late, checksum and parity errors, and signals out of range, so you can see how the unit under test reacts. If you are bringing up a rig with LIN on it, <a href=\"https:\/\/jellai.com\/index.php\/contact\/\">get in touch<\/a>.<\/p>\n<h2>Sources<\/h2>\n<ul>\n<li>CAN in Automation, <a href=\"https:\/\/lin-cia.org\/standards\/\">LIN standards and specifications<\/a><\/li>\n<li>NI, <a href=\"https:\/\/www.ni.com\/en\/shop\/seamlessly-connect-to-third-party-devices-and-supervisory-system\/introduction-to-the-local-interconnect-network-lin-bus.html\">Introduction to the LIN Bus Protocol<\/a><\/li>\n<li>Texas Instruments, <a href=\"https:\/\/www.ti.com\/lit\/an\/slla383a\/slla383a.pdf\">LIN Protocol and Physical Layer Requirements<\/a>, SLLA383A<\/li>\n<li>Freescale Semiconductor (NXP), <a href=\"https:\/\/www.nxp.com\/docs\/en\/application-note\/AN2103.pdf\">LIN demonstration application note<\/a>, AN2103<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>LIN connects the small ECUs behind doors, wipers and headlights with one wire and one commander working through a schedule table. How a LIN frame is built, with an animation drawn bit by bit.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-448","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>LIN: a single-wire bus that runs on a schedule - Jell AI Corp<\/title>\n<meta name=\"description\" content=\"LIN connects the small ECUs behind doors, wipers and headlights with one wire and one commander working through a schedule table. How a LIN frame is built, with an animation drawn bit by bit.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LIN: a single-wire bus that runs on a schedule - Jell AI Corp\" \/>\n<meta property=\"og:description\" content=\"LIN connects the small ECUs behind doors, wipers and headlights with one wire and one commander working through a schedule table. How a LIN frame is built, with an animation drawn bit by bit.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/\" \/>\n<meta property=\"og:site_name\" content=\"Jell AI Corp\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-08T09:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-15T20:43:59+00:00\" \/>\n<meta name=\"author\" content=\"Ramesh Praveenkumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ramesh Praveenkumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jellai.com\\\/index.php\\\/2026\\\/09\\\/08\\\/lin-a-single-wire-bus-that-runs-on-a-schedule\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jellai.com\\\/index.php\\\/2026\\\/09\\\/08\\\/lin-a-single-wire-bus-that-runs-on-a-schedule\\\/\"},\"author\":{\"name\":\"Ramesh Praveenkumar\",\"@id\":\"https:\\\/\\\/jellai.com\\\/#\\\/schema\\\/person\\\/928abdc22c899b66be118e9521ad6816\"},\"headline\":\"LIN: a single-wire bus that runs on a schedule\",\"datePublished\":\"2026-09-08T09:00:00+00:00\",\"dateModified\":\"2026-10-15T20:43:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jellai.com\\\/index.php\\\/2026\\\/09\\\/08\\\/lin-a-single-wire-bus-that-runs-on-a-schedule\\\/\"},\"wordCount\":766,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/jellai.com\\\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jellai.com\\\/index.php\\\/2026\\\/09\\\/08\\\/lin-a-single-wire-bus-that-runs-on-a-schedule\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jellai.com\\\/index.php\\\/2026\\\/09\\\/08\\\/lin-a-single-wire-bus-that-runs-on-a-schedule\\\/\",\"url\":\"https:\\\/\\\/jellai.com\\\/index.php\\\/2026\\\/09\\\/08\\\/lin-a-single-wire-bus-that-runs-on-a-schedule\\\/\",\"name\":\"LIN: a single-wire bus that runs on a schedule - Jell AI Corp\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jellai.com\\\/#website\"},\"datePublished\":\"2026-09-08T09:00:00+00:00\",\"dateModified\":\"2026-10-15T20:43:59+00:00\",\"description\":\"LIN connects the small ECUs behind doors, wipers and headlights with one wire and one commander working through a schedule table. How a LIN frame is built, with an animation drawn bit by bit.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jellai.com\\\/index.php\\\/2026\\\/09\\\/08\\\/lin-a-single-wire-bus-that-runs-on-a-schedule\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jellai.com\\\/index.php\\\/2026\\\/09\\\/08\\\/lin-a-single-wire-bus-that-runs-on-a-schedule\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jellai.com\\\/index.php\\\/2026\\\/09\\\/08\\\/lin-a-single-wire-bus-that-runs-on-a-schedule\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/jellai.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LIN: a single-wire bus that runs on a schedule\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jellai.com\\\/#website\",\"url\":\"https:\\\/\\\/jellai.com\\\/\",\"name\":\"Jell AI Corp\",\"description\":\"Dare to know\",\"publisher\":{\"@id\":\"https:\\\/\\\/jellai.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jellai.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/jellai.com\\\/#organization\",\"name\":\"Jell AI Corp\",\"url\":\"https:\\\/\\\/jellai.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jellai.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/jellai.com\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/logo_individual_notext_lowres.png\",\"contentUrl\":\"https:\\\/\\\/jellai.com\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/logo_individual_notext_lowres.png\",\"width\":512,\"height\":512,\"caption\":\"Jell AI Corp\"},\"image\":{\"@id\":\"https:\\\/\\\/jellai.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jellai.com\\\/#\\\/schema\\\/person\\\/928abdc22c899b66be118e9521ad6816\",\"name\":\"Ramesh Praveenkumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e23aa25047d919f0a3ae790f2c7aa3350cda605afb908cdf65c6d76346c2fa3?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e23aa25047d919f0a3ae790f2c7aa3350cda605afb908cdf65c6d76346c2fa3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e23aa25047d919f0a3ae790f2c7aa3350cda605afb908cdf65c6d76346c2fa3?s=96&d=mm&r=g\",\"caption\":\"Ramesh Praveenkumar\"},\"sameAs\":[\"https:\\\/\\\/jellai.com\"],\"url\":\"https:\\\/\\\/jellai.com\\\/index.php\\\/author\\\/praveen\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LIN: a single-wire bus that runs on a schedule - Jell AI Corp","description":"LIN connects the small ECUs behind doors, wipers and headlights with one wire and one commander working through a schedule table. How a LIN frame is built, with an animation drawn bit by bit.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/","og_locale":"en_US","og_type":"article","og_title":"LIN: a single-wire bus that runs on a schedule - Jell AI Corp","og_description":"LIN connects the small ECUs behind doors, wipers and headlights with one wire and one commander working through a schedule table. How a LIN frame is built, with an animation drawn bit by bit.","og_url":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/","og_site_name":"Jell AI Corp","article_published_time":"2026-09-08T09:00:00+00:00","article_modified_time":"2026-10-15T20:43:59+00:00","author":"Ramesh Praveenkumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ramesh Praveenkumar","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/#article","isPartOf":{"@id":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/"},"author":{"name":"Ramesh Praveenkumar","@id":"https:\/\/jellai.com\/#\/schema\/person\/928abdc22c899b66be118e9521ad6816"},"headline":"LIN: a single-wire bus that runs on a schedule","datePublished":"2026-09-08T09:00:00+00:00","dateModified":"2026-10-15T20:43:59+00:00","mainEntityOfPage":{"@id":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/"},"wordCount":766,"commentCount":0,"publisher":{"@id":"https:\/\/jellai.com\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/","url":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/","name":"LIN: a single-wire bus that runs on a schedule - Jell AI Corp","isPartOf":{"@id":"https:\/\/jellai.com\/#website"},"datePublished":"2026-09-08T09:00:00+00:00","dateModified":"2026-10-15T20:43:59+00:00","description":"LIN connects the small ECUs behind doors, wipers and headlights with one wire and one commander working through a schedule table. How a LIN frame is built, with an animation drawn bit by bit.","breadcrumb":{"@id":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jellai.com\/index.php\/2026\/09\/08\/lin-a-single-wire-bus-that-runs-on-a-schedule\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jellai.com\/"},{"@type":"ListItem","position":2,"name":"LIN: a single-wire bus that runs on a schedule"}]},{"@type":"WebSite","@id":"https:\/\/jellai.com\/#website","url":"https:\/\/jellai.com\/","name":"Jell AI Corp","description":"Dare to know","publisher":{"@id":"https:\/\/jellai.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jellai.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jellai.com\/#organization","name":"Jell AI Corp","url":"https:\/\/jellai.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jellai.com\/#\/schema\/logo\/image\/","url":"https:\/\/jellai.com\/wp-content\/uploads\/2020\/07\/logo_individual_notext_lowres.png","contentUrl":"https:\/\/jellai.com\/wp-content\/uploads\/2020\/07\/logo_individual_notext_lowres.png","width":512,"height":512,"caption":"Jell AI Corp"},"image":{"@id":"https:\/\/jellai.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jellai.com\/#\/schema\/person\/928abdc22c899b66be118e9521ad6816","name":"Ramesh Praveenkumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7e23aa25047d919f0a3ae790f2c7aa3350cda605afb908cdf65c6d76346c2fa3?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7e23aa25047d919f0a3ae790f2c7aa3350cda605afb908cdf65c6d76346c2fa3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7e23aa25047d919f0a3ae790f2c7aa3350cda605afb908cdf65c6d76346c2fa3?s=96&d=mm&r=g","caption":"Ramesh Praveenkumar"},"sameAs":["https:\/\/jellai.com"],"url":"https:\/\/jellai.com\/index.php\/author\/praveen\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/jellai.com\/index.php\/wp-json\/wp\/v2\/posts\/448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jellai.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jellai.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jellai.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jellai.com\/index.php\/wp-json\/wp\/v2\/comments?post=448"}],"version-history":[{"count":1,"href":"https:\/\/jellai.com\/index.php\/wp-json\/wp\/v2\/posts\/448\/revisions"}],"predecessor-version":[{"id":457,"href":"https:\/\/jellai.com\/index.php\/wp-json\/wp\/v2\/posts\/448\/revisions\/457"}],"wp:attachment":[{"href":"https:\/\/jellai.com\/index.php\/wp-json\/wp\/v2\/media?parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jellai.com\/index.php\/wp-json\/wp\/v2\/categories?post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jellai.com\/index.php\/wp-json\/wp\/v2\/tags?post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}