<?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>Kinetis Microcontrollers中的主题 KL05Z8 Very Low Power mode not working as expected</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598715#M35103</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'm trying to put my board which has a KL05Z8 MCU into VLPS mode. When I do this I get around 200uA of current, which is too high. According to the datasheet, this number should be closer to 2-3uA. The MCU is set to use fast internal 4MHz in BLPI mode, core clock is set to 1MHz, and bus speed to 0.5MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the &lt;STRONG&gt;identical&lt;/STRONG&gt; code on the KL05 FRDM board which has a KL05Z32 MCU on it, I'm correctly getting 2.9 uA.&lt;/P&gt;&lt;P&gt;According to datasheets these two chips should be identical, and only their flash/ram size should be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the board there is only the MCU connected to 3.3V and a reset line which goes to 3.3V through a 100K resistor which means that the measured current is certainly going in the MCU itself, there are no other components around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the reason for this excess power consumption? Is is possible that there is a problem with MCU itself? I made 20 boards and so far they all seem to exhibit similar behaviour, although the numbers for the current are slightly different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Nov 2016 14:59:58 GMT</pubDate>
    <dc:creator>srdjanstokic</dc:creator>
    <dc:date>2016-11-16T14:59:58Z</dc:date>
    <item>
      <title>KL05Z8 Very Low Power mode not working as expected</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598715#M35103</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'm trying to put my board which has a KL05Z8 MCU into VLPS mode. When I do this I get around 200uA of current, which is too high. According to the datasheet, this number should be closer to 2-3uA. The MCU is set to use fast internal 4MHz in BLPI mode, core clock is set to 1MHz, and bus speed to 0.5MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the &lt;STRONG&gt;identical&lt;/STRONG&gt; code on the KL05 FRDM board which has a KL05Z32 MCU on it, I'm correctly getting 2.9 uA.&lt;/P&gt;&lt;P&gt;According to datasheets these two chips should be identical, and only their flash/ram size should be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the board there is only the MCU connected to 3.3V and a reset line which goes to 3.3V through a 100K resistor which means that the measured current is certainly going in the MCU itself, there are no other components around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the reason for this excess power consumption? Is is possible that there is a problem with MCU itself? I made 20 boards and so far they all seem to exhibit similar behaviour, although the numbers for the current are slightly different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 14:59:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598715#M35103</guid>
      <dc:creator>srdjanstokic</dc:creator>
      <dc:date>2016-11-16T14:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: KL05Z8 Very Low Power mode not working as expected</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598716#M35104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the debugger tool connects with the board? If yes, please remove the debugger tool.&lt;/P&gt;&lt;P&gt;And I recommend customer to replace the reset pin 100K ohm pull up resistor with 10K ohm resistor.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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>Thu, 17 Nov 2016 04:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598716#M35104</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-11-17T04:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: KL05Z8 Very Low Power mode not working as expected</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598717#M35105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/bmwhui"&gt;bmwhui&lt;/A&gt;‌ I tried this and it didn't help. In normal run mode the consumption is around 1-2mA which is according to spec, when I run it in VLPR mode power goes down to 300uA, which is slightly higher that it should. Then I try to put it in VLPS and the current goes down to 200uA but not lower. I'm banging my head over this for more than a week, and cannot find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code I'm using to put the device to VLPS. This code works perfectly on KL0532 but not on KL0508. on KL0532 I get 1.7uA when I execute this code, on Kl0508 I'm stuck to 200uA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_SCGC5 |= (SIM_SCGC5_PORTA_MASK | SIM_SCGC5_PORTB_MASK); // Enable PORTA and PORTB clocks&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SMC_PMPROT = SMC_PMPROT_AVLP_MASK |&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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;&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;&amp;nbsp;&amp;nbsp; SMC_PMPROT_ALLS_MASK |&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;SMC_PMPROT_AVLLS_MASK;&amp;nbsp; /* Setup Power mode protection register */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm ("CPSID i"); // Disable interrupts&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR0 = PORT_PCR_MUX(1); &amp;nbsp;&amp;nbsp;&amp;nbsp;// Set PA0 and PA2 SWD pins to GPIO&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR2 = PORT_PCR_MUX(1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR1 = PORT_PCR_MUX(1);&amp;nbsp;&amp;nbsp;&amp;nbsp;// Set PA1 reset pin to GPIO&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PDDR = 0x7;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PDOR = 0x0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* SCB_SCR: SLEEPDEEP=1 */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SCB_SCR |= SCB_SCR_SLEEPDEEP_MASK;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SMC_PMPROT = SMC_PMPROT_AVLP_MASK;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* SMC_PMCTRL: STOPM=0 */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SMC_PMCTRL &amp;amp;= (uint8_t)~(uint8_t)(SMC_PMCTRL_STOPM(0x07));&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SMC_PMCTRL |=&amp;nbsp; SMC_PMCTRL_STOPM(0x2);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;(void)(SMC_PMCTRL == 0U);&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* Dummy read of SMC_PMCTRL to ensure the register is written before enterring low power mode */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* SCB_SCR: SLEEPONEXIT=0 */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SCB_SCR &amp;amp;= (uint32_t)~(uint32_t)(SCB_SCR_SLEEPONEXIT_MASK);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;__asm("WFI"); &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 12:47:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598717#M35105</guid>
      <dc:creator>srdjanstokic</dc:creator>
      <dc:date>2016-11-17T12:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: KL05Z8 Very Low Power mode not working as expected</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598718#M35106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried to let KL05Z08 chip enter into VLPS mode directly from RUN mode?&lt;/P&gt;&lt;P&gt;What's the power consumption (RUN -&amp;gt; VLPS)?&lt;/P&gt;&lt;P&gt;I check you attached code, which should works.&lt;/P&gt;&lt;P&gt;Could you let us know how many boards with KL05Z08 chip enter into VLPS mode with 200uA power consumption?&lt;/P&gt;&lt;P&gt;And could you provide the KL05Z08 chip part number and chip surface print info?&lt;/P&gt;&lt;P&gt;I need to check with Kinetis product team about this issue.&lt;/P&gt;&lt;P&gt;Thank you for the attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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>Fri, 18 Nov 2016 08:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598718#M35106</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-11-18T08:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: KL05Z8 Very Low Power mode not working as expected</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598719#M35107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All 20 boards exhibit same behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The marking on the chip is : M05R3V AEF GC and the register value is Rev id =1&amp;nbsp; Dieid =08.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasn't sure how to figure out the mask number from this information. I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 08:46:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598719#M35107</guid>
      <dc:creator>srdjanstokic</dc:creator>
      <dc:date>2016-11-18T08:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: KL05Z8 Very Low Power mode not working as expected</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598720#M35108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am checking with Kinetis product team about this issues.&lt;/P&gt;&lt;P&gt;Thank you for the patience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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, 21 Nov 2016 09:00:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598720#M35108</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-11-21T09:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: KL05Z8 Very Low Power mode not working as expected</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598721#M35109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our Kinetis L product team need customer schematics for further analysis.&lt;/P&gt;&lt;P&gt;Could you provide your board schematics?&lt;/P&gt;&lt;P&gt;If customer could try to config the unused pin as GPIO function, and set output 0; then check again the power consumption.&lt;/P&gt;&lt;P&gt;And if customer could share more info about the application, what kind of ended product?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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, 28 Nov 2016 06:10:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05Z8-Very-Low-Power-mode-not-working-as-expected/m-p/598721#M35109</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-11-28T06:10:28Z</dc:date>
    </item>
  </channel>
</rss>

