<?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>LPC MicrocontrollersのトピックRe: LPC55S69 POWER_EnterPowerDown random bug</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-random-bug/m-p/1178543#M42786</link>
    <description>&lt;P&gt;Hi, Victor,&lt;/P&gt;
&lt;P&gt;Pls refer to the following remarks. I suppose that the pending interrupt leads to the issue that you can not enter the power down mode sometimes not often.&lt;/P&gt;
&lt;P&gt;so before you can the power down function, you can clear all the pending interrupt.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1604557736464.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129164i3E42BC2497ABDC43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1604557736464.png" alt="xiangjun_rong_0-1604557736464.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 06:35:34 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2020-11-05T06:35:34Z</dc:date>
    <item>
      <title>LPC55S69 POWER_EnterPowerDown random bug</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-random-bug/m-p/1177778#M42776</link>
      <description>&lt;P&gt;Hello, In our LPC55S69 project , using Freertos, we are encountering random bugs in the .POWER_EnterPowerDown API function.&lt;/P&gt;&lt;P&gt;Versions used :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;#define _NEWLIB_VERSION "3.1.0"&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;FreeRTOS Kernel V10.3.0&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;SDK 2.8, using hard ABI&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;At first,&amp;nbsp;POWER_EnterPowerDown seems to work well. However, &lt;STRONG&gt;sometimes&lt;/STRONG&gt;, the CPU gets stuck in the function without effectively going to power down (we know this because the CPU current alone is about 4mA).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Given we don't have access to the source code, what can cause this function to crash, or to loop?&lt;/LI&gt;&lt;LI&gt;Moreover, the debugger gets lost when this error happens, and we can find the following comment&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;The HARD FAULT handler should execute from SRAM. (The Hard fault handler should initiate a full chip&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;reset) reset).&lt;/EM&gt;&lt;/STRONG&gt; When using the managed linker, in what section should we put the Hardfault handler? What is exactly the attribute we should add above the function declaration/definition?&lt;/LI&gt;&lt;LI&gt;I suppose any pending interrupt before calling the function will be problematic, is that right?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks in advance for your answers,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 08:51:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-random-bug/m-p/1177778#M42776</guid>
      <dc:creator>v_canoz</dc:creator>
      <dc:date>2020-11-04T08:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 POWER_EnterPowerDown random bug</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-random-bug/m-p/1178543#M42786</link>
      <description>&lt;P&gt;Hi, Victor,&lt;/P&gt;
&lt;P&gt;Pls refer to the following remarks. I suppose that the pending interrupt leads to the issue that you can not enter the power down mode sometimes not often.&lt;/P&gt;
&lt;P&gt;so before you can the power down function, you can clear all the pending interrupt.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1604557736464.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129164i3E42BC2497ABDC43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1604557736464.png" alt="xiangjun_rong_0-1604557736464.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 06:35:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-random-bug/m-p/1178543#M42786</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-11-05T06:35:34Z</dc:date>
    </item>
  </channel>
</rss>

