<?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: Problem in lpc17xx_i2c.c in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Problem-in-lpc17xx-i2c-c/m-p/590556#M29170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_USA on Mon Dec 06 11:28:46 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is a good catch. This change will be rolled into an upcoming LPC17xx example package release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-NXP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:26:24 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:26:24Z</dc:date>
    <item>
      <title>Problem in lpc17xx_i2c.c</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Problem-in-lpc17xx-i2c-c/m-p/590555#M29169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mfc on Sun Dec 05 02:56:55 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I discovered a problem in the subject source code today -- I cannot find where to report it, so I'm putting it here in the hope that it might save someone some time.&amp;nbsp;&amp;nbsp; The problem it causes is that the i2c2 clock runs twice as fast as specified, which could make some devices unreliable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike Cowlishaw&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New]In lpc17xx_i2c.c the I2C_SetClock function has an error; in the case of I2Cx == LPC_I2C2, the line[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT][FONT=Courier New]&amp;nbsp; temp = CLKPWR_GetPCLK (CLKPWR_PCLKSEL_I2C1) / target_clock;[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT][FONT=Courier New]should be:[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT][FONT=Courier New]&amp;nbsp; temp = CLKPWR_GetPCLK (CLKPWR_PCLKSEL_I2C2) / target_clock;[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Problem-in-lpc17xx-i2c-c/m-p/590555#M29169</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in lpc17xx_i2c.c</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Problem-in-lpc17xx-i2c-c/m-p/590556#M29170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_USA on Mon Dec 06 11:28:46 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is a good catch. This change will be rolled into an upcoming LPC17xx example package release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-NXP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Problem-in-lpc17xx-i2c-c/m-p/590556#M29170</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in lpc17xx_i2c.c</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Problem-in-lpc17xx-i2c-c/m-p/590557#M29171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mfc on Mon Dec 06 12:36:14 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: NXP_USA&lt;/STRONG&gt;&lt;BR /&gt;Hi Mike,&lt;BR /&gt; &lt;BR /&gt;That is a good catch. This change will be rolled into an upcoming LPC17xx example package release.&lt;BR /&gt; &lt;BR /&gt;-NXP&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is an easy fix :-).&amp;nbsp;&amp;nbsp; Sounds good.&amp;nbsp; Where is the right place to get the current updates, release, etc?&amp;nbsp; It's hard to find (I have not found it yet!).&amp;nbsp; And, ideally, a way to be notified of new updates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks -- Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Problem-in-lpc17xx-i2c-c/m-p/590557#M29171</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:26:25Z</dc:date>
    </item>
  </channel>
</rss>

