<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/</id><updated>2024-11-12T14:36:24.938000Z</updated><subtitle>Recent posts to CodeSys Raspberry pi I2C driver not found</subtitle><entry><title>CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/?limit=25&amp;page=1#8aaf" rel="alternate"/><published>2024-11-12T14:36:24.938000Z</published><updated>2024-11-12T14:36:24.938000Z</updated><author><name>jeroenaero</name><uri>https://forge.codesys.com/u/jeroenaero/</uri></author><id>https://forge.codesys.com6a57b6cac0c1bbe25e39a0a7c5d68da84803c194</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Finnaly i get it working. There was a line in the file that set the ADS1015 chip in /boot/firmware/config.txt which i removed and after that the ADS1115 has a green turning circle and i got values. i created a new component so it fits our ADS1015. see screenshot. It works also with Codesys Control for Raspberry Pi 64 SL after adding the ULINT_TO_UDINT conversion in the library.&lt;br/&gt;
i think the chip was all the time in use by the Raspberry pi itself.&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/?limit=25&amp;page=1#bc15" rel="alternate"/><published>2024-11-12T07:44:59.692000Z</published><updated>2024-11-12T07:44:59.692000Z</updated><author><name>jeroenaero</name><uri>https://forge.codesys.com/u/jeroenaero/</uri></author><id>https://forge.codesys.com05ffc64e0529a3d4fd24f1c86a7588bfb58f2878</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I don't have a multiplexer so it very weird that it connects with that multiplexer.&lt;br/&gt;
If i do a I2C scan on the PI terminal, i only get the device addresses 0x48 and 0x51. One for the ADC and one for RTC. &lt;br/&gt;
I will try again with your libraries&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/?limit=25&amp;page=1#d287" rel="alternate"/><published>2024-11-11T18:43:23.129000Z</published><updated>2024-11-11T18:43:23.129000Z</updated><author><name>andrax</name><uri>https://forge.codesys.com/u/andrax/</uri></author><id>https://forge.codesys.com738e8f9a628cad99aca70da6e08654fc00924525</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ok,&lt;br/&gt;
here are the libraries I use.&lt;br/&gt;
First of all, try to get the ADS1115 to run completely on its own. Without MUX or other sensors.&lt;br/&gt;
As muxboard I use this one:&lt;br/&gt;
&lt;a href="https://www.digikey.de/de/products/detail/sparkfun-electronics/BOB-16784/12714950?utm_adgroup=&amp;amp;utm_source=google&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=PMax:%20Smart%20Shopping_Product_Zombie%20SKUs&amp;amp;utm_term=&amp;amp;productid=12714950&amp;amp;utm_content=&amp;amp;utm_id=go_cmp-18521752285_adg-_ad-__dev-c_ext-_prd-12714950_sig-Cj0KCQiA88a5BhDPARIsAFj595gkPXWPT8aa-EixL97BDWjO988WDhcx-iHOVbqb_H8CLpHBcwLuJW0aAu1JEALw_wcB&amp;amp;gad_source=1&amp;amp;gclid=Cj0KCQiA88a5BhDPARIsAFj595gkPXWPT8aa-EixL97BDWjO988WDhcx-iHOVbqb_H8CLpHBcwLuJW0aAu1JEALw_wcB" rel="nofollow"&gt;https://www.digikey.de/de/products/detail/sparkfun-electronics/BOB-16784/12714950?utm_adgroup=&amp;amp;utm_source=google&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=PMax:%20Smart%20Shopping_Product_Zombie%20SKUs&amp;amp;utm_term=&amp;amp;productid=12714950&amp;amp;utm_content=&amp;amp;utm_id=go_cmp-18521752285_adg-_ad-__dev-c_ext-_prd-12714950_sig-Cj0KCQiA88a5BhDPARIsAFj595gkPXWPT8aa-EixL97BDWjO988WDhcx-iHOVbqb_H8CLpHBcwLuJW0aAu1JEALw_wcB&amp;amp;gad_source=1&amp;amp;gclid=Cj0KCQiA88a5BhDPARIsAFj595gkPXWPT8aa-EixL97BDWjO988WDhcx-iHOVbqb_H8CLpHBcwLuJW0aAu1JEALw_wcB&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All other boards don't work for me either.&lt;br/&gt;
The terminating resistor is missing&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/?limit=25&amp;page=1#7b76" rel="alternate"/><published>2024-11-11T18:25:59.567000Z</published><updated>2024-11-11T18:25:59.567000Z</updated><author><name>andrax</name><uri>https://forge.codesys.com/u/andrax/</uri></author><id>https://forge.codesys.com7868ddaa42a37258f4fb303965184cd8ab4fd384</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Are you using a multiplexer?&lt;br/&gt;
Which one?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/?limit=25&amp;page=1#6fe7" rel="alternate"/><published>2024-11-11T17:37:17.361000Z</published><updated>2024-11-11T17:37:17.361000Z</updated><author><name>jeroenaero</name><uri>https://forge.codesys.com/u/jeroenaero/</uri></author><id>https://forge.codesys.com2ec943af49e58bd002cae1c8cad00a88b3d94af5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I also installed your codesys version with the codesys for raspberry pi package version 4.7.0. but with no succes, only the TCA multiplexer has a constant green turning circle, the ADS1115 still changing from running to not running.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/?limit=25&amp;page=1#8259" rel="alternate"/><published>2024-11-11T16:28:50.703000Z</published><updated>2024-11-11T16:28:50.703000Z</updated><author><name>jeroenaero</name><uri>https://forge.codesys.com/u/jeroenaero/</uri></author><id>https://forge.codesys.comf4d2da1a4d270b8465326854551b71703f1df1c2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I succeed to change the device to PI_SL but still the same problem of the I2C device switching between running and not running. the only difference with your project is that yo use I2C_master device version 4.7.0 and i 4.7.13, for GPIO i also use the 4.7.13 version and you the 4.7.13. Can you send me the older version of the Raspberry PI pheripals library, because i cannot choose lower version then 4.7.10 for the GPIO and I2C_master device&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/?limit=25&amp;page=1#084f" rel="alternate"/><published>2024-11-09T20:36:19.581000Z</published><updated>2024-11-09T20:36:19.581000Z</updated><author><name>andrax</name><uri>https://forge.codesys.com/u/andrax/</uri></author><id>https://forge.codesys.comf8a8c30f9f5ba44eb25cd05a83906aa2addbdf90</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry, wrong expression.&lt;br/&gt;
You have a 64bit system, so do I.&lt;br/&gt;
You can also use the 64bit runtime, but most bib and commands are 32bit and are not properly supported.&lt;br/&gt;
I had read somewhere that there are problems with I2C. That's why I recommend switching to PI_SL and using the correct gpio.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/?limit=25&amp;page=1#906e" rel="alternate"/><published>2024-11-09T19:59:38.197000Z</published><updated>2024-11-09T19:59:38.197000Z</updated><author><name>andrax</name><uri>https://forge.codesys.com/u/andrax/</uri></author><id>https://forge.codesys.com5cd7ad36d93e44828d19a72e3b470afda6a2ac93</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is the operating system and has nothing to do with the runtime. Unless you use 64bit commands. You can see for yourself that you have errors with 64bit compilers &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/?limit=25&amp;page=1#dc2e" rel="alternate"/><published>2024-11-09T18:09:27.590000Z</published><updated>2024-11-09T18:09:27.590000Z</updated><author><name>jeroenaero</name><uri>https://forge.codesys.com/u/jeroenaero/</uri></author><id>https://forge.codesys.com43ce53583716b9a2ed61c4561d5083e0088b268a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We use a Compute module 4 it's 64bit based, so i cannot change it to sl.what are the possibilities to get the i2c working?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys Raspberry pi I2C driver not found</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f0e1f0d92b/?limit=25&amp;page=1#690f" rel="alternate"/><published>2024-11-09T17:04:31.435000Z</published><updated>2024-11-09T17:04:31.435000Z</updated><author><name>andrax</name><uri>https://forge.codesys.com/u/andrax/</uri></author><id>https://forge.codesys.come7f2cb77ea9387821b82f9430582a1911a4cb05f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I took a look at your project.&lt;br/&gt;
First of all, a Raspbery Pi4 is installed.&lt;br/&gt;
You must use the GPIOs_A_B(GPIOs B+/Pi2).&lt;br/&gt;
The error ULINT can't be set to IDINT.... with your project as well.&lt;br/&gt;
If I change your project to ‘CODESYS_Control_for_Raspberry_Pi_SL’&lt;br/&gt;
the error is gone.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>