<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/</id><updated>2020-02-27T16:25:01.489000Z</updated><subtitle>Recent posts to Multiple Instance of the SPI Interface with PiFace-Board</subtitle><entry><title>Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/?limit=25#aa6e" rel="alternate"/><published>2020-02-27T16:25:01.489000Z</published><updated>2020-02-27T16:25:01.489000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com256136f4aa4312c617ee1f6ecb3607b454c22ec9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;this open point is now solved with the release 1.1.0.0&lt;br/&gt;
You could update with the PackageManager to the new available version.&lt;br/&gt;
BR &lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/?limit=25#3603" rel="alternate"/><published>2020-02-27T16:25:00.654000Z</published><updated>2020-02-27T16:25:00.654000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com1219550adf94b42e690694868fa4e085c986d1f6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
you are right, there is an error on our side,&lt;br/&gt;
we will fix this with next release (should be available soon)&lt;/p&gt;
&lt;p&gt;BR &lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/?limit=25#422b" rel="alternate"/><published>2020-02-27T16:24:58.312000Z</published><updated>2020-02-27T16:24:58.312000Z</updated><author><name>Deborah</name><uri>https://forge.codesys.com/u/deborah/</uri></author><id>https://forge.codesys.com19260e09823f1c237b76ff9f80962751f897bd04</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo, &lt;/p&gt;
&lt;p&gt;Im not sure if Konstantin sent its project jet. &lt;br/&gt;
If not here is a project showing the problem we are having.&lt;/p&gt;
&lt;p&gt;in Google Drive&lt;br/&gt;
&lt;a class="" href="https://drive.google.com/file/d/0B3o1_RT1e-i7TmtvN0VXbUpiMTA/edit?usp=sharing" rel="nofollow"&gt;https://drive.google.com/file/d/0B3o1_R ... sp=sharing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;br/&gt;
Deborah&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: error_plot.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=521"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/?limit=25#2373" rel="alternate"/><published>2020-02-27T16:24:57.473000Z</published><updated>2020-02-27T16:24:57.473000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com18409e618b4bfe2f36253aa9dcad57234600661e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Konstantin,&lt;/p&gt;
&lt;p&gt;if you load the Project, do you see the piface in the devicetree with a&lt;br/&gt;
green circle or red triangles? (like in my scrennshot in previous post)&lt;br/&gt;
could you please check if in&lt;br/&gt;
 /etc/modprobe.d/raspi-blacklist.conf &lt;br/&gt;
the modules are not in-&amp;gt; Comment out blacklisted items "spi-bcm2708" and "i2c-bcm2708"&lt;/p&gt;
&lt;p&gt;And which Project do you use, the one from the CODESYS store which comes with the pi package ?&lt;br/&gt;
maybe helpful is if you send your project archive to  e &lt;a class="" href="mailto:support@codesys.com"&gt;support@codesys.com&lt;/a&gt; e &lt;/p&gt;
&lt;p&gt;BR &lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/?limit=25#47aa" rel="alternate"/><published>2020-02-27T16:24:55.110000Z</published><updated>2020-02-27T16:24:55.110000Z</updated><author><name>knipz</name><uri>https://forge.codesys.com/u/knipz/</uri></author><id>https://forge.codesys.com34c9dfadc6e3a780b1dca47a83c2c39939d187e7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;the module spi-bcm2708 is being loaded at startup. The problem with the two SPI interfaces persists.&lt;/p&gt;
&lt;p&gt;Konstantin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/?limit=25#7dbf" rel="alternate"/><published>2020-02-27T16:24:54.283000Z</published><updated>2020-02-27T16:24:54.283000Z</updated><author><name>knipz</name><uri>https://forge.codesys.com/u/knipz/</uri></author><id>https://forge.codesys.comd526164d69e8cef2d9aaf70ea941682ff786a6b7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;the library errors are gone with the new devicedescription. Thanks for the hint.&lt;br/&gt;
I will test psi module with lsmod tomorrow and will try to load the module manually if not present.&lt;br/&gt;
Feedback follows.&lt;/p&gt;
&lt;p&gt;Konstantin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/?limit=25#2839" rel="alternate"/><published>2020-02-27T16:24:53.442000Z</published><updated>2020-02-27T16:24:53.442000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comfdaa054c7566cf94d32fa425332fe0d3cf68f1ab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, all&lt;/p&gt;
&lt;p&gt;could you please check if the SPI kernel drivers are loaded,&lt;br/&gt;
(lsmod) there should be a spi-bcm2708 loaded&lt;/p&gt;
&lt;p&gt;if not use:&lt;br/&gt;
sudo modprobe spi-bcm2708 to insert the SPI Driver.. then it will work&lt;br/&gt;
probably you need to add this to /etc/modules (we will do that on next release)&lt;/p&gt;
&lt;p&gt;cheers &lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: PiFace.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=517"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/?limit=25#8fda" rel="alternate"/><published>2020-02-27T16:24:51.066000Z</published><updated>2020-02-27T16:24:51.066000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comf43445d1ba435ee667bc4bc9744a35ee5f69a0ab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Piface isseu we need to investigate this, did not find the time... will do a.s.a.p&lt;br/&gt;
@Konstantin which library Versions does CODESYS try to add for CmpIecTask, sm3_Basic, sm3_CNC ??&lt;br/&gt;
for CmpIecTask there is a solution to use this devicedescription:&lt;/p&gt;
&lt;p&gt;l &lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=21&amp;amp;t=5621" rel="nofollow"&gt;viewtopic.php?f=21&amp;amp;t=5621&lt;/a&gt; l &lt;br/&gt;
please use the device description from that post,&lt;br/&gt;
could you please check if this solves your Problem?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/?limit=25#c668" rel="alternate"/><published>2020-02-27T16:24:50.242000Z</published><updated>2020-02-27T16:24:50.242000Z</updated><author><name>knipz</name><uri>https://forge.codesys.com/u/knipz/</uri></author><id>https://forge.codesys.com6626fc554eef776855714a55ed9c047e0f435294</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have the same problem. As i have got only 2 PiFace on the PiRack, the problem seems to appear with at least 2 PiFace.&lt;br/&gt;
I can leave my hardware configuration untouched (jumpers as in first post).&lt;br/&gt;
If I disable one of the two SPI devices in the CoDeSys software, the active device interacts as it should.&lt;br/&gt;
Both devices activated, only the first device (lowest hardware adress) is reacting.&lt;/p&gt;
&lt;p&gt;By the way, I get a library error on every startup of a project (CmpIecTask, sm3_Basic, sm3_CNC not found).&lt;br/&gt;
Is there any context?&lt;/p&gt;
&lt;p&gt;Konstantin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Instance of the SPI Interface with PiFace-Board</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/736c396fd1/?limit=25#1603" rel="alternate"/><published>2020-02-27T16:24:47.882000Z</published><updated>2020-02-27T16:24:47.882000Z</updated><author><name>Deborah</name><uri>https://forge.codesys.com/u/deborah/</uri></author><id>https://forge.codesys.com95dd2daca04e7f8eee706882a141646f8f6c2675</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Edwin,&lt;br/&gt;
Thank you for your support.&lt;/p&gt;
&lt;p&gt;Jumpers on the PiFace-Rack are set as follow to allow external power: &lt;br/&gt;
JP9: 2+3&lt;br/&gt;
JP10: 2+3&lt;br/&gt;
JP11: 2+3&lt;br/&gt;
JP12: 2+3&lt;/p&gt;
&lt;p&gt;Jumpers on the PiFace-Rack are set as follow to allow external Default SPI CE:&lt;br/&gt;
JP1: 2+3    JP2: 2+3&lt;br/&gt;
JP3: 2+3    JP4: 2+3&lt;br/&gt;
JP5: 2+3    JP6: 2+3&lt;br/&gt;
JP7: 2+3    JP8: 2+3&lt;/p&gt;
&lt;p&gt;Jumpers on the PiFace are set as follow to set address for every SPI chip:&lt;br/&gt;
 PiFace_0:  JP1: 2+3&lt;br/&gt;
        JP2: 2+3&lt;br/&gt;
PiFace_1:   JP1: 1+2&lt;br/&gt;
        JP2: 2+3&lt;br/&gt;
PiFace_3:   JP1: 2+3&lt;br/&gt;
        JP2: 1+2&lt;/p&gt;
&lt;p&gt;Please check the attached PDF for more details&lt;/p&gt;
&lt;p&gt;Thanks&lt;br/&gt;
Deborah&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=513" rel="nofollow"&gt;Jumpers on the PiFace.pdf &lt;span&gt;&lt;span&gt;[233.28 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>