<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Generic I2c peripherals management</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8e8dc51484/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8e8dc51484/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/8e8dc51484/</id><updated>2020-02-27T15:47:37.668000Z</updated><subtitle>Recent posts to Generic I2c peripherals management</subtitle><entry><title>Generic I2c peripherals management</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8e8dc51484/?limit=25#cc8b" rel="alternate"/><published>2020-02-27T15:47:37.668000Z</published><updated>2020-02-27T15:47:37.668000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comf3407229c47bcc5acdd724082fe12b000f373fc3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Fantastic news! I hope you are seeing interesting things at 15.625 µV resolution   &lt;/p&gt;
&lt;p&gt;I would be very pleased were you to release it as open source on the forge.  Let me know if I can be of any help in that regard.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Generic I2c peripherals management</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8e8dc51484/?limit=25#da04" rel="alternate"/><published>2020-02-27T15:47:36.850000Z</published><updated>2020-02-27T15:47:36.850000Z</updated><author><name>dormouse75</name><uri>https://forge.codesys.com/u/dormouse75/</uri></author><id>https://forge.codesys.com1f3e5e8646b3c8da224ffb64e56793cf85bf5af0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Following your guide, I modified the Fab library:  viewtopic.php?t=6174#p12190 , in order to adapt it to my application.&lt;br/&gt;
It works...very good! (and thanks   )&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Generic I2c peripherals management</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8e8dc51484/?limit=25#02f1" rel="alternate"/><published>2020-02-27T15:47:34.596000Z</published><updated>2020-02-27T15:47:34.596000Z</updated><author><name>dormouse75</name><uri>https://forge.codesys.com/u/dormouse75/</uri></author><id>https://forge.codesys.com1ed398c2ea8cba5bbf6e3ab80624e22f99638fed</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for your answer.&lt;br/&gt;
I would use Raspberry for a hobby application, on my (very short) free time.&lt;br/&gt;
I'd like To program It by Codesys (instead of Phyton or something else) because I'm able to program plc's...so my idea is: ''I spend 60 euro (vat included) for Codesys  Runtime licence in order to avoid wasting time to learn...make test....experiment...etc.&lt;/p&gt;
&lt;p&gt;The answer to your question is yes...I'm not able also with correct  instructions...or probably I would be able after a lot of time...and after that I would spend 60 euro for runtime...&lt;/p&gt;
&lt;p&gt;For the same chip I know the Fab work...I installed It...but Codesys gives an error when I add the device and It is build for temperature sensor...I just need to read a voltage value with high resolution...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Generic I2c peripherals management</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8e8dc51484/?limit=25#5e9f" rel="alternate"/><published>2020-02-27T15:47:33.690000Z</published><updated>2020-02-27T15:47:33.690000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comd1cc76a80044470b79068f0bda3f7ff89661f20a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It also looks like Fab can give you a heard start..&lt;/p&gt;
&lt;p&gt;l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?t=6174&amp;amp;p=12190&amp;amp;lan=en" rel="nofollow"&gt;viewtopic.php?t=6174#p12190&lt;/a&gt; l &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Generic I2c peripherals management</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8e8dc51484/?limit=25#b080" rel="alternate"/><published>2020-02-27T15:47:31.425000Z</published><updated>2020-02-27T15:47:31.425000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.combf1f4a3ce3004dc530937e587e6e782c4b0d8f23</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;br/&gt;
When you say you can't create it, do you mean you found the documentation for creating I2C devices and weren't able to follow?&lt;br/&gt;
If yes, I would like to fix the documentation so it is easier for you and others to follow.  So where are you stuck?&lt;br/&gt;
If not, then just follow the documentation here, and let us know if you get stuck.&lt;br/&gt;
&lt;a class="" href="https://forge.codesys.com/drv/io-drivers/doc/I2C/"&gt;https://forge.codesys.com/drv/io-drivers/doc/I2C/&lt;/a&gt; m &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Generic I2c peripherals management</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8e8dc51484/?limit=25#959a" rel="alternate"/><published>2020-02-27T15:47:30.628000Z</published><updated>2020-02-27T15:47:30.628000Z</updated><author><name>dormouse75</name><uri>https://forge.codesys.com/u/dormouse75/</uri></author><id>https://forge.codesys.comad59701635917e3e2185aa29bbdaa383276c83d5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I need to menage an I2C peripheral not present on device libraries : MCP3421 (adc 1ch 18 bit).&lt;br/&gt;
I'm not able to create it &lt;br/&gt;
Is there a simple way to read/write configuration or data bytes (according to MCP3421 data sheet) by step by step ST instructions, without creating the device?&lt;br/&gt;
something like this:&lt;br/&gt;
1) set the device address&lt;br/&gt;
2) set number of bytes to write&lt;br/&gt;
3) write data bytes&lt;br/&gt;
4) set number of bytes to read&lt;br/&gt;
5) read data&lt;/p&gt;
&lt;p&gt;Can you help me?&lt;br/&gt;
Thank you!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>