<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CAN-FD communication driver</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/14aed31dc3/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/14aed31dc3/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/14aed31dc3/</id><updated>2022-12-22T10:15:58.343000Z</updated><subtitle>Recent posts to CAN-FD communication driver</subtitle><entry><title>CAN-FD communication driver</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/14aed31dc3/?limit=25#942c/2080/9db7" rel="alternate"/><published>2022-12-22T10:15:58.343000Z</published><updated>2022-12-22T10:15:58.343000Z</updated><author><name>eeyrsja</name><uri>https://forge.codesys.com/u/eeyrsja/</uri></author><id>https://forge.codesys.comde3b3b120e7aba19940b9c186928c17b9b5a3c0c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Many thanks for the response. I had come to a similar conclusion.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAN-FD communication driver</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/14aed31dc3/?limit=25#942c/2080/e4a8" rel="alternate"/><published>2022-12-22T10:15:54.254000Z</published><updated>2022-12-22T10:15:54.254000Z</updated><author><name>eeyrsja</name><uri>https://forge.codesys.com/u/eeyrsja/</uri></author><id>https://forge.codesys.com96e566c57798c7e12b68c2254a21ab84de6b555e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Many thanks for the response. I had come to a similar conclusion.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAN-FD communication driver</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/14aed31dc3/?limit=25#942c/2080" rel="alternate"/><published>2022-12-22T10:05:00.406000Z</published><updated>2022-12-22T10:05:00.406000Z</updated><author><name>macieksz</name><uri>https://forge.codesys.com/u/macieksz/</uri></author><id>https://forge.codesys.comc6a00790f864efe1d62df3f06dc4dd1e973040cf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Unsuccessful. We use Can 2.0b&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAN-FD communication driver</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/14aed31dc3/?limit=25#942c" rel="alternate"/><published>2022-12-22T09:57:19.957000Z</published><updated>2022-12-22T09:57:19.957000Z</updated><author><name>eeyrsja</name><uri>https://forge.codesys.com/u/eeyrsja/</uri></author><id>https://forge.codesys.comb1d87f4ff98485cf84b04ada658e936b4d080f20</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello &lt;a class="user-mention" href="/u/macieksz/"&gt;@macieksz&lt;/a&gt;, did you find a solution to your requirement? I'd also like to get a CAN-FD operational on Raspberry Pi with CODESYS. Do you have any suggestions? Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAN-FD communication driver</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/14aed31dc3/?limit=25#77da" rel="alternate"/><published>2022-08-22T20:33:45.886000Z</published><updated>2022-08-22T20:33:45.886000Z</updated><author><name>DavidBo</name><uri>https://forge.codesys.com/u/davidbo/</uri></author><id>https://forge.codesys.com269374f29803a416bf06d6f78755ea30039b7323</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If it is raspberry pi why not just modify&lt;br/&gt;
/opt/codesys/scripts&lt;br/&gt;
so it sets up with&lt;br/&gt;
ip link set DEVICE type can fd on&lt;br/&gt;
maybe CODESYS will work with that? I don't know but give it a try&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAN-FD communication driver</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/14aed31dc3/?limit=25#fb22" rel="alternate"/><published>2022-08-22T15:12:33.320000Z</published><updated>2022-08-22T15:12:33.320000Z</updated><author><name>macieksz</name><uri>https://forge.codesys.com/u/macieksz/</uri></author><id>https://forge.codesys.com7d6cc2570bde83bd5cc1167a83f63918ed5661ca</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We have Raspberry PI with the MCP2518FD chip to connect with CAN-FD devices.&lt;br/&gt;
We already know that CodeSys doesn't support CAN-FD natively.&lt;/p&gt;
&lt;p&gt;Linux System support this chip in kernel, CAN linux interface is visible.&lt;br/&gt;
We can operate with CAN-FD devices using cansend and canread commands.&lt;br/&gt;
We can also create own application using socketcan linux library, and averything works fine.&lt;/p&gt;
&lt;p&gt;We need to pass CAN-FD frames TO and FROM CodeSys with about 1kHz frequency and low latency.&lt;br/&gt;
What is the best option to make this project as good as possible?&lt;/p&gt;
&lt;p&gt;a) Try to read CAN-FD frames in external CPP application using socketcan and pass it to CodeSys using udp/serial/shared memory? &lt;br/&gt;
b) Somehow read frames directly in the CodeSys by creating own module?&lt;br/&gt;
c) use C extension module to get communication with CanFD using socketcan?&lt;br/&gt;
d) write MCP2518FD driver directly in CodeSys using SPI?&lt;br/&gt;
e) other?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>