<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to GPIOs not running with Raspberry Pi 4 (and SPI connection)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7e0f900999/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7e0f900999/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/7e0f900999/</id><updated>2024-05-06T12:09:32.681000Z</updated><subtitle>Recent posts to GPIOs not running with Raspberry Pi 4 (and SPI connection)</subtitle><entry><title>GPIOs not running with Raspberry Pi 4 (and SPI connection)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7e0f900999/?limit=25#64a0" rel="alternate"/><published>2024-05-06T12:09:32.681000Z</published><updated>2024-05-06T12:09:32.681000Z</updated><author><name>tama00</name><uri>https://forge.codesys.com/u/tama00/</uri></author><id>https://forge.codesys.com07e603c775db6c86524f8af818a06dc971a19480</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I have a working SPI connection (with transferExt) between a Raspberry master with Codesys and an ESP32 slave. I would also like to use a few GPIO pins. Is there a problem with using SPI AND GPIOs?&lt;/p&gt;
&lt;p&gt;Environment:&lt;br/&gt;
Raspberry Pi 4+ with Raspian from Oct 23&lt;br/&gt;
Codesys V3.4 SP19 Patch 5 with Runtime Version 4.10.0.0&lt;br/&gt;
Device: GPIOs B+/Pi2&lt;/p&gt;
&lt;p&gt;My problem: &lt;br/&gt;
The status is displayed as “GPIOs : not running”. And also during mapping the message “The bus is not running. The values shown are perhaps not actual”. However, the variable changes that I make in my program are displayed under “Current Value”. In the Logic Analyzer, the pin toggles during transmission with small intervals of +-4us (seems to be a cyclical disorder, but I don't know where exactly it could be coming from). This applies to pins that I actually use (output) but also to the other GPIOs (not used). With GPIO 4, the line remains permanently high.&lt;/p&gt;
&lt;p&gt;Attached is a screenshot from the Logic Analyzer. Channel 1,3,5 were GPIO pin 26, 22, 17&lt;/p&gt;
&lt;p&gt;Would be very grateful for help. &lt;br/&gt;
Best regards&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>