<?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/778/nack-from-i2c-slave</link><description>Hi 
 i am using twi_hw_master.c for i2c communication of accelerometer. 
 my accelerometer address is 0x18. 
 once i call 
 twi_master_transfer(0x18,dataW,1,1); 
 in function ERRSRC is setting to 0x02, 
 means there is no ack from slave. 
 but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Nov 2013 08:04:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/778/nack-from-i2c-slave" /><item><title>RE: NACK from i2c slave</title><link>https://devzone.nordicsemi.com/thread/3921?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2013 08:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bf7384a-17ee-4fb6-a470-af21d130b2e6</guid><dc:creator>Prasad</dc:creator><description>&lt;p&gt;Hi Balaji&lt;/p&gt;
&lt;p&gt;for trouble shooting you&amp;#39;ve two options&lt;/p&gt;
&lt;p&gt;(1) I request you to confirm that slave address that you have given is correct, in the examples in SDK the  slave address used  is as &amp;quot;7bit slave address + R/W bit &amp;quot; so please ensure that you&amp;#39;ve followed the format correctly.&lt;/p&gt;
&lt;p&gt;(2) Check the whether the slave is producing a ACK (low) after the 8bit data has been sent using a &amp;quot;&lt;strong&gt;CRO&lt;/strong&gt;&amp;quot; . If it shows that a NACK (high) , I suppose that there is a issue with your sensor module&amp;#39;s hardware&lt;/p&gt;
&lt;p&gt;Regards
HP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>