<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Canberry Dual on Rpi3 - No data received or sent</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/809cfd064f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/809cfd064f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/809cfd064f/</id><updated>2020-02-27T16:10:08.862000Z</updated><subtitle>Recent posts to Canberry Dual on Rpi3 - No data received or sent</subtitle><entry><title>Canberry Dual on Rpi3 - No data received or sent</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/809cfd064f/?limit=25#ecac" rel="alternate"/><published>2020-02-27T16:10:08.862000Z</published><updated>2020-02-27T16:10:08.862000Z</updated><author><name>Anerdgy</name><uri>https://forge.codesys.com/u/anerdgy/</uri></author><id>https://forge.codesys.comea9376759ca40623d2373d1450d5e591875a098b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Continuing with info I found as it may help others:&lt;/p&gt;
&lt;p&gt;The demo that is provided for the caberry will not send.&lt;/p&gt;
&lt;p&gt;You need cansend and this you download from &lt;a class="" href="http://www.skpang.co.uk/dl/can-test_pi2.zip" rel="nofollow"&gt;http://www.skpang.co.uk/dl/can-test_pi2.zip&lt;/a&gt; These are teh CAN test programs provided for the pi-2 at skpang.co.uk&lt;/p&gt;
&lt;p&gt;You will need to put them on the pi and copy the cansend file to /home/pi&lt;/p&gt;
&lt;p&gt;In codesys you will need to add in front of the command cansend  ./cansend cano or can1 depending on which interface you are using.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Codesys1.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4178"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Canberry Dual on Rpi3 - No data received or sent</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/809cfd064f/?limit=25#4fe3" rel="alternate"/><published>2020-02-27T16:10:08.037000Z</published><updated>2020-02-27T16:10:08.037000Z</updated><author><name>Anerdgy</name><uri>https://forge.codesys.com/u/anerdgy/</uri></author><id>https://forge.codesys.com0b5e5b61ad863f93cfd19b7a98258b77d732879d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The instructions on the canberry website are not fully correct certainly for Stretch:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://www.industrialberry.com/?s=codesys&amp;amp;submit=Search" rel="nofollow"&gt;https://www.industrialberry.com/?s=codesys&amp;amp;submit=Search&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3 things need to be done: Line 3 one doesn't uncomment but one needs to insert the complete lines (also note that the word overlay is removed after the mcp2525-can0 and -can1&lt;/p&gt;
&lt;p&gt;Insert the line dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=22 for CanBerryNormal, Isolated and CanBerryDual&lt;br/&gt;
Insert the line dtoverlay=mcp2515-can1,oscillator=16000000,interrupt=25 only for CanBerryDual&lt;/p&gt;
&lt;p&gt;After line 8, you must copy ALL the files in canberry-codesys folder (not the folder) to /home/pi&lt;/p&gt;
&lt;p&gt;Also I2C needs to be activated even if you do not intend to use the RTC.&lt;/p&gt;
&lt;p&gt;Once done it works as expected!&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Capture8.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4167"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Canberry Dual on Rpi3 - No data received or sent</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/809cfd064f/?limit=25#dee9" rel="alternate"/><published>2020-02-27T16:10:07.092000Z</published><updated>2020-02-27T16:10:07.092000Z</updated><author><name>Anerdgy</name><uri>https://forge.codesys.com/u/anerdgy/</uri></author><id>https://forge.codesys.com87fda162f635812317cf9cacd431f9f61447bf7b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Seem to have got one stage furtehr. I wasn't using the RTC so did not enable I2C as the Can only uses SPI.&lt;/p&gt;
&lt;p&gt;It is now working after enabling I2C.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Canberry Dual on Rpi3 - No data received or sent</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/809cfd064f/?limit=25#6e4b" rel="alternate"/><published>2020-02-27T16:10:04.807000Z</published><updated>2020-02-27T16:10:04.807000Z</updated><author><name>Anerdgy</name><uri>https://forge.codesys.com/u/anerdgy/</uri></author><id>https://forge.codesys.com105af576012dcfed3c86adf6faaeb17d9c02725d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am using a Rpi3 with Stretch and a canberry dual HAT.&lt;/p&gt;
&lt;p&gt;Canbus seems to be operating on the pi as per ifconfig and also using candump to monitor the traffic.&lt;/p&gt;
&lt;p&gt;The canberry project appears to have loaded correctly into codesys.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=21&amp;amp;t=9265" rel="nofollow"&gt;https://forum.codesys.com/viewtopic.php?f=21&amp;amp;t=9265&lt;/a&gt; Except I have no idea where to change the clock speed this time.&lt;/p&gt;
&lt;p&gt;I can see the webinterface but nothing changes.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: IMG_20181102_142301A.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4114"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Capture4.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4112"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Capture5.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4113"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>