<?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>nrf9160 I2C</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64787/nrf9160-i2c</link><description>I USE 9160 with i2c ，send data. then it tips : 
 [00:02:07.716,918] [1;31m&amp;lt;err&amp;gt; i2c_nrfx_twim: Error 195952641 occurred for message 0[0m 
 
 
 what is wrong ?help me ,thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Aug 2020 12:57:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64787/nrf9160-i2c" /><item><title>RE: nrf9160 I2C</title><link>https://devzone.nordicsemi.com/thread/265110?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 12:57:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf8123aa-35e4-4c3c-9e2d-8f05e76a3418</guid><dc:creator>gscultho</dc:creator><description>&lt;p&gt;The problem is that the slave device is not responding to the device address you are putting onto the I2C bus. It looks like you may be thinking that you need to add the read/write bit to an address yourself, which is not true. The driver will do this for you. Just pass the slave&amp;#39;s I2C address with no modification to&amp;nbsp;&lt;strong&gt;i2c_reg_read_byte(),&amp;nbsp;&lt;/strong&gt;Make sure you have the correct address from the datasheet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 I2C</title><link>https://devzone.nordicsemi.com/thread/264991?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 07:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60803ce6-5129-4d58-a215-2e03e73ee6e1</guid><dc:creator>liuyanfeng</dc:creator><description>&lt;p&gt;&lt;strong&gt;i use nrf9160 &amp;#39;s&amp;nbsp; I2C with max20353,communication.now , first&amp;nbsp; read the max20353 &amp;#39;s ID ,below,tips.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;[00:04:07.193,359] [1;31m&amp;lt;err&amp;gt; i2c_nrfx_twim: Error 195952641 occurred for message 0[0m&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;i tried every means,but , it is&amp;nbsp; so , still.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;//============================&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;/*&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;#define MAX20303_SLAVE_ADDR&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x50 &amp;gt;&amp;gt; 1)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;#define MAX20303_SLAVE_WR_ADDR&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;((MAX20303_SLAVE_ADDR &amp;lt;&amp;lt; 1))&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;#define MAX20303_SLAVE_RD_ADDR&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;((MAX20303_SLAVE_ADDR &amp;lt;&amp;lt; 1) | 1)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;*/&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;static int32_t myi2c_read()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;{&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; uint32_t rslt = 0;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; static&amp;nbsp; uint8_t&amp;nbsp; read_data = 0;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; i2c_reg_read_byte(max20353_I2C,LSM6DSO_I2C_ADD,0x00,&amp;amp;read_data); //&amp;nbsp;&amp;nbsp; 0X51&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; printf(&amp;quot;feng read_data0:%X \r\n&amp;quot;,read_data);&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; return rslt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;what is the problem ?!&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 I2C</title><link>https://devzone.nordicsemi.com/thread/264948?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 20:01:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86419011-3a2f-48d2-9303-b9dca208aa3a</guid><dc:creator>DevinCallahan</dc:creator><description>&lt;p&gt;Error&amp;nbsp;&lt;span&gt;195952641 maps to&amp;nbsp;this error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRFX_ERROR_DRV_TWI_ERR_ANACK    = (NRFX_ERROR_DRIVERS_BASE_NUM + 1), ///&amp;lt; TWI error: Address not acknowledged.&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The I2C device isn&amp;#39;t acking the address.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope that helps!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>