<?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>NACK from i2c slave</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57949/nack-from-i2c-slave</link><description>Hello Everyone, 
 
 I am Using Nrf51822 module and s130_nrf51_2.0.1_softdevice . my actual function nrf51822 twi interface with stc3115 Gas gauge IC .read the battery voltage .i upload the twi_scanner . 
 my output is TWI device detected at address 0x70</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Feb 2020 04:51:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57949/nack-from-i2c-slave" /><item><title>RE: NACK from i2c slave</title><link>https://devzone.nordicsemi.com/thread/235047?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2020 04:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97f17549-27f5-4f50-b78c-bc7e1e3685b9</guid><dc:creator>Maniasai</dc:creator><description>&lt;p&gt;Thank for your Reply Simonr&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I am also check the twi_handler. but i did not get any positive result . Received data return zero only. I also connect 4.7k resistor between nrf51822 and stc3115 i2c path.&lt;/p&gt;
&lt;p&gt;what is the exact problem in my scenario .How to handle my problem.&lt;/p&gt;
&lt;p&gt;If anyone know .please let me know&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;err_code = nrf_drv_twi_init(&amp;amp;m_twi, &amp;amp;twi_lm75b_config, twi_handler, NULL);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NACK from i2c slave</title><link>https://devzone.nordicsemi.com/thread/234932?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2020 13:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ac44571-eb70-4a97-a8d7-09c265b198fd</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re using the TWI handler (third parameter in nrf_drv_twi_init), then you&amp;#39;ll get an event that indicates a NACK event. This event should be handled in the TWI handler. If so, the nrf_drv_twi_tx() will return NRF_SUCCESS even though you get a NACK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NACK from i2c slave</title><link>https://devzone.nordicsemi.com/thread/234877?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2020 11:52:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42574615-40c4-40da-be34-82698f1c2064</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0601._5F00_Insert-Code-_2D00_-Nordic-2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>