<?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: lpc802 hang when watchdog reset trigger after enter power down mode. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1991505#M57226</link>
    <description>&lt;P&gt;I have simplified the program as shown in the attachment. MAINCLKSEL has been set at the beginning of the program (and will not be changed).&lt;/P&gt;&lt;P&gt;When booting, pwm will be output on gpio 9.&lt;/P&gt;&lt;P&gt;When I use Delay_Delay1ms(6000); in Source/source/Main.c; watchdog can operate normally and boot normally.&lt;/P&gt;&lt;P&gt;When I use Delay_Sleep1ms(6000) in Source/source/Main.c; the watchdog should be triggered, but it cannot boot normally (no PWM output).&lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2024 02:31:25 GMT</pubDate>
    <dc:creator>frank-lin-Sunon</dc:creator>
    <dc:date>2024-11-11T02:31:25Z</dc:date>
    <item>
      <title>lpc802 hang when watchdog reset trigger after enter power down mode.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1989815#M57221</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm adding a watchdog to an old program.&lt;/P&gt;&lt;P&gt;Attached are my watchdog program and delay program (sleep will enter power dwon mode).&lt;/P&gt;&lt;P&gt;When I use the following equation, the watchdog reset can be triggered normally and booted successfully.&lt;BR /&gt;WatchDog_Init();&lt;BR /&gt;Delay_Delay1ms(6000);&lt;/P&gt;&lt;P&gt;But when I use the following equation, the reboot procedure cannot be completed.&lt;BR /&gt;WatchDog_Init();&lt;BR /&gt;Delay_Sleep1ms(6000);&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 06:23:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1989815#M57221</guid>
      <dc:creator>frank-lin-Sunon</dc:creator>
      <dc:date>2024-11-07T06:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: lpc802 hang when watchdog reset trigger after enter power down mode.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1990694#M57223</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Do you say that the LPC802 hangs when it enters power-down mode even if the watchdog reset event happens?&lt;/P&gt;
&lt;P&gt;Anyway, pls configure&amp;nbsp; to use the FRO as the main clock before you enter power-down mode.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1731034580309.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309342iD5A4D5A75A3C8532/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1731034580309.png" alt="xiangjun_rong_0-1731034580309.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you still have issue, pls post your project and describes your issue clearly so that we can duplicate your issue.&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;</description>
      <pubDate>Fri, 08 Nov 2024 02:57:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1990694#M57223</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-11-08T02:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: lpc802 hang when watchdog reset trigger after enter power down mode.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1991505#M57226</link>
      <description>&lt;P&gt;I have simplified the program as shown in the attachment. MAINCLKSEL has been set at the beginning of the program (and will not be changed).&lt;/P&gt;&lt;P&gt;When booting, pwm will be output on gpio 9.&lt;/P&gt;&lt;P&gt;When I use Delay_Delay1ms(6000); in Source/source/Main.c; watchdog can operate normally and boot normally.&lt;/P&gt;&lt;P&gt;When I use Delay_Sleep1ms(6000) in Source/source/Main.c; the watchdog should be triggered, but it cannot boot normally (no PWM output).&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 02:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1991505#M57226</guid>
      <dc:creator>frank-lin-Sunon</dc:creator>
      <dc:date>2024-11-11T02:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: lpc802 hang when watchdog reset trigger after enter power down mode.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1996330#M57264</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Regarding your question, we have the power_mode_switch example in SDK, pls download SDK package from the link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/en" target="_blank"&gt;https://mcuxpresso.nxp.com/en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1731930371217.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311029iE668168B611149D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1731930371217.png" alt="xiangjun_rong_0-1731930371217.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For your issue, it appears that you use WKT to wake-up LPC802 from power-down mode, so pls check the WKT counter in debugger and check if the counter changes with time.&lt;/P&gt;
&lt;P&gt;void Delay_Sleep1ms(int _1ms) {&lt;BR /&gt;#ifdef _DEBUG &lt;BR /&gt;Delay_Delay1ms(_1ms);&lt;BR /&gt;#else&lt;BR /&gt;LPC_WKT-&amp;gt;CTRL &amp;amp;= ~(0x08 | 0x01);&lt;BR /&gt;LPC_WKT-&amp;gt;CTRL |= (((uint32_t)(((uint32_t)(LOW_POWER_OSC)) &amp;lt;&amp;lt; WKT_CLKSEL)) &amp;amp; 0x01);&lt;BR /&gt;LPC_WKT-&amp;gt;COUNT = _1ms * 1000;&lt;BR /&gt;&lt;BR /&gt;Delay_PowerDown(true);&lt;/P&gt;
&lt;P&gt;WKT_INT = false;&lt;BR /&gt;#endif&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;It appears that you do not set SYSCON-&amp;gt;SYSAHBCLKCTRL0|=1&amp;lt;&amp;lt;9;&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;</description>
      <pubDate>Mon, 18 Nov 2024 11:53:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1996330#M57264</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-11-18T11:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: lpc802 hang when watchdog reset trigger after enter power down mode.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1996660#M57282</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Did you misunderstand my question?&lt;BR /&gt;My question is that in power down mode, watchdog reset cannot perform reset correctly.&lt;/P&gt;&lt;P&gt;"SYSCON-&amp;gt;SYSAHBCLKCTRL0|=1&amp;lt;&amp;lt;9;" has been used in Delay_Init. I also confirmed that Delay_Sleep1ms can enter power down mode and exit at the time I specify.&lt;BR /&gt;Delay_Sleep1ms(6000); in the program is intended to test the watchdog reset under power down (watchdog reset is set to 2s).&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 00:15:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc802-hang-when-watchdog-reset-trigger-after-enter-power-down/m-p/1996660#M57282</guid>
      <dc:creator>frank-lin-Sunon</dc:creator>
      <dc:date>2024-11-19T00:15:57Z</dc:date>
    </item>
  </channel>
</rss>

