<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I2C lpcopen in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-lpcopen/m-p/522854#M5490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rgledhill on Tue Apr 29 10:43:22 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure there are pull-ups on the SCL and SDA lines - there may be some on the LPC1769 board already, I'm not sure, but check as they will be required.&amp;nbsp; Then check your I2C Baud rate; some devices talk at 400kHz, some at only 100kHz.&amp;nbsp; I'd look at the trace lines on an oscilloscope and check the waveforms look clean (straight edges everywhere).&amp;nbsp; When debugging the software, check to see if it receives a NAK, which would mean that the remote device is ignoring the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps as a start!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:41:46 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:41:46Z</dc:date>
    <item>
      <title>I2C lpcopen</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-lpcopen/m-p/522853#M5489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ilyas1605 on Tue Apr 29 03:30:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the lpc1769 board witch is connected to the base board. I want to read out some datas from a device using I2C due to this i connected the device to the base board. I use the lpcopen I2C example for the lpc1769 board. The program debugs well and the main menu is displayed, but when i want to read or write datas to my device, i don't get any response. Actually i tip in the adresse of the device and the register number, and then nothing happens. For Information i have connected the device to the pins PI004 and PI005 (SCL and SDA connection) on the base board. Is this right or lies the failure in the software?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope someone can help me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ilyas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-lpcopen/m-p/522853#M5489</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: I2C lpcopen</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-lpcopen/m-p/522854#M5490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rgledhill on Tue Apr 29 10:43:22 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure there are pull-ups on the SCL and SDA lines - there may be some on the LPC1769 board already, I'm not sure, but check as they will be required.&amp;nbsp; Then check your I2C Baud rate; some devices talk at 400kHz, some at only 100kHz.&amp;nbsp; I'd look at the trace lines on an oscilloscope and check the waveforms look clean (straight edges everywhere).&amp;nbsp; When debugging the software, check to see if it receives a NAK, which would mean that the remote device is ignoring the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps as a start!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:41:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-lpcopen/m-p/522854#M5490</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: I2C lpcopen</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-lpcopen/m-p/522855#M5491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ilyas1605 on Wed Apr 30 06:50:20 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for your response. I checked everthing like the pull up resistors and the baud rate. Seems good so far. And while debugging i don't receive a NAK. The only thing i&amp;nbsp; haved recognised while debugging step by step is, that the main program stops by selecting choice 6 (read and write to the slave) at this position in the program "iic-&amp;gt;mEvent(id, I2C_EVENT_WAIT);" . &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope anyone has an idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks and best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ilyas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:41:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-lpcopen/m-p/522855#M5491</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:41:47Z</dc:date>
    </item>
  </channel>
</rss>

