<?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>TWI ISSUE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2587/twi-issue</link><description>Hi 
 I try to communicate with others TWi devices using the twi_hw_master driver. 
 When i initiate a communication with twi_master_transfer , i don&amp;#39;t receive any ack from the target device (timeout in twi_master_write function ). So i looking for a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Jun 2014 17:56:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2587/twi-issue" /><item><title>RE: TWI ISSUE</title><link>https://devzone.nordicsemi.com/thread/10248?ContentTypeID=1</link><pubDate>Thu, 26 Jun 2014 17:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54872d52-1f2b-4e4e-92bc-b615d65b8856</guid><dc:creator>HPC</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;Basically what I2C is , it is a two wire interface SCL for clock and SDA for data and it requires a pullup resistor to operate properly .So my question is&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Why have you connected two pins (11 &amp;amp; 26 together) and (10 and 27 together)?&lt;/p&gt;
&lt;p&gt;NOTE:  Suppose if 26 is configured as SCL and 11 is a gpio which is of NO_PULL type,it will pull     down the voltage levels of I2C bus and will fail to function properly.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start="2"&gt;
&lt;li&gt;In twi_hw_master.c the PULL UP is enabled for both SCL and SDA , no need to worry  (GPIO_PIN_CNF_PULL_Pullup    &amp;lt;&amp;lt; GPIO_PIN_CNF_PULL_Pos)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;3.DEBUGGING&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; a)  Verify the slave address you&amp;#39;re using is correct , the API uses addes in a manner
  &amp;quot;7bits&amp;quot; + &amp;quot;read/write bit&amp;quot; eg: 1110011+0  ie;0xE6 (last bit 0 indicates writing bit)
 b) Connect a CRO and verify that the voltage levels are as expected and slave is producing a NACK which is possibly a wrong slave address
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI ISSUE</title><link>https://devzone.nordicsemi.com/thread/10247?ContentTypeID=1</link><pubDate>Wed, 21 May 2014 14:15:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5d250d3-490f-4b86-8364-f59eab6cd30e</guid><dc:creator>thomas</dc:creator><description>&lt;p&gt;Any help ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI ISSUE</title><link>https://devzone.nordicsemi.com/thread/10246?ContentTypeID=1</link><pubDate>Wed, 21 May 2014 09:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ead1dfef-5736-4b11-98b2-7c26bcfeab08</guid><dc:creator>thomas</dc:creator><description>&lt;p&gt;I&amp;#39;m working on a custom board and i can&amp;#39;t access  to the twi bus with an logic analyzer...
Pins used by the twi interface are configured on the tw_master_config file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>