<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CANbus Transmit speeds through PI2</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6b8858eccf/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6b8858eccf/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/6b8858eccf/</id><updated>2020-02-27T15:47:09.416000Z</updated><subtitle>Recent posts to CANbus Transmit speeds through PI2</subtitle><entry><title>CANbus Transmit speeds through PI2</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6b8858eccf/?limit=25#1778" rel="alternate"/><published>2020-02-27T15:47:09.416000Z</published><updated>2020-02-27T15:47:09.416000Z</updated><author><name>johnfarrugia</name><uri>https://forge.codesys.com/u/johnfarrugia/</uri></author><id>https://forge.codesys.com8b9185e63384f7951791dea28a43fa357b174769</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I figured it out. I had the task cyclic time set for 20ms. Changed it to freewheel and now Im getting 254 transmissions per second.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANbus Transmit speeds through PI2</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6b8858eccf/?limit=25#8f29" rel="alternate"/><published>2020-02-27T15:47:08.574000Z</published><updated>2020-02-27T15:47:08.574000Z</updated><author><name>johnfarrugia</name><uri>https://forge.codesys.com/u/johnfarrugia/</uri></author><id>https://forge.codesys.com05e6722d6437761b1584b7d544c9cb0ca61f5878</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;So I've managed to get CAN running through Codesys but I seem to be having some speed issues. I have the code setup to transmit a message every 1ms. The processor is running at about 90us. I put a CAN sniffer on the network and I can only get about 17 packets per second max out of the pi. Any idea where I might be getting the delay from?&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Capture.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1806"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>