{"id":1150,"date":"2023-04-06T16:24:26","date_gmt":"2023-04-06T14:24:26","guid":{"rendered":"http:\/\/www.embedded-communication.com\/?p=1150"},"modified":"2023-04-19T16:09:30","modified_gmt":"2023-04-19T14:09:30","slug":"the-esi-bit-in-can-fd-messages","status":"publish","type":"post","link":"https:\/\/www.embedded-communication.com\/en\/misc\/the-esi-bit-in-can-fd-messages\/","title":{"rendered":"The ESI bit in CAN FD messages"},"content":{"rendered":"<p>The ESI bit is a special bit in the CAN FD message. It is located after the BRS bit.<br \/>\n<!--more--><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit.png\" alt=\"CAN FD Logging in CANopen DeviceExplorer mit Hervorhebung des ESI Bits\" width=\"1812\" height=\"577\" class=\"alignnone size-full wp-image-1151\" srcset=\"https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit.png 1812w, https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit-300x96.png 300w, https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit-1024x326.png 1024w, https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit-768x245.png 768w, https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit-1536x489.png 1536w, https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit-1200x382.png 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><br \/>\n<br \/>\nAs shown in the CAN FD logging above, there is one CAN FD message where the ESI bit is set.<br \/>\nThe ESI bit indicates that a specific node, the producer of the CAN FD message, is currently in the &#8220;error passive&#8221; state.<br \/>\nIn the example above the situation has been provoked by removing the CAN cable while the node was cyclically transmitting CAN messages. Without any other node in the network, the CAN FD message is not acknowledge and the TX error counter of the device has exceed 127, so the CAN FD controller entered the state &#8216;error passive&#8217;.<br \/>\nAfter the CAN cable has been reconnected after approx. 4s, the 1st CAN FD message was sent with the ESI bit active.<br \/>\nThere could be more then 1 message with an ESI bit, depending how many CAN errors occur when the cables are reconnected. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit_detail.png\" alt=\"Ausschnitt aus CAN FD Logging in CANopen DeviceExplorer mit Hervorhebung des ESI Bits\" width=\"989\" height=\"441\" class=\"alignnone size-full wp-image-1156\" srcset=\"https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit_detail.png 989w, https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit_detail-300x134.png 300w, https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit_detail-768x342.png 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>This transmission was successfully acknowledged and thus the error counter was decreased again and the ESI bit was reset.<\/p>\n<p>The CAN FD logging was created using a CANopen FD example from emotas and the <a href=\"https:\/\/www.emotas.de\/en\/produkte\/canopen-device-explorer\">CANopen DeviceExlorer<\/a>.<\/p>\n<p>In the CAN frame the ESI bit itself is transmitted after the BRS (bit rate Switch) bit within the data phase of the transmission. Thus it is not possible anymore that 2 CAN FD message with the same CAN-ID and the same data are sent at the very same time by multiple transmissions. Different values of the ESI bit will cause a conflict in the data phase and thus to an bit error that leads to an error frame.<br \/>\n<\/p>","protected":false},"excerpt":{"rendered":"<p>The ESI bit is a special bit in the CAN FD message. It is located after the BRS bit.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-1150","post","type-post","status-publish","format-standard","hentry","category-misc"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The ESI bit in CAN FD messages - embedded communication<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The ESI bit in CAN FD messages - embedded communication\" \/>\n<meta property=\"og:description\" content=\"The ESI bit is a special bit in the CAN FD message. It is located after the BRS bit.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/\" \/>\n<meta property=\"og:site_name\" content=\"embedded communication\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-06T14:24:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-19T14:09:30+00:00\" \/>\n<meta name=\"author\" content=\"Torsten Gedenk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EmbeddedComm\" \/>\n<meta name=\"twitter:site\" content=\"@EmbeddedComm\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Torsten Gedenk\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/\"},\"author\":{\"name\":\"Torsten Gedenk\",\"@id\":\"http:\/\/www.embedded-communication.com\/#\/schema\/person\/8f0fcf033edee00b06d4dd4cf196680e\"},\"headline\":\"The ESI bit in CAN FD messages\",\"datePublished\":\"2023-04-06T14:24:26+00:00\",\"dateModified\":\"2023-04-19T14:09:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/\"},\"wordCount\":283,\"publisher\":{\"@id\":\"http:\/\/www.embedded-communication.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit.png\",\"articleSection\":[\"Misc\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/\",\"url\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/\",\"name\":\"The ESI bit in CAN FD messages - embedded communication\",\"isPartOf\":{\"@id\":\"http:\/\/www.embedded-communication.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit.png\",\"datePublished\":\"2023-04-06T14:24:26+00:00\",\"dateModified\":\"2023-04-19T14:09:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#primaryimage\",\"url\":\"http:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit.png\",\"contentUrl\":\"http:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"http:\/\/www.embedded-communication.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"(English) The ESI bit in CAN FD messages\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.embedded-communication.com\/#website\",\"url\":\"http:\/\/www.embedded-communication.com\/\",\"name\":\"embedded communication\",\"description\":\"A blog about embedded communcation protocols.\",\"publisher\":{\"@id\":\"http:\/\/www.embedded-communication.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.embedded-communication.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/www.embedded-communication.com\/#organization\",\"name\":\"embedded communication\",\"url\":\"http:\/\/www.embedded-communication.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.embedded-communication.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2016\/08\/embedded-communication.png\",\"contentUrl\":\"https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2016\/08\/embedded-communication.png\",\"width\":240,\"height\":240,\"caption\":\"embedded communication\"},\"image\":{\"@id\":\"http:\/\/www.embedded-communication.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/EmbeddedComm\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.embedded-communication.com\/#\/schema\/person\/8f0fcf033edee00b06d4dd4cf196680e\",\"name\":\"Torsten Gedenk\",\"url\":\"https:\/\/www.embedded-communication.com\/en\/author\/ged\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The ESI bit in CAN FD messages - embedded communication","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:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/","og_locale":"en_US","og_type":"article","og_title":"The ESI bit in CAN FD messages - embedded communication","og_description":"The ESI bit is a special bit in the CAN FD message. It is located after the BRS bit.","og_url":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/","og_site_name":"embedded communication","article_published_time":"2023-04-06T14:24:26+00:00","article_modified_time":"2023-04-19T14:09:30+00:00","author":"Torsten Gedenk","twitter_card":"summary_large_image","twitter_creator":"@EmbeddedComm","twitter_site":"@EmbeddedComm","twitter_misc":{"Written by":"Torsten Gedenk","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#article","isPartOf":{"@id":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/"},"author":{"name":"Torsten Gedenk","@id":"http:\/\/www.embedded-communication.com\/#\/schema\/person\/8f0fcf033edee00b06d4dd4cf196680e"},"headline":"The ESI bit in CAN FD messages","datePublished":"2023-04-06T14:24:26+00:00","dateModified":"2023-04-19T14:09:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/"},"wordCount":283,"publisher":{"@id":"http:\/\/www.embedded-communication.com\/#organization"},"image":{"@id":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#primaryimage"},"thumbnailUrl":"http:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit.png","articleSection":["Misc"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/","url":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/","name":"The ESI bit in CAN FD messages - embedded communication","isPartOf":{"@id":"http:\/\/www.embedded-communication.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#primaryimage"},"image":{"@id":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#primaryimage"},"thumbnailUrl":"http:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit.png","datePublished":"2023-04-06T14:24:26+00:00","dateModified":"2023-04-19T14:09:30+00:00","breadcrumb":{"@id":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#primaryimage","url":"http:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit.png","contentUrl":"http:\/\/www.embedded-communication.com\/wp-content\/uploads\/2023\/04\/emotas_cde_canfd_esi_bit.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.embedded-communication.com\/misc\/the-esi-bit-in-can-fd-messages\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"http:\/\/www.embedded-communication.com\/"},{"@type":"ListItem","position":2,"name":"(English) The ESI bit in CAN FD messages"}]},{"@type":"WebSite","@id":"http:\/\/www.embedded-communication.com\/#website","url":"http:\/\/www.embedded-communication.com\/","name":"embedded communication","description":"A blog about embedded communcation protocols.","publisher":{"@id":"http:\/\/www.embedded-communication.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.embedded-communication.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/www.embedded-communication.com\/#organization","name":"embedded communication","url":"http:\/\/www.embedded-communication.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.embedded-communication.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2016\/08\/embedded-communication.png","contentUrl":"https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2016\/08\/embedded-communication.png","width":240,"height":240,"caption":"embedded communication"},"image":{"@id":"http:\/\/www.embedded-communication.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/EmbeddedComm"]},{"@type":"Person","@id":"http:\/\/www.embedded-communication.com\/#\/schema\/person\/8f0fcf033edee00b06d4dd4cf196680e","name":"Torsten Gedenk","url":"https:\/\/www.embedded-communication.com\/en\/author\/ged\/"}]}},"_links":{"self":[{"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/posts\/1150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/comments?post=1150"}],"version-history":[{"count":8,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/posts\/1150\/revisions"}],"predecessor-version":[{"id":1160,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/posts\/1150\/revisions\/1160"}],"wp:attachment":[{"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/media?parent=1150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/categories?post=1150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/tags?post=1150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}