<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SPI master not running after upgrade</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aae9d90a87/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aae9d90a87/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/aae9d90a87/</id><updated>2020-02-27T15:39:54.402000Z</updated><subtitle>Recent posts to SPI master not running after upgrade</subtitle><entry><title>SPI master not running after upgrade</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aae9d90a87/?limit=25#83e0" rel="alternate"/><published>2020-02-27T15:39:54.402000Z</published><updated>2020-02-27T15:39:54.402000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com25bf086beaea71f6241e2190c1040b6e48d9fa3c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I use:&lt;br/&gt;
- PI3 &amp;amp; PIFACE&lt;br/&gt;
- Version 3.5.12.10 CODESYS and Raspberry PI runtime&lt;br/&gt;
- Rasbian Stretch from 11-29-2017&lt;br/&gt;
- enable the SPI under raspi-config&lt;br/&gt;
- specify the maxspeed to 100000 in the CODESYS Project (PIFace IOdriver exampe)&lt;br/&gt;
this works for me! &lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SPI master not running after upgrade</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aae9d90a87/?limit=25#4fac" rel="alternate"/><published>2020-02-27T15:39:53.689000Z</published><updated>2020-02-27T15:39:53.689000Z</updated><author><name>laus</name><uri>https://forge.codesys.com/u/laus/</uri></author><id>https://forge.codesys.com9e61471580896a54c0ae1c87ff11de3e6dc671c8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;br/&gt;
I have tried it, but it did not work. Even reloading the application. Any additional hint?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SPI master not running after upgrade</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aae9d90a87/?limit=25#81c7" rel="alternate"/><published>2020-02-27T15:39:51.491000Z</published><updated>2020-02-27T15:39:51.491000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com0be55393b08863b7dd7a1dcefbeaed979066192f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
yes, the workaround is to reduce the SPI maxspeed in&lt;br/&gt;
the CODESYS configuration.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: SPIMaxSpeed.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3533"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SPI master not running after upgrade</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aae9d90a87/?limit=25#366a" rel="alternate"/><published>2020-02-27T15:39:50.656000Z</published><updated>2020-02-27T15:39:50.656000Z</updated><author><name>laus</name><uri>https://forge.codesys.com/u/laus/</uri></author><id>https://forge.codesys.comce3be443ef0f94bcc981b0cdc4168c61b2b7dd56</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear all&lt;br/&gt;
SPI master is not working any more after installing the latest raspbian-2017-12-01. It runs perfectly well with previous version (&lt;a class="" href="https://downloads.raspberrypi.org/raspbian/images/raspbian-2017-09-08/" rel="nofollow"&gt;https://downloads.raspberrypi.org/raspb ... 017-09-08/&lt;/a&gt; kernel 4.9.41-v7+).&lt;br/&gt;
It seems that the SPI kernel 4.9.59-v7+ interface has changed in RPi side creating the need for a change in CODESYS run time. Something to do with clock divider, maybe. I tried setting SPI master parameter _dMaxSpeed to several different values, no effect.&lt;br/&gt;
I have tested with Piface OI driver, but all hardware using SPI interface would be affected and that is why I would like to 3S personal to take measures.&lt;br/&gt;
Thanks&lt;br/&gt;
L.P.Laus&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Sem título4.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3532"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>