<?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>Why doesn&amp;#39;t the TWI transmit an address?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6044/why-doesn-t-the-twi-transmit-an-address</link><description>Using the nRF51422 with the TWI hardware version. Just playing around to verify signals with the following code which just configures the TWI1 and then repeats continuously with a master transmit of one data byte=0x57. 
 I get a 7 clock transitions on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Mar 2015 19:16:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6044/why-doesn-t-the-twi-transmit-an-address" /><item><title>RE: Why doesn't the TWI transmit an address?</title><link>https://devzone.nordicsemi.com/thread/21133?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 19:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61571fe7-1832-4227-9cf0-e33ce6ded42a</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;You should set &lt;code&gt;NRF_TWI1-&amp;gt;ENABLE = 5&lt;/code&gt; not 1, to enable the twi.&lt;/p&gt;
&lt;p&gt;Now you code will output the address. Remember to shift the address one bit right, since the last bit is for ACK/NACK (and is automatically shifted left in the TWI HW):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_TWI1-&amp;gt;ADDRESS=(0x78 &amp;gt;&amp;gt; 1);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Also, if you do not have a slave that ACK the address, it will only transmit the address and stop, so you will not see the data byte.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>