<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Connect Omega2 to CanBus]]></title><description><![CDATA[<p dir="auto">hi<br />
I am looking to connect the Omega2 to a CanBus (both read and write).<br />
I have seen that there are modules available for arduino, but cannot find anything for Omega2.<br />
Any ideas on how to do this ?</p>
]]></description><link>http://community.onion.io/topic/1853/connect-omega2-to-canbus</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 07:10:03 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/1853.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Mar 2017 23:55:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Connect Omega2 to CanBus on Mon, 20 Mar 2017 23:55:34 GMT]]></title><description><![CDATA[<p dir="auto">hi<br />
I am looking to connect the Omega2 to a CanBus (both read and write).<br />
I have seen that there are modules available for arduino, but cannot find anything for Omega2.<br />
Any ideas on how to do this ?</p>
]]></description><link>http://community.onion.io/post/12258</link><guid isPermaLink="true">http://community.onion.io/post/12258</guid><dc:creator><![CDATA[Michael Bock]]></dc:creator><pubDate>Mon, 20 Mar 2017 23:55:34 GMT</pubDate></item><item><title><![CDATA[Reply to Connect Omega2 to CanBus on Tue, 21 Mar 2017 00:16:59 GMT]]></title><description><![CDATA[<p dir="auto">Well looks like you would need to build some <a href="http://www.interfacebus.com/CAN-Bus-Description-Vendors-Canbus-Protocol.html" rel="nofollow">sort of interface</a> to talk over the UART on the Omega but aside that on the software side seems there is something in LEDE.</p>
<blockquote>
<p dir="auto">canutils - 0e3ff3b3-2 - CAN userspace utilities and tools<br />
canutils-asc2log - 0e3ff3b3-2 - Utility asc2log from the CAN utilities package.<br />
canutils-bcmserver - 0e3ff3b3-2 - Utility bcmserver from the CAN utilities package.<br />
canutils-can-calc-bit-timing - 0e3ff3b3-2 - Utility can-calc-bit-timing from the CAN utilities package.<br />
canutils-canbusload - 0e3ff3b3-2 - Utility canbusload from the CAN utilities package.<br />
canutils-candump - 0e3ff3b3-2 - Utility candump from the CAN utilities package.<br />
canutils-canfdtest - 0e3ff3b3-2 - Utility canfdtest from the CAN utilities package.<br />
canutils-cangen - 0e3ff3b3-2 - Utility cangen from the CAN utilities package.<br />
canutils-cangw - 0e3ff3b3-2 - Utility cangw from the CAN utilities package.<br />
canutils-canlogserver - 0e3ff3b3-2 - Utility canlogserver from the CAN utilities package.<br />
canutils-canplayer - 0e3ff3b3-2 - Utility canplayer from the CAN utilities package.<br />
canutils-cansend - 0e3ff3b3-2 - Utility cansend from the CAN utilities package.<br />
canutils-cansniffer - 0e3ff3b3-2 - Utility cansniffer from the CAN utilities package.<br />
canutils-isotpdump - 0e3ff3b3-2 - Utility isotpdump from the CAN utilities package.<br />
canutils-isotpperf - 0e3ff3b3-2 - Utility isotpperf from the CAN utilities package.<br />
canutils-isotprecv - 0e3ff3b3-2 - Utility isotprecv from the CAN utilities package.<br />
canutils-isotpsend - 0e3ff3b3-2 - Utility isotpsend from the CAN utilities package.<br />
canutils-isotpserver - 0e3ff3b3-2 - Utility isotpserver from the CAN utilities package.<br />
canutils-isotpsniffer - 0e3ff3b3-2 - Utility isotpsniffer from the CAN utilities package.<br />
canutils-isotptun - 0e3ff3b3-2 - Utility isotptun from the CAN utilities package.<br />
canutils-log2asc - 0e3ff3b3-2 - Utility log2asc from the CAN utilities package.<br />
canutils-log2long - 0e3ff3b3-2 - Utility log2long from the CAN utilities package.<br />
canutils-slcan_attach - 0e3ff3b3-2 - Utility slcan_attach from the CAN utilities package.<br />
canutils-slcand - 0e3ff3b3-2 - Utility slcand from the CAN utilities package.<br />
canutils-slcanpty - 0e3ff3b3-2 - Utility slcanpty from the CAN utilities package.</p>
</blockquote>
<p dir="auto">These are all taken from the <a href="https://github.com/linux-can" rel="nofollow">Linux CAN Project</a></p>
]]></description><link>http://community.onion.io/post/12260</link><guid isPermaLink="true">http://community.onion.io/post/12260</guid><dc:creator><![CDATA[T NT]]></dc:creator><pubDate>Tue, 21 Mar 2017 00:16:59 GMT</pubDate></item><item><title><![CDATA[Reply to Connect Omega2 to CanBus on Tue, 25 Apr 2017 23:26:52 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/3390">@Michael-Bock</a> I'm one the founders of <a href="carloop.io">Carloop</a> and I use <code>can-utils</code> on linux often.  What you'll need is a version of linux that has SocketCAN and then install <code>can-utils</code> to be able to read/write CAN messages.   You will also need a CAN to USB serial interface such as the <a href="https://store.carloop.io/products/carloop-basic" rel="nofollow">Carloop Basic</a>.  Once I receive my Omega2 I'll figure out if I can add <code>can-utils</code> to it and report back.</p>
]]></description><link>http://community.onion.io/post/12835</link><guid isPermaLink="true">http://community.onion.io/post/12835</guid><dc:creator><![CDATA[Alan Mond]]></dc:creator><pubDate>Tue, 25 Apr 2017 23:26:52 GMT</pubDate></item><item><title><![CDATA[Reply to Connect Omega2 to CanBus on Thu, 27 Apr 2017 07:39:19 GMT]]></title><description><![CDATA[<p dir="auto">You have different choices for CAN on Omega2. The obvious way is using a MCP2515 connected to SPI. I'm not 100% sure if you can use hardware accelerated SPI on Omega2. The necessary pins seems to be connected to the pin header but Ralink/Mediatek SPI is normally half duplex and the MCP2515 kernel modul expect full duplex.</p>
<p dir="auto">Another problem is the latency of the SPI Linux Framework. On high CANBus load packets might getting out of order or being lost.</p>
<p dir="auto">For testing I've written a combined MCP2515-SPI (GPIO-Bitbanged) driver:<br />
<a href="https://github.com/GBert/openwrt-misc/tree/master/mcp2515-banged" rel="nofollow">https://github.com/GBert/openwrt-misc/tree/master/mcp2515-banged</a><br />
The results were better than expexcted - no packet loss on a saturated 250kbit CANBus.</p>
<p dir="auto">As of today I'm prefering using a CAN2Serail converter based on a cheap PIC18F25K80. The Firmware was writen by Darron Broad. The serial to CAN conversion is amazing fast and is only limited by the serial speed. The good thing is the PIC could be flashed in circuit and the software, including assembler is part of an  OpenWRT/Lede feed. If you are interested:<br />
<img src="https://github.com/GBert/misc/raw/master/srse2/pictures/omega2-first-board-01.jpg" alt="SRSE2" class="img-responsive img-markdown" /><br />
<a href="https://github.com/GBert/misc/tree/master/srse2" rel="nofollow">https://github.com/GBert/misc/tree/master/srse2</a></p>
<p dir="auto">But: The easiest way is to use a USB based CAN Adapter, of course <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--wink" title=";-)" alt="😉" /></p>
]]></description><link>http://community.onion.io/post/12858</link><guid isPermaLink="true">http://community.onion.io/post/12858</guid><dc:creator><![CDATA[Gerhard Bertelsmann]]></dc:creator><pubDate>Thu, 27 Apr 2017 07:39:19 GMT</pubDate></item><item><title><![CDATA[Reply to Connect Omega2 to CanBus on Sun, 25 Jun 2017 15:21:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/3384">@Gerhard-Bertelsmann</a> Thanks for your answer !  Do I understand it correctly that this board is like a dock for the Omega2+ and through a serial communication lib will read/write the CAN BUS ?<br />
Can you share more details of it and is it possible to buy it ?</p>
]]></description><link>http://community.onion.io/post/13588</link><guid isPermaLink="true">http://community.onion.io/post/13588</guid><dc:creator><![CDATA[Michael Bock]]></dc:creator><pubDate>Sun, 25 Jun 2017 15:21:21 GMT</pubDate></item><item><title><![CDATA[Reply to Connect Omega2 to CanBus on Mon, 26 Jun 2017 22:38:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/3390">@Michael-Bock</a> said in <a href="/post/13588">Connect Omega2 to CanBus</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/3384">@Gerhard-Bertelsmann</a> Thanks for your answer !  Do I understand it correctly that this board is like a dock for the Omega2+ and through a serial communication lib will read/write the CAN BUS ?</p>
</blockquote>
<p dir="auto">yes, that's right. It's using the SLCAN API which could be used in conjunction with SocketCAN. The firmware was mainly developed by <a href="http://hg.kewl.org/pub/can-can/" rel="nofollow">Darron Broad</a><br />
The PIC firmware is highly optimized so that there are lots of free cycles even under heavy load on the CAN-Bus.</p>
<blockquote>
<p dir="auto">Can you share more details of it and is it possible to buy it ?</p>
</blockquote>
<p dir="auto">Please have a look at:<br />
<a href="https://github.com/GBert/misc/tree/master/srse2" rel="nofollow">https://github.com/GBert/misc/tree/master/srse2</a><br />
It's working but the whole project is on hold due to the WiFi issues ...<br />
Sorry, it isn't sold but I could share a PCB if you want. Please contact me by email</p>
]]></description><link>http://community.onion.io/post/13594</link><guid isPermaLink="true">http://community.onion.io/post/13594</guid><dc:creator><![CDATA[Gerhard Bertelsmann]]></dc:creator><pubDate>Mon, 26 Jun 2017 22:38:45 GMT</pubDate></item><item><title><![CDATA[Reply to Connect Omega2 to CanBus on Wed, 27 Mar 2019 16:26:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">the WiFi issues are being solved with newer versions of OpenwWRT. The Gleisbox is now running fine.</p>
<p dir="auto">Here some pictures:<br />
<img src="http://lnxpps.de/can2udp/srseII/pictures/srseII_buchsen.jpg" alt="http://lnxpps.de/can2udp/srseII/pictures/srseII_buchsen.jpg" class="img-responsive img-markdown" /><br />
<img src="http://lnxpps.de/can2udp/srseII/pictures/srseII-connections_2.jpg" alt="http://lnxpps.de/can2udp/srseII/pictures/srseII-connections_2.jpg" class="img-responsive img-markdown" /></p>
<p dir="auto">Regards</p>
<p dir="auto">Gerd</p>
]]></description><link>http://community.onion.io/post/19251</link><guid isPermaLink="true">http://community.onion.io/post/19251</guid><dc:creator><![CDATA[Gerhard Bertelsmann]]></dc:creator><pubDate>Wed, 27 Mar 2019 16:26:50 GMT</pubDate></item><item><title><![CDATA[Reply to Connect Omega2 to CanBus on Wed, 27 Mar 2019 17:26:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/3384">@Gerhard-Bertelsmann</a></p>
<p dir="auto">Thank you Gerd!  Great work!<br />
Just a question... How do you test this configuration?<br />
Did you use an emulator during your development process (don't want to mess with a real vehicle's CAN bus or its MCU configurations...)</p>
]]></description><link>http://community.onion.io/post/19252</link><guid isPermaLink="true">http://community.onion.io/post/19252</guid><dc:creator><![CDATA[ccs hello]]></dc:creator><pubDate>Wed, 27 Mar 2019 17:26:26 GMT</pubDate></item><item><title><![CDATA[Reply to Connect Omega2 to CanBus on Wed, 27 Mar 2019 20:02:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1973">@ccs-hello</a></p>
<p dir="auto">thx. Tested using BaegleBoneBlack and BananaPi later.</p>
<p dir="auto">Regards</p>
<p dir="auto">Gerd</p>
]]></description><link>http://community.onion.io/post/19254</link><guid isPermaLink="true">http://community.onion.io/post/19254</guid><dc:creator><![CDATA[Gerhard Bertelsmann]]></dc:creator><pubDate>Wed, 27 Mar 2019 20:02:30 GMT</pubDate></item></channel></rss>