<?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: BOD Unexpected Reset Issue</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOD-Unexpected-Reset-Issue/m-p/827661#M33057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I knew and have tried this fix. Disabling BOD prior to entering deep sleep mode does fix the issue. However, we still want the BOD reset at deep sleep mode. Check the section "&lt;SPAN style="color: rgb(0.000000%, 31.373000%, 25.882000%); font-weight: bold; font-size: 11.000000pt;"&gt;Enter deep-sleep mode and set up WWDT and BOD for wake-up"&amp;nbsp;&lt;/SPAN&gt;in LPC 54114 user manual. We can enter the deep sleep mode with BOD enabled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned in the original question, why do I need to power on both&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SYSCON_PDRUNCFG_PD_BOD_RST and SYSCON_PDRUNCFG_PD_BOD_INTR instead of&amp;nbsp;&lt;SPAN&gt;SYSCON_PDRUNCFG_PD_BOD_RST since I only NEED and ENABLED&amp;nbsp;BOD reset feature, but not BOD interrupt feature?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Chuan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Victor Jimenez wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Chuan Tian,&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;To resolve this issue, the BOD reset must be disabled prior to power off the BOD block and entering the low power mode. After wake-up from low power mode, BOD reset need be re-enabled by setting the BOD reset enable bit in BODCTRL register.&lt;/P&gt;&lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Victor.&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;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2018 05:52:34 GMT</pubDate>
    <dc:creator>chuan_tian</dc:creator>
    <dc:date>2018-07-03T05:52:34Z</dc:date>
    <item>
      <title>BOD Unexpected Reset Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOD-Unexpected-Reset-Issue/m-p/827659#M33055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, we are currently using LPC54114 BOD feature and found a weird issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I enter deep sleep mode with BOD reset on, interrupt off (BOD control reg is 0x04).&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN style="color: #931a68;"&gt;#define&lt;/SPAN&gt; POWER_UP_RAM_IN_DEEP_SLEEP (SYSCON_PDRUNCFG_PD_SRAM0 | SYSCON_PDRUNCFG_PD_SRAM1 \&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | SYSCON_PDRUNCFG_PD_SRAM2 | SYSCON_PDRUNCFG_PD_SRAMX \&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | SYSCON_PDRUNCFG_PD_BOD_RST )&lt;/P&gt;&lt;P&gt;Chip_POWER_EnterPowerMode(&lt;SPAN style="color: #0326cc;"&gt;POWER_DEEP_SLEEP&lt;/SPAN&gt;, POWER_UP_RAM_IN_DEEP_SLEEP);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I use PINT to wake up from deep sleep, the BOD would trigger an unexpected reset when the MCU wakes up. However, if I enter deep sleep with BOD_INTR powered on as well as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN style="color: #931a68;"&gt;#define&lt;/SPAN&gt; POWER_UP_RAM_IN_DEEP_SLEEP (SYSCON_PDRUNCFG_PD_SRAM0 | SYSCON_PDRUNCFG_PD_SRAM1 \&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | SYSCON_PDRUNCFG_PD_SRAM2 | SYSCON_PDRUNCFG_PD_SRAMX \&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | SYSCON_PDRUNCFG_PD_BOD_RST | SYSCON_PDRUNCFG_PD_BOD_INTR)&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN&gt;Chip_POWER_EnterPowerMode(&lt;/SPAN&gt;&lt;SPAN style="color: #0326cc;"&gt;POWER_DEEP_SLEEP&lt;/SPAN&gt;&lt;SPAN&gt;, POWER_UP_RAM_IN_DEEP_SLEEP);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;No reset would be triggered. I wonder why since I didn't enable BOD interrupt, I have to power on both BOD_RESET and BOD_INTR?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 02:18:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOD-Unexpected-Reset-Issue/m-p/827659#M33055</guid>
      <dc:creator>chuan_tian</dc:creator>
      <dc:date>2018-06-28T02:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: BOD Unexpected Reset Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOD-Unexpected-Reset-Issue/m-p/827660#M33056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chuan Tian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;To resolve this issue, the BOD reset must be disabled prior to power off the BOD block and entering the low power mode. After wake-up from low power mode, BOD reset need be re-enabled by setting the BOD reset enable bit in BODCTRL register.&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Victor.&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>Mon, 02 Jul 2018 17:51:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOD-Unexpected-Reset-Issue/m-p/827660#M33056</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2018-07-02T17:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: BOD Unexpected Reset Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOD-Unexpected-Reset-Issue/m-p/827661#M33057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I knew and have tried this fix. Disabling BOD prior to entering deep sleep mode does fix the issue. However, we still want the BOD reset at deep sleep mode. Check the section "&lt;SPAN style="color: rgb(0.000000%, 31.373000%, 25.882000%); font-weight: bold; font-size: 11.000000pt;"&gt;Enter deep-sleep mode and set up WWDT and BOD for wake-up"&amp;nbsp;&lt;/SPAN&gt;in LPC 54114 user manual. We can enter the deep sleep mode with BOD enabled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned in the original question, why do I need to power on both&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SYSCON_PDRUNCFG_PD_BOD_RST and SYSCON_PDRUNCFG_PD_BOD_INTR instead of&amp;nbsp;&lt;SPAN&gt;SYSCON_PDRUNCFG_PD_BOD_RST since I only NEED and ENABLED&amp;nbsp;BOD reset feature, but not BOD interrupt feature?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Chuan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Victor Jimenez wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Chuan Tian,&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;To resolve this issue, the BOD reset must be disabled prior to power off the BOD block and entering the low power mode. After wake-up from low power mode, BOD reset need be re-enabled by setting the BOD reset enable bit in BODCTRL register.&lt;/P&gt;&lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Victor.&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;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 05:52:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOD-Unexpected-Reset-Issue/m-p/827661#M33057</guid>
      <dc:creator>chuan_tian</dc:creator>
      <dc:date>2018-07-03T05:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: BOD Unexpected Reset Issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOD-Unexpected-Reset-Issue/m-p/827662#M33058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;Chuan Tian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for clarifying what you are trying to do and the issue that you are facing.&lt;/P&gt;&lt;P&gt;I modified the example "periph_pmu" provided in the LPCOpen v3.01. I keep the BOD reset on, while in deep sleep mode. When I wake up using&amp;nbsp;PINT&amp;nbsp; I don't experience any reset.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please provide me all the configurations you are making prior to enter to the deep sleep mode? So I can reproduce the behavior&amp;nbsp;you mentioned and see what is causing this in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Victor.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 19:22:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOD-Unexpected-Reset-Issue/m-p/827662#M33058</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2018-07-04T19:22:44Z</dc:date>
    </item>
  </channel>
</rss>

