<?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: LPC1769 I2C Slave not working correctly in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-I2C-Slave-not-working-correctly/m-p/567969#M19110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by atomicdog on Thu May 30 16:02:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This &lt;/SPAN&gt;&lt;A href="http://http://knowledgebase.nxp.com/showthread.php?t=1860"&gt;code&lt;/A&gt;&lt;SPAN&gt; works with the 1769 also, you just have to change the header from 1114 to 1769.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:20:15 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:20:15Z</dc:date>
    <item>
      <title>LPC1769 I2C Slave not working correctly</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-I2C-Slave-not-working-correctly/m-p/567968#M19109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by deeearth on Thu May 30 03:48:40 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ive been trying to use the LPCxpressco&amp;nbsp; as a slave device, so that i can sent an a couple of bytes to the board to say what pin/port i want to toggle, and light up some leds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my main program would just run forever when an i2c event happens an interupt is called, main will check when the slave state is has sent the nack then turn on the led.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attached is the program as i currently have it, could someone please help, ive just taken the example from the NXP i2c slave changed the address, and commented out any slave transation that i shouldnt need as per fig 95 on the UM10360 user manual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What i can see with the i2c logger is the slave acking the i2c but when i only sent 3 bytes of slave address, pin then port an ack gets sent each time i dont understand why the i2c stat isnt read as 0x88 to nack the last byte.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if anyone has any ideas or better yet working i2c slave code would be great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dee&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:20:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-I2C-Slave-not-working-correctly/m-p/567968#M19109</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 I2C Slave not working correctly</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-I2C-Slave-not-working-correctly/m-p/567969#M19110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by atomicdog on Thu May 30 16:02:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This &lt;/SPAN&gt;&lt;A href="http://http://knowledgebase.nxp.com/showthread.php?t=1860"&gt;code&lt;/A&gt;&lt;SPAN&gt; works with the 1769 also, you just have to change the header from 1114 to 1769.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-I2C-Slave-not-working-correctly/m-p/567969#M19110</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 I2C Slave not working correctly</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-I2C-Slave-not-working-correctly/m-p/567970#M19111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ByronShaw on Tue Jul 09 22:44:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: deeearth&lt;/STRONG&gt;&lt;BR /&gt;[U][COLOR=black]hi all,&lt;BR /&gt; &lt;BR /&gt;Ive been trying to use the LPCxpressco&amp;nbsp; as a slave device, so that i can sent an a couple of bytes to the board to say what pin/port i want to toggle, and light up some[/COLOR] &lt;A href="http://http://www.niceledlights.com"&gt;[COLOR=Black]led lighting[/COLOR]&lt;/A&gt;[COLOR=black].&lt;BR /&gt; &lt;BR /&gt;In my main program would just run forever when an i2c event happens an interupt is called, main will check when the slave state is has sent the nack then turn on the led.&lt;BR /&gt; &lt;BR /&gt;attached is the program as i currently have it, could someone please help, ive just taken the example from the NXP i2c slave changed the address, and commented out any slave transation that i shouldnt need as per fig 95 on the UM10360 user manual.&lt;BR /&gt; &lt;BR /&gt;What i can see with the i2c logger is the slave acking the i2c but when i only sent 3 bytes of slave address, pin then port an ack gets sent each time i dont understand why the i2c stat isnt read as 0x88 to nack the last byte.&lt;BR /&gt; &lt;BR /&gt;if anyone has any ideas or better yet working i2c slave code would be great!&lt;BR /&gt; &lt;BR /&gt;thanks&lt;BR /&gt; &lt;BR /&gt;Dee[/COLOR][/U]&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not having good ideas of working it in slave mode but your information is helping me a lot..I will try your way to work it in slave mode&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-I2C-Slave-not-working-correctly/m-p/567970#M19111</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:20:15Z</dc:date>
    </item>
  </channel>
</rss>

