<?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: Slave I2C No interrupt when Data Received in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Slave-I2C-No-interrupt-when-Data-Received/m-p/668280#M26725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you for reply,&lt;/P&gt;&lt;P&gt;I had find my software bug for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Aug 2017 01:45:16 GMT</pubDate>
    <dc:creator>kensu</dc:creator>
    <dc:date>2017-08-09T01:45:16Z</dc:date>
    <item>
      <title>Slave I2C No interrupt when Data Received</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Slave-I2C-No-interrupt-when-Data-Received/m-p/668278#M26723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using LPC1830 slave i2c, there is an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For slave i2c, it use interrupt to receive data. I check the i2c waveform, the LPC1830 HW is correct, all bytes from master are received because each byte have ACK from LPC1830.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in SW, the interrupt only happen when all transaction is complete, it means the interrupt will only 1 times&amp;nbsp;no matter how many bytes send.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct behavior&amp;nbsp;should be&amp;nbsp;each byte will trigger an interrupt and the i2c slave RX buffer receive these bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why only all transaction is complete, and it will trigger one interrupt.&lt;/P&gt;&lt;P&gt;(I had evaluate the same source code on LPC1857, it's work. But for LPC1830, it's fail)&lt;/P&gt;&lt;P&gt;Please give me some comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 10:17:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Slave-I2C-No-interrupt-when-Data-Received/m-p/668278#M26723</guid>
      <dc:creator>kensu</dc:creator>
      <dc:date>2017-08-07T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Slave I2C No interrupt when Data Received</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Slave-I2C-No-interrupt-when-Data-Received/m-p/668279#M26724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken Su,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The SI is the I2C interrupt Flag, this bit is set when the I2C state changes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16189i4AE16BC75DB20CDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So, you can check your I2C state, whether the state is changed?&lt;/P&gt;&lt;P&gt;Besides, I find in the errata, there has some descriptions about the I2C, you can do the work-around about it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16287i3A7C0A7000F4EE08/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question about it, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 06:08:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Slave-I2C-No-interrupt-when-Data-Received/m-p/668279#M26724</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-08T06:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Slave I2C No interrupt when Data Received</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Slave-I2C-No-interrupt-when-Data-Received/m-p/668280#M26725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you for reply,&lt;/P&gt;&lt;P&gt;I had find my software bug for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 01:45:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Slave-I2C-No-interrupt-when-Data-Received/m-p/668280#M26725</guid>
      <dc:creator>kensu</dc:creator>
      <dc:date>2017-08-09T01:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Slave I2C No interrupt when Data Received</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Slave-I2C-No-interrupt-when-Data-Received/m-p/668281#M26726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ken,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you very much for your updated information and the root problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If your question is solved, please mark the correct answer to close this post, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 02:13:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Slave-I2C-No-interrupt-when-Data-Received/m-p/668281#M26726</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-09T02:13:42Z</dc:date>
    </item>
  </channel>
</rss>

