{"id":234225,"date":"2024-09-29T20:26:35","date_gmt":"2024-09-29T20:26:35","guid":{"rendered":"https:\/\/www.emtrion.de\/can-on-dimm-mx53-under-linux-2\/"},"modified":"2024-10-24T07:35:38","modified_gmt":"2024-10-24T07:35:38","slug":"can-on-dimm-mx53-under-linux-2","status":"publish","type":"page","link":"https:\/\/www.emtrion.de\/en\/can-on-dimm-mx53-under-linux-2\/","title":{"rendered":"CAN on DIMM-MX53 under Linux"},"content":{"rendered":"<h1><a id=\"flexcan\" name=\"flexcan\"><\/a>FlexCAN<\/h1>\n<div class=\"level1\">\n<p>The DIMM-MX537 features two CAN interfaces, both are accessible on the baseboards Lothron and Verno.<\/p>\n<p>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<pre class=\"uboot\">ifconfig can0 up<\/pre>\n<p>The Freescale FlexCAN driver can be configured using sysfs. You can set the bitrate (the device has to be down for this) using the sysfs file \/sys\/devices\/platform\/FlexCAN.0\/bitrate.<\/p>\n<p>For example:<\/p>\n<pre class=\"uboot\">echo 200000 [gt] \/sys\/devices\/platform\/FlexCAN.0\/bitrate<\/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=\"code\"># receive can data<\/pre>\n<pre class=\"uboot\">candump can0<\/pre>\n<pre class=\"code\"># send can data<\/pre>\n<pre class=\"uboot\">cansend can0 -i 45 01 02 03 04 05<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>FlexCAN The DIMM-MX537 features two CAN interfaces, both are accessible on the baseboards Lothron and Verno. 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 Freescale FlexCAN driver [&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-234225","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-MX53 under Linux - emtrion<\/title>\n<meta name=\"description\" content=\"CAN support on DIMM-MX53 under Linux: Two FlexCAN interfaces accessible via SocketCAN on Lothron and Verno baseboards. Configure and test with 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-mx53-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-MX53 under Linux - emtrion\" \/>\n<meta property=\"og:description\" content=\"CAN support on DIMM-MX53 under Linux: Two FlexCAN interfaces accessible via SocketCAN on Lothron and Verno baseboards. Configure and test with canutils.\" \/>\n<meta property=\"og:site_name\" content=\"emtrion\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-24T07:35:38+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-mx53-under-linux-2\\\/\",\"url\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/can-on-dimm-mx53-under-linux-2\\\/\",\"name\":\"CAN on DIMM-MX53 under Linux - emtrion\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/#website\"},\"datePublished\":\"2024-09-29T20:26:35+00:00\",\"dateModified\":\"2024-10-24T07:35:38+00:00\",\"description\":\"CAN support on DIMM-MX53 under Linux: Two FlexCAN interfaces accessible via SocketCAN on Lothron and Verno baseboards. Configure and test with canutils.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/can-on-dimm-mx53-under-linux-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.emtrion.de\\\/en\\\/can-on-dimm-mx53-under-linux-2\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.emtrion.de\\\/en\\\/can-on-dimm-mx53-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-MX53 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-MX53 under Linux - emtrion","description":"CAN support on DIMM-MX53 under Linux: Two FlexCAN interfaces accessible via SocketCAN on Lothron and Verno baseboards. Configure and test with 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-mx53-under-linux-2\/","og_locale":"en_US","og_type":"article","og_title":"CAN on DIMM-MX53 under Linux - emtrion","og_description":"CAN support on DIMM-MX53 under Linux: Two FlexCAN interfaces accessible via SocketCAN on Lothron and Verno baseboards. Configure and test with canutils.","og_site_name":"emtrion","article_modified_time":"2024-10-24T07:35:38+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-mx53-under-linux-2\/","url":"https:\/\/www.emtrion.de\/en\/can-on-dimm-mx53-under-linux-2\/","name":"CAN on DIMM-MX53 under Linux - emtrion","isPartOf":{"@id":"https:\/\/www.emtrion.de\/en\/#website"},"datePublished":"2024-09-29T20:26:35+00:00","dateModified":"2024-10-24T07:35:38+00:00","description":"CAN support on DIMM-MX53 under Linux: Two FlexCAN interfaces accessible via SocketCAN on Lothron and Verno baseboards. Configure and test with canutils.","breadcrumb":{"@id":"https:\/\/www.emtrion.de\/en\/can-on-dimm-mx53-under-linux-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.emtrion.de\/en\/can-on-dimm-mx53-under-linux-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.emtrion.de\/en\/can-on-dimm-mx53-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-MX53 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\/234225","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=234225"}],"version-history":[{"count":1,"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/pages\/234225\/revisions"}],"predecessor-version":[{"id":234226,"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/pages\/234225\/revisions\/234226"}],"wp:attachment":[{"href":"https:\/\/www.emtrion.de\/en\/wp-json\/wp\/v2\/media?parent=234225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}