<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to GPIO output not working</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7346b1a299/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7346b1a299/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/7346b1a299/</id><updated>2020-02-27T17:44:42.360000Z</updated><subtitle>Recent posts to GPIO output not working</subtitle><entry><title>GPIO output not working</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7346b1a299/?limit=25#ee42" rel="alternate"/><published>2020-02-27T17:44:42.360000Z</published><updated>2020-02-27T17:44:42.360000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com7cc78aafc48183e3bd82a47ab8420c8c17ed8e1a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; RobA&lt;/p&gt;
&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I tried to test the "CODESYS Control for BeagleBone SL" on a BBB. Therefor i wrote a little program to read GPIO45 (P8_11) &amp;amp; writes GPIO44 (P8_12) constant true . To the input I applied 3.3V with a switch and the output I measured directly with an oscilloscope (reference to GND).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt;&lt;br/&gt;
Reading the GPIO works perfekt, writing GPIO &lt;strong&gt;not&lt;/strong&gt;. The Codesys Software changes the GPIO correctly to true but I can't measure the output on my BBB. &lt;/p&gt;
&lt;p&gt;The same program works with a raspberry pi 3 and the same GPIO works aswell as input if i change the GPIO mapping/parameter. I can aswell toggle the GPIO directly from Linux with a python script with the same setup.&lt;br/&gt;
Seems like something is blocking the output. &lt;strong&gt;Does someone have an idea what the problem is?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Hardware: &lt;/strong&gt;&lt;br/&gt;
Beaglebone Black Rev. C&lt;br/&gt;
--&amp;gt; installed Linux Debian 9.9 2019-08-03 4GB SD LXQT&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Software: &lt;/strong&gt;&lt;br/&gt;
CODESYS Control for BeagleBone SL Version 3.5.13.0 (tested first 3.5.15.30 but same problem happened, therefor i switched back to 3.5.13.0&lt;br/&gt;
CODESYS V3.5 SP13&lt;/p&gt;
&lt;p&gt;(you can answer aswell in german)&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: GPIO_IO_Map.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=5193"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: GPIO_Param.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=5194"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Code.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=5195"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: GPIO_IO_Map_run_false.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=5197"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: GPIO_IO_Map_run_true.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=5198"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=5196" rel="nofollow"&gt;beagle_OutNotWorking_1.project &lt;span&gt;&lt;span&gt;[186.92 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>