<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>I2C device unable to read/write to the device. Getting a return value of -5</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113599/i2c-device-unable-to-read-write-to-the-device-getting-a-return-value-of--5</link><description>I am experiencing an issue with the I2C device on the nRF5340(our custom board) where it is unable to read/write to the sensor, resulting in a return value of -5.(EIO) 
 Details: 
 
 SDK Version : v2.6.1 
 Custom Board : nrf5340-nrf7002 
 Temperature</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Aug 2024 12:58:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113599/i2c-device-unable-to-read-write-to-the-device-getting-a-return-value-of--5" /><item><title>RE: I2C device unable to read/write to the device. Getting a return value of -5</title><link>https://devzone.nordicsemi.com/thread/496982?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 12:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:632a4190-11b1-4a17-a74e-d01790c43a38</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you use i2c scanner to see if your device is present and get the address?&lt;/p&gt;
&lt;p&gt;Also, here is an I2C example that uses the same API and&amp;nbsp;you may compare for setting up the overlay and main code.&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-6-serial-com-i2c/"&gt;I2C Lesson&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C device unable to read/write to the device. Getting a return value of -5</title><link>https://devzone.nordicsemi.com/thread/496897?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 05:08:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85c414d1-a4d0-4432-8d23-9f1719b00b14</guid><dc:creator>sasikumar p</dc:creator><description>&lt;p&gt;HI,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Any update on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>