<?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: LPC804 Power consumption</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1342449#M46483</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/96194"&gt;@thinkking1985&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing fine! I have been doing tests with my LPCXpresso812&lt;/P&gt;
&lt;P&gt;Test 1&amp;nbsp; &lt;SPAN&gt;Set&amp;nbsp; I/O to output low and&amp;nbsp; &amp;nbsp;disable the pull-ups&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp; Current consumption increased,&lt;/STRONG&gt;&amp;nbsp;as you mentioned,&amp;nbsp; from 1102 uA to&amp;nbsp; 1600 uA approximately&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_3-1631914170806.png" style="width: 499px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156462i59C8E8828C6C8DD0/image-dimensions/499x193?v=v2" width="499" height="193" role="button" title="diego_charles_3-1631914170806.png" alt="diego_charles_3-1631914170806.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Test 2 Set&amp;nbsp; I/O to output high&amp;nbsp; and&amp;nbsp; disable the pull-ups.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;Current consumption maintained&lt;/STRONG&gt;&amp;nbsp;, being less or equal to 1102 uA, which is the standard current consumption after reset for my LPC812 and the example that I am running. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;While in power down in 46 uA, but noticed , but&amp;nbsp; my LPC812 example was not too optimized.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditordiego_charles_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_2-1631905877394.png" style="width: 539px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156460iF2D4A4DAA14C38EE/image-dimensions/539x200?v=v2" width="539" height="200" role="button" title="diego_charles_2-1631905877394.png" alt="diego_charles_2-1631905877394.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;According to the example PMU&amp;nbsp; Modes that I recommended you earlier :&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_4-1631914606231.png" style="width: 512px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156463i0EFEFB47DE54D4BC/image-dimensions/512x146?v=v2" width="512" height="146" role="button" title="diego_charles_4-1631914606231.png" alt="diego_charles_4-1631914606231.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditordiego_charles_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;and the default SDK lpcxpresso804_power_mode_switch_lpc example&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_6-1631914722381.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156464iC18693F468CF7B6F/image-dimensions/700x133?v=v2" width="700" height="133" role="button" title="diego_charles_6-1631914722381.png" alt="diego_charles_6-1631914722381.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;In conclusion to be able to get closer to the DS current consumption we can&amp;nbsp; set GPIOs&amp;nbsp; output to high and disable internal pull-ups.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I will check with our AE&amp;nbsp; team this statement in the LPC804 DS, which lead to confusion, as make us think that to get closer measurements&amp;nbsp; we need to output pins to low.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1631915800042.png" style="width: 792px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156466i74895B8A8C79E981/image-dimensions/792x48?v=v2" width="792" height="48" role="button" title="diego_charles_0-1631915800042.png" alt="diego_charles_0-1631915800042.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that the higher consumption with the&amp;nbsp; pins set/driven to low is because&amp;nbsp; internal I/O construction path.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this could help you , and thank you for your patience.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Sep 2021 21:56:52 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2021-09-17T21:56:52Z</dc:date>
    <item>
      <title>LPC804 Power consumption</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1333348#M46368</link>
      <description>&lt;P&gt;According to the LPC804 Datasheet , I test&amp;nbsp; the power dowm mode and I found the power consumption too high.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thinkking1985_0-1630509467662.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/154815i4658B11A6A67F8A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thinkking1985_0-1630509467662.png" alt="thinkking1985_0-1630509467662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2:demo code:&lt;BR /&gt;&lt;BR /&gt;for (i = 0; i &amp;lt; 30; i++)//disable pull-up&lt;BR /&gt;{&lt;BR /&gt;modefunc = (IOCON-&amp;gt;PIO[i] &amp;amp; (~IOCON_PIO_MODE_MASK)) [UNK] IOCON_PIO_MODE(0UL);&lt;BR /&gt;IOCON_PinMuxSet(IOCON, (uint8_t)i, modefunc);&lt;BR /&gt;}&lt;BR /&gt;/*Set the pin to output and output low*/&lt;BR /&gt;gpioPinConfigStruct.pinDirection = kGPIO_DigitalOutput;&lt;BR /&gt;gpioPinConfigStruct.outputLogic =0UL;&lt;BR /&gt;for (i = 0; i &amp;lt;= 30; i++)&lt;BR /&gt;{ }&lt;BR /&gt;GPIO_PinInit(GPIO, 0UL, i, &amp;amp;gpioPinConfigStruct);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;3:test result&lt;/P&gt;&lt;P&gt;1）：disable pull-up and set the pin to output and output low:1323uA&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thinkking1985_1-1630509759522.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/154816iD68AB700EDA01D4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thinkking1985_1-1630509759522.png" alt="thinkking1985_1-1630509759522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) enable &lt;/SPAN&gt;&lt;SPAN&gt;pull-down and and set the pin to output and output low：&lt;/SPAN&gt;&lt;SPAN&gt;1338uA&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thinkking1985_2-1630509826626.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/154817i6BAD5E423966BBB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thinkking1985_2-1630509826626.png" alt="thinkking1985_2-1630509826626.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The test results are inconsistent with the datasheet .&lt;/P&gt;&lt;P&gt;Can you provide detailed test documents for verification?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 15:26:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1333348#M46368</guid>
      <dc:creator>thinkking1985</dc:creator>
      <dc:date>2021-09-01T15:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 Power consumption</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1335580#M46414</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/96194"&gt;@thinkking1985&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well!&lt;/P&gt;
&lt;P&gt;Ok, another thing to look in your setup is ensuring that the BOD is disabled, to decrease power consumption.&lt;/P&gt;
&lt;P&gt;To perform&amp;nbsp; current measurements , we recommend to refer to the&amp;nbsp; PMU_Modes example from the LPC804 Code bundle (&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc800-cortex-m0-plus-/low-cost-microcontrollers-mcus-based-on-arm-cortex-m0-plus-core:LPC80X?tab=Design_Tools_Tab" target="_self"&gt;available for MCUXpresso , KEIL and IAR IDEs&lt;/A&gt;) In the README.txt of the example you will find a note&amp;nbsp; indicating typical current consumption&amp;nbsp; measurements, which are close to the datasheet specs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;Power mode        Typical VDD_main current running from 12 MHz FRO
==================================================================
while(1)          1.4   mA
Sleep             0.58  mA
Deep sleep        124.0 uA
Power down        6.00  uA
Deep power down   0.16  uA&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you using a custom board? Or are you able to test with one of our demo boards?&lt;/P&gt;
&lt;P&gt;I hope this could help you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P&gt;___________________________________________________________________________________&lt;/P&gt;
&lt;P&gt;- Do not forget to mark&amp;nbsp; a&amp;nbsp; reply with&amp;nbsp; ACCEPT AS SOLUTION , if&amp;nbsp; solves your inquiry.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are not following threads after 7&amp;nbsp; weeks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 15:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1335580#M46414</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-09-06T15:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 Power consumption</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1335667#M46416</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;Diego&lt;/P&gt;&lt;P&gt;the customer' board as follow,the board is the smallest system and has no other functions.Use PMU_ The mode demo code can't get the above result, Thank you.&lt;BR /&gt;tks a lot.&lt;/P&gt;&lt;P&gt;My question is according to the LPC804 datasheet, set the IO port to the output mode. disable the pull-up and output is low. Why does the power consumption get high? But I set the IO port to the input mode t and enable pull-up. The power consumption data is very low.&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LPC804.png" style="width: 636px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155235i839606904903B1D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="LPC804.png" alt="LPC804.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 00:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1335667#M46416</guid>
      <dc:creator>thinkking1985</dc:creator>
      <dc:date>2021-09-07T00:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 Power consumption</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1335675#M46418</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Diego&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1: I tested code is attached. Can you help me test it? Thank you.&lt;/P&gt;&lt;P&gt;2:Project demo:&lt;/P&gt;&lt;P&gt;SDK_2.9.0_LPCXpresso804_20210822\boards\lpcxpresso804\demo_apps\power_mode_switch_lpc\mdk&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 01:15:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1335675#M46418</guid>
      <dc:creator>thinkking1985</dc:creator>
      <dc:date>2021-09-07T01:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 Power consumption</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1342449#M46483</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/96194"&gt;@thinkking1985&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing fine! I have been doing tests with my LPCXpresso812&lt;/P&gt;
&lt;P&gt;Test 1&amp;nbsp; &lt;SPAN&gt;Set&amp;nbsp; I/O to output low and&amp;nbsp; &amp;nbsp;disable the pull-ups&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp; Current consumption increased,&lt;/STRONG&gt;&amp;nbsp;as you mentioned,&amp;nbsp; from 1102 uA to&amp;nbsp; 1600 uA approximately&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_3-1631914170806.png" style="width: 499px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156462i59C8E8828C6C8DD0/image-dimensions/499x193?v=v2" width="499" height="193" role="button" title="diego_charles_3-1631914170806.png" alt="diego_charles_3-1631914170806.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Test 2 Set&amp;nbsp; I/O to output high&amp;nbsp; and&amp;nbsp; disable the pull-ups.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;Current consumption maintained&lt;/STRONG&gt;&amp;nbsp;, being less or equal to 1102 uA, which is the standard current consumption after reset for my LPC812 and the example that I am running. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;While in power down in 46 uA, but noticed , but&amp;nbsp; my LPC812 example was not too optimized.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditordiego_charles_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_2-1631905877394.png" style="width: 539px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156460iF2D4A4DAA14C38EE/image-dimensions/539x200?v=v2" width="539" height="200" role="button" title="diego_charles_2-1631905877394.png" alt="diego_charles_2-1631905877394.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;According to the example PMU&amp;nbsp; Modes that I recommended you earlier :&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_4-1631914606231.png" style="width: 512px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156463i0EFEFB47DE54D4BC/image-dimensions/512x146?v=v2" width="512" height="146" role="button" title="diego_charles_4-1631914606231.png" alt="diego_charles_4-1631914606231.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditordiego_charles_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;and the default SDK lpcxpresso804_power_mode_switch_lpc example&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_6-1631914722381.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156464iC18693F468CF7B6F/image-dimensions/700x133?v=v2" width="700" height="133" role="button" title="diego_charles_6-1631914722381.png" alt="diego_charles_6-1631914722381.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;In conclusion to be able to get closer to the DS current consumption we can&amp;nbsp; set GPIOs&amp;nbsp; output to high and disable internal pull-ups.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I will check with our AE&amp;nbsp; team this statement in the LPC804 DS, which lead to confusion, as make us think that to get closer measurements&amp;nbsp; we need to output pins to low.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1631915800042.png" style="width: 792px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156466i74895B8A8C79E981/image-dimensions/792x48?v=v2" width="792" height="48" role="button" title="diego_charles_0-1631915800042.png" alt="diego_charles_0-1631915800042.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that the higher consumption with the&amp;nbsp; pins set/driven to low is because&amp;nbsp; internal I/O construction path.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this could help you , and thank you for your patience.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 21:56:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-Power-consumption/m-p/1342449#M46483</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-09-17T21:56:52Z</dc:date>
    </item>
  </channel>
</rss>

