<?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>Arduino Primo I2C bus problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25984/arduino-primo-i2c-bus-problem</link><description>Hi, I try to mount some I2C devices at Arduino Primo but I can not get any results. I tried an I2C LCD that did not return any error but did not display any text. When I scan I2C devices I always return the same list, even if no external device is connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Oct 2017 11:34:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25984/arduino-primo-i2c-bus-problem" /><item><title>RE: Arduino Primo I2C bus problem</title><link>https://devzone.nordicsemi.com/thread/102393?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 11:34:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad8133e7-9ad2-4b72-b172-8221456bc3db</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Did you try to queue a byte with Write.write() after Wire.beginTransmission, as suggested in my link?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Primo I2C bus problem</title><link>https://devzone.nordicsemi.com/thread/102390?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 10:03:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:149f89a1-bc21-44e4-bf2a-2ac4363ec441</guid><dc:creator>Gaetano Criscuolo</dc:creator><description>&lt;p&gt;No, I do not have a logical analyzer. How can I do?
I have two Arduino Primo and behave the same way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Primo I2C bus problem</title><link>https://devzone.nordicsemi.com/thread/102389?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 10:00:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50f68d2c-19f6-4160-bd56-6e0ef70a0e5d</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Do you have a logic analyzer so you can see if the Primo transfers anything at all? It seems like &lt;a href="https://www.arduino.cc/en/Reference/WireBeginTransmission"&gt;beginTransmission() doesn&amp;#39;t actually transmit anything&lt;/a&gt; and that endTransmission() is happy with that and returns 0 every time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Primo I2C bus problem</title><link>https://devzone.nordicsemi.com/thread/102392?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 08:31:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dd3a003-4870-458d-bf83-12f9d7b939cb</guid><dc:creator>Gaetano Criscuolo</dc:creator><description>&lt;p&gt;Hi Martin, yes, this is code.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;lt;Wire.h&amp;gt;

void setup() {
  Serial.begin (9600);

  // Leonardo: wait for serial port to connect
  while (!Serial)
  {
  }

  Serial.println ();
  Serial.println (&amp;quot;I2C scanner. Scanning ...&amp;quot;);
  byte count = 0;

  Wire.begin();
  for (byte i = 8; i &amp;lt; 120; i++)
  {
    if (i != 72) // Questo indirizzo blocca Arduino Primo
    {
      Wire.beginTransmission (i);
      if (Wire.endTransmission () == 0)
      {
        Serial.print (&amp;quot;Found address: &amp;quot;);
        Serial.print (i, DEC);
        Serial.print (&amp;quot; (0x&amp;quot;);
        Serial.print (i, HEX);
        Serial.println (&amp;quot;)&amp;quot;);
        count++;
        delay (1);  // maybe unneeded?
      } // end of good response
    }
    else
    {
      Serial.print (&amp;quot;Skip address: &amp;quot;);
      Serial.print (i, DEC);
      Serial.print (&amp;quot; (0x&amp;quot;);
      Serial.print (i, HEX);
      Serial.println (&amp;quot;)&amp;quot;);
    }
  } // end of for loop
  Serial.println (&amp;quot;Done.&amp;quot;);
  Serial.print (&amp;quot;Found &amp;quot;);
  Serial.print (count, DEC);
  Serial.println (&amp;quot; device(s).&amp;quot;);
}  // end of setup

void loop() {}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Primo I2C bus problem</title><link>https://devzone.nordicsemi.com/thread/102391?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 08:29:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4e8dfc1-cb48-4c03-81c6-d62b7326c553</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;That&amp;#39;s pretty strange. Can you point me to the code you are using for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>