<?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: KL28 SIRC power consumption abnormal in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/1599570#M64703</link>
    <description>&lt;P&gt;I have similar problem. Did you finally solved the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 11:45:32 GMT</pubDate>
    <dc:creator>Mehrzad</dc:creator>
    <dc:date>2023-02-15T11:45:32Z</dc:date>
    <item>
      <title>KL28 SIRC power consumption abnormal</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/774640#M47096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the situation, we are testing the KL28 power consumption on a board with only MCU, 10k ohm reset pull up register and VDD3.3V&amp;nbsp;c&lt;SPAN style="color: #545454; background-color: #ffffff; font-size: small;"&gt;apacitor. The code does nothing but initialize the system clock and goes to VLPS mode in a dead loop. SIRC is enabled at 8MHz. FIRC, SOSC and SPLL are disabled. Every thing else on the board is at reset state. With SIRC disabled in low power stop mode the average current is 4.7uA as expected. But when SIRC enabled in low power stop mode the current increases to 200uA, it seems that SIRC costs near 200uA, several times higher than the number in the datasheet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #545454; background-color: #ffffff; font-size: small;"&gt;Is there any clue about this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:48:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/774640#M47096</guid>
      <dc:creator>liangliangma</dc:creator>
      <dc:date>2017-11-14T09:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: KL28 SIRC power consumption abnormal</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/774641#M47097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linagliang,&lt;/P&gt;&lt;P&gt;I test your question on my FRDM-KL28 board. I didn't found any problem. I test it on the SDK_2.2_FRDM-KL28Z\boards\frdmkl28z\demo_apps\power_manager. It seems ok.&lt;/P&gt;&lt;P&gt;have you set SIRCDIV1,SIRCDIV2,SIRCDIV3 to 000?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 09:23:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/774641#M47097</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2017-11-15T09:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: KL28 SIRC power consumption abnormal</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/774642#M47098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no difference if SIRCDIV3 is 0 or 2. SIRCDIV1 and SIRCDIV2 are always 0. Our plan is to keep SIRC and LPUART always on to avoid data losing in communication&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 08:35:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/774642#M47098</guid>
      <dc:creator>liangliangma</dc:creator>
      <dc:date>2017-11-16T08:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: KL28 SIRC power consumption abnormal</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/774643#M47099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I use the SDK_2.2_FRDM-KL28Z\boards\frdmkl28z\demo_apps\power_manager as example.&amp;nbsp;And only&amp;nbsp;made a small change in SMC_SetPowerModeVlps().&lt;/P&gt;&lt;P&gt;status_t SMC_SetPowerModeVlps(SMC_Type *base)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t reg;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t backreg,backreg2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* configure VLPS mode */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg = base-&amp;gt;PMCTRL;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg &amp;amp;= ~SMC_PMCTRL_STOPM_MASK;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg |= (kSMC_StopVlps &amp;lt;&amp;lt; SMC_PMCTRL_STOPM_SHIFT);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; base-&amp;gt;PMCTRL = reg;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; backreg=SCG-&amp;gt;SIRCDIV;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCG-&amp;gt;SIRCDIV=0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; backreg2=SCG-&amp;gt;SIRCCSR;&lt;BR /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; SCG-&amp;gt;SIRCCSR=backreg2&amp;amp;(~(1&amp;lt;&amp;lt;1));&amp;nbsp; //slow IRC disable in stop mode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCG-&amp;gt;SIRCCSR=backreg2|7;&amp;nbsp; //slow IRC enable, in stop/vlp mode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set the SLEEPDEEP bit to enable deep sleep mode */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCB-&amp;gt;SCR |= SCB_SCR_SLEEPDEEP_Msk;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* read back to make sure the configuration valid before enter stop mode */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void)base-&amp;gt;PMCTRL;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __DSB();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __WFI();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __ISB();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCG-&amp;gt;SIRCDIV=backreg;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* check whether the power mode enter VLPS mode succeed */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (base-&amp;gt;PMCTRL &amp;amp; SMC_PMCTRL_STOPA_MASK)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return kStatus_SMC_StopAbort;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return kStatus_Success;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I&amp;nbsp;measure the current, it seems ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 03:12:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/774643#M47099</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2017-11-17T03:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: KL28 SIRC power consumption abnormal</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/774644#M47100</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;Good to hear it works, but still not on my board. Here is the code I used to test, it does nothing but initializes the clock and running mode, and then goes to VLPS mode with interrupt disabled. The SIRCDIV3 is set to 2 here, but the current is the same whether it is 0 or 2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; __disable_interrupt();&lt;/P&gt;&lt;P&gt;/* Enable SIRC at 8MHz, SIRC_DIV3 = 4MHz */&lt;BR /&gt; SCG-&amp;gt;SIRCDIV = SCG_SIRCDIV_SIRCDIV1(0) + SCG_SIRCDIV_SIRCDIV2(0) +&lt;BR /&gt; SCG_SIRCDIV_SIRCDIV3(2);&lt;/P&gt;&lt;P&gt;SCG-&amp;gt;SIRCCFG = SCG_SIRCCFG_RANGE_MASK;&lt;/P&gt;&lt;P&gt;/* Enable SIRC in STOP and Low power mode */&lt;BR /&gt; SCG-&amp;gt;SIRCCSR = SCG_SIRCCSR_SIRCEN_MASK | SCG_SIRCCSR_SIRCSTEN_MASK |&lt;BR /&gt; SCG_SIRCCSR_SIRCLPEN_MASK;&lt;BR /&gt; while ((SCG-&amp;gt;SIRCCSR &amp;amp; SCG_SIRCCSR_SIRCVLD_MASK) == 0) {&lt;BR /&gt; /* Wait for SIRC to stable */&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;/* Set mode to RUN mode and VLPS mode */&lt;BR /&gt; SMC-&amp;gt;PMCTRL = SMC_PMCTRL_RUNM(0) + SMC_PMCTRL_STOPM(2);&lt;BR /&gt; while (SMC-&amp;gt;PMSTAT != SMC_PMSTAT_PMSTAT(1)) {&lt;BR /&gt; /* Wait for system transitting to RUN mode */&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;/* Set Run mode with SIRC at DIVCORE = 4MHz, DIVSLOW = 4MHz */&lt;BR /&gt; SCG-&amp;gt;RCCR = SCG_RCCR_DIVCORE(1) + SCG_RCCR_DIVSLOW(1) + SCG_RCCR_SCS(2);&lt;BR /&gt; while ((SCG-&amp;gt;CSR &amp;amp; SCG_CSR_SCS_MASK) != SCG_CSR_SCS(2)) {&lt;BR /&gt; /* Wait for RUN mode clock transitting to SIRC */&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;/* Set VLPR mode with SIRC at DIVCORE = 4MHz, DIVSLOW = 1MHz */&lt;BR /&gt; SCG-&amp;gt;VCCR = SCG_VCCR_DIVCORE(1) + SCG_VCCR_DIVSLOW(7) + SCG_VCCR_SCS(2);&lt;/P&gt;&lt;P&gt;/* Disable SOSC */&lt;BR /&gt; SCG-&amp;gt;SOSCCSR = SCG_SOSCCSR_SOSCERR_MASK;&lt;/P&gt;&lt;P&gt;/* Disable FIRC */&lt;BR /&gt; SCG-&amp;gt;FIRCCSR = SCG_FIRCCSR_FIRCERR_MASK;&lt;/P&gt;&lt;P&gt;/* Disable SPLL */&lt;BR /&gt; SCG-&amp;gt;SPLLCSR = SCG_SPLLCSR_SPLLERR_MASK;&lt;/P&gt;&lt;P&gt;/* Allow VLP modes */&lt;BR /&gt; SMC-&amp;gt;PMPROT = SMC_PMPROT_AVLP_MASK;&lt;/P&gt;&lt;P&gt;/* Set the SLEEPDEEP bit to enable deep sleep mode */&lt;BR /&gt; SCB-&amp;gt;SCR |= SCB_SCR_SLEEPDEEP_Msk;&lt;/P&gt;&lt;P&gt;/* Change to VLPR mode */&lt;BR /&gt; /* Set mode to RUN mode and VLPS mode */&lt;BR /&gt; SMC-&amp;gt;PMCTRL = SMC_PMCTRL_RUNM(2) + SMC_PMCTRL_STOPM(2);&lt;BR /&gt; while (SMC-&amp;gt;PMSTAT != SMC_PMSTAT_PMSTAT(4)) {&lt;BR /&gt; /* Wait for system transitting to VLPR mode */&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;while (1) {&lt;BR /&gt; SMC-&amp;gt;PMCTRL &amp;amp;= ~SMC_PMCTRL_STOPM_MASK;&lt;BR /&gt; SMC-&amp;gt;PMCTRL |= SMC_PMCTRL_STOPM(2); /* VLPS */&lt;/P&gt;&lt;P&gt;/* read back to make sure the configuration valid before enter stop mode */&lt;BR /&gt; (void)SMC-&amp;gt;PMCTRL;&lt;BR /&gt; __DSB();&lt;BR /&gt; __WFI();&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 04:15:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/774644#M47100</guid>
      <dc:creator>liangliangma</dc:creator>
      <dc:date>2017-11-17T04:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: KL28 SIRC power consumption abnormal</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/1599570#M64703</link>
      <description>&lt;P&gt;I have similar problem. Did you finally solved the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 11:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL28-SIRC-power-consumption-abnormal/m-p/1599570#M64703</guid>
      <dc:creator>Mehrzad</dc:creator>
      <dc:date>2023-02-15T11:45:32Z</dc:date>
    </item>
  </channel>
</rss>

