<?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: LPC824 I2C Master Lockup in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-I2C-Master-Lockup/m-p/864486#M34470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel Brown,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, now when you build your project in the debugger mode, the same hardware board, no problems happens, but release version have problems, is it correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If it yes, I think it is relate to the release optimization, not the hardware problem. You can cut down the optimization level then try it again.&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 kindly let me know.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2019 10:37:15 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2019-02-18T10:37:15Z</dc:date>
    <item>
      <title>LPC824 I2C Master Lockup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-I2C-Master-Lockup/m-p/864485#M34469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I having a similar issue to the threads below but I am not not sure that the posted responses fit my case. I have an I2C0 master only (no slave enabled on this port), configured at 100 kHz. I am using LPCXpresso and the LPCOpen package for the LPC824 eval board, using the board and chip project within the LPCOpen packcage. I have been using the I2C0 peripheral successfully for 6 months communicating to the only slave on the bus a PAC1710 voltage and current monitor. The LPC MCU and the PAC1710 slave chip are both on the same PCB with pull-ups of around 2kohm. Very short wiring less than 0.5cm. I have been compiling my project in debug mode until now. The problem is that when I compile in release mode (redlib no host libraries) or when I put back to back I2C transaction too close together in time (&amp;lt; 1uS) I get a lockup in the master xfer code, the STAT register never goes back to pending after a MST_START. I never get out of the initial while loop. I will take some scopeshots and post them. But does anybody have any initial thoughts on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have heard very similar problems on this forum but none of the answers were quite right. For example, in my case, power supply is stable long before transactions begin.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://freescale.jiveon.com/thread/421791" title="https://freescale.jiveon.com/thread/421791"&gt;Re: I²C malfunction/freezing? | NXP Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://freescale.jiveon.com/thread/438529" title="https://freescale.jiveon.com/thread/438529"&gt;I&amp;amp;sup2;C malfunction/freezing of lpc824 I&amp;amp;a... | NXP Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2019 20:43:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-I2C-Master-Lockup/m-p/864485#M34469</guid>
      <dc:creator>daniel2</dc:creator>
      <dc:date>2019-02-14T20:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 I2C Master Lockup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-I2C-Master-Lockup/m-p/864486#M34470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel Brown,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, now when you build your project in the debugger mode, the same hardware board, no problems happens, but release version have problems, is it correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If it yes, I think it is relate to the release optimization, not the hardware problem. You can cut down the optimization level then try it again.&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 kindly let me know.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2019 10:37:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-I2C-Master-Lockup/m-p/864486#M34470</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-02-18T10:37:15Z</dc:date>
    </item>
  </channel>
</rss>

