{"id":234209,"date":"2024-09-29T20:26:35","date_gmt":"2024-09-29T20:26:35","guid":{"rendered":"https:\/\/www.emtrion.de\/can-on-dimm-mx6-emcon-mx6-under-linux-2\/"},"modified":"2024-10-24T07:35:37","modified_gmt":"2024-10-24T07:35:37","slug":"can-on-dimm-mx6-emcon-mx6-under-linux-2","status":"publish","type":"page","link":"https:\/\/www.emtrion.de\/en\/can-on-dimm-mx6-emcon-mx6-under-linux-2\/","title":{"rendered":"CAN on DIMM-MX6 \/ emCON-MX6 under Linux"},"content":{"rendered":"<p>The DIMM-MX6 \/ emCON-MX6 features two CAN interfaces. The driver interface complies to the SocketCAN interface. There is general documentation for SocketCAN available in the Linux kernel tree at .\/Documentation\/networking\/can.txt.<\/p>\n<p>For basic testing you can initialize the can0 interface using:<\/p>\n<p>ifconfig can0 up<\/p>\n<p>The configuration of the can module is done by ip commands.<\/p>\n<p>Example of setting the bitrate:<\/p>\n<pre class=\"uboot\">ip link set can0 type can bitrate 100000<\/pre>\n<p>The commands &#8216;cansend&#8217; and &#8216;candump&#8217; can be used to send or receive data on a specific can interface. They are contained in canutils package.<\/p>\n<p>For example:<\/p>\n<pre class=\"uboot\"># receive can data<br>candump can0<\/pre>\n<\/p>\n<pre class=\"uboot\"># send can data<br>cansend can0 -i 45 01 02 03 04 05<\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The DIMM-MX6 \/ emCON-MX6 features two CAN interfaces. The driver interface complies to the SocketCAN interface. There is general documentation for SocketCAN available in the Linux kernel tree at .\/Documentation\/networking\/can.txt. For basic testing you can initialize the can0 interface using: ifconfig can0 up The configuration of the can module is done by ip commands. Example [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-234209","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CAN on DIMM-MX6 \/ emCON-MX6 under Linux - emtrion<\/title>\n<meta name=\"description\" content=\"CAN support on DIMM-MX6 \/ emCON-MX6 under Linux: Two CAN interfaces via SocketCAN. Configuration with ip commands, testing using canutils.\" \/>\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.emtrion.de\/en\/can-on-dimm-mx6-emcon-mx6-under-linux-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CAN on DIMM-MX6 \/ emCON-MX6 under Linux - emtrion\" \/>\n<meta property=\"og:description\" content=\"CAN support on DIMM-MX6 \/ emCON-MX6 under Linux: Two CAN interfaces via SocketCAN. Configuration with ip commands, testing using canutils.\" \/>\n<meta property=\"og:site_name\" content=\"emtrion\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-24T07:35:37+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/can-on-dimm-mx6-emcon-mx6-under-linux-2\\\/\",\"url\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/can-on-dimm-mx6-emcon-mx6-under-linux-2\\\/\",\"name\":\"CAN on DIMM-MX6 \\\/ emCON-MX6 under Linux - emtrion\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/#website\"},\"datePublished\":\"2024-09-29T20:26:35+00:00\",\"dateModified\":\"2024-10-24T07:35:37+00:00\",\"description\":\"CAN support on DIMM-MX6 \\\/ emCON-MX6 under Linux: Two CAN interfaces via SocketCAN. Configuration with ip commands, testing using canutils.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/can-on-dimm-mx6-emcon-mx6-under-linux-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.emtrion.de\\\/en\\\/can-on-dimm-mx6-emcon-mx6-under-linux-2\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/can-on-dimm-mx6-emcon-mx6-under-linux-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CAN on DIMM-MX6 \\\/ emCON-MX6 under Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/\",\"name\":\"emtrion\",\"description\":\"Embedded Software and Hardware Development\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CAN on DIMM-MX6 \/ emCON-MX6 under Linux - emtrion","description":"CAN support on DIMM-MX6 \/ emCON-MX6 under Linux: Two CAN interfaces via SocketCAN. Configuration with ip commands, testing using canutils.","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.emtrion.de\/en\/can-on-dimm-mx6-emcon-mx6-under-linux-2\/","og_locale":"en_US","og_type":"article","og_title":"CAN on DIMM-MX6 \/ emCON-MX6 under Linux - emtrion","og_description":"CAN support on DIMM-MX6 \/ emCON-MX6 under Linux: Two CAN interfaces via SocketCAN. Configuration with ip commands, testing using canutils.","og_site_name":"emtrion","article_modified_time":"2024-10-24T07:35:37+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.emtrion.de\/en\/can-on-dimm-mx6-emcon-mx6-under-linux-2\/","url":"https:\/\/www.emtrion.de\/en\/can-on-dimm-mx6-emcon-mx6-under-linux-2\/","name":"CAN on DIMM-MX6 \/ emCON-MX6 under Linux - emtrion","isPartOf":{"@id":"https:\/\/www.emtrion.de\/en\/#website"},"datePublished":"2024-09-29T20:26:35+00:00","dateModified":"2024-10-24T07:35:37+00:00","description":"CAN support on DIMM-MX6 \/ emCON-MX6 under Linux: Two CAN interfaces via SocketCAN. Configuration with ip commands, testing using canutils.","breadcrumb":{"@id":"https:\/\/www.emtrion.de\/en\/can-on-dimm-mx6-emcon-mx6-under-linux-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.emtrion.de\/en\/can-on-dimm-mx6-emcon-mx6-under-linux-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.emtrion.de\/en\/can-on-dimm-mx6-emcon-mx6-under-linux-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.emtrion.de\/en\/"},{"@type":"ListItem","position":2,"name":"CAN on DIMM-MX6 \/ emCON-MX6 under Linux"}]},{"@type":"WebSite","@id":"https:\/\/www.emtrion.de\/en\/#website","url":"https:\/\/www.emtrion.de\/en\/","name":"emtrion","description":"Embedded Software and Hardware Development","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.emtrion.de\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/pages\/234209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/comments?post=234209"}],"version-history":[{"count":1,"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/pages\/234209\/revisions"}],"predecessor-version":[{"id":234210,"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/pages\/234209\/revisions\/234210"}],"wp:attachment":[{"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/media?parent=234209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}