<?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 external 32 kHz crystal issue in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-32-kHz-crystal-issue/m-p/511828#M32373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;i have a question regarding the power modes.&lt;BR /&gt;Already read a lot about that topic&lt;BR /&gt;&lt;A href="https://www.google.ch/search?q=kinetis+pll+fll+current+adder&amp;amp;gws_rd=cr&amp;amp;ei=TJT6VrTjFIGa6ATq946ABw#q=kinetis+optimal+low+power"&gt;https://www.google.ch/search?q=kinetis+pll+fll+current+adder&amp;amp;gws_rd=cr&amp;amp;ei=TJT6VrTjFIGa6ATq946ABw#q=kinetis+optimal+low+power&lt;/A&gt;&lt;BR /&gt;but its still not clear to me.&lt;/P&gt;&lt;P&gt;Basically i have a application that wakes my µC every second, does some stuff and goes sleep again.&lt;/P&gt;&lt;P&gt;I dont need to much compute-power, but accurate timers in the order of 1µs.&lt;/P&gt;&lt;P&gt;I already build my application with following configuration:&lt;BR /&gt;I have an external crystal with 4Mhz, then i'm using BLPE, my measurements are done in ADC DMA mode (triggered by timer ticks) while the µC is stopped.&lt;/P&gt;&lt;P&gt;Everything works fine.&lt;/P&gt;&lt;P&gt;I'm using the Kinetis Design Studio 3.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i saw in the Datasheet (i'm using the MKW01) in the section "Low power mode peripheral adders"&lt;BR /&gt;that my 4 Mhz external crystal (IEREFSTEN4MHz) is consuming 262µA. That is really&lt;BR /&gt;too much for my application. Switching to internal 4Mhz still uses 52µA what is also too much for me. &lt;BR /&gt;So my only option is to switch to an external 32 kHz crystal, which consumes less than 1 µA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have some questions.&lt;BR /&gt;1. As 32 kHz is not fast enough for my calculations and timers, i need to enable the FLL. &lt;BR /&gt; How much current consumption do the FLL add? As long as i need my accurate &lt;BR /&gt;timers of 1 µs i guess i have to leave the FLL enabled. That means like 30% of the hole time.&lt;/P&gt;&lt;P&gt;2. How much is the difference in consuption between BLPI/BLPE and FEE?&lt;/P&gt;&lt;P&gt;3. If i select "FEE" in the MCG mode, i get a Error Message that i cannot use VLPR and only BLPI or BLPE &lt;BR /&gt;are allowed. But i want to use VLPR and VLPS to save as much power as possible. During VLPS i have to use&lt;BR /&gt;the 1 µs timers to activate my DMA (the 32 kHz is too slow), so i cannot turn off the FLL and Switch to BLPE mode.&lt;BR /&gt;What can i do about it? Is it still possible to use the 32 kHz external crystal for my application?&lt;/P&gt;&lt;P&gt;One option would be to use the 32 kHz external crystal to wake me every second, and then use the 4 MHz IRC for my&lt;/P&gt;&lt;P&gt;DMA (during VLPS/BLPI), is that right? But i really would like to find a better solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Dorian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 15:43:44 GMT</pubDate>
    <dc:creator>dorianhildebran</dc:creator>
    <dc:date>2016-03-29T15:43:44Z</dc:date>
    <item>
      <title>external 32 kHz crystal issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-32-kHz-crystal-issue/m-p/511828#M32373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;i have a question regarding the power modes.&lt;BR /&gt;Already read a lot about that topic&lt;BR /&gt;&lt;A href="https://www.google.ch/search?q=kinetis+pll+fll+current+adder&amp;amp;gws_rd=cr&amp;amp;ei=TJT6VrTjFIGa6ATq946ABw#q=kinetis+optimal+low+power"&gt;https://www.google.ch/search?q=kinetis+pll+fll+current+adder&amp;amp;gws_rd=cr&amp;amp;ei=TJT6VrTjFIGa6ATq946ABw#q=kinetis+optimal+low+power&lt;/A&gt;&lt;BR /&gt;but its still not clear to me.&lt;/P&gt;&lt;P&gt;Basically i have a application that wakes my µC every second, does some stuff and goes sleep again.&lt;/P&gt;&lt;P&gt;I dont need to much compute-power, but accurate timers in the order of 1µs.&lt;/P&gt;&lt;P&gt;I already build my application with following configuration:&lt;BR /&gt;I have an external crystal with 4Mhz, then i'm using BLPE, my measurements are done in ADC DMA mode (triggered by timer ticks) while the µC is stopped.&lt;/P&gt;&lt;P&gt;Everything works fine.&lt;/P&gt;&lt;P&gt;I'm using the Kinetis Design Studio 3.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i saw in the Datasheet (i'm using the MKW01) in the section "Low power mode peripheral adders"&lt;BR /&gt;that my 4 Mhz external crystal (IEREFSTEN4MHz) is consuming 262µA. That is really&lt;BR /&gt;too much for my application. Switching to internal 4Mhz still uses 52µA what is also too much for me. &lt;BR /&gt;So my only option is to switch to an external 32 kHz crystal, which consumes less than 1 µA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have some questions.&lt;BR /&gt;1. As 32 kHz is not fast enough for my calculations and timers, i need to enable the FLL. &lt;BR /&gt; How much current consumption do the FLL add? As long as i need my accurate &lt;BR /&gt;timers of 1 µs i guess i have to leave the FLL enabled. That means like 30% of the hole time.&lt;/P&gt;&lt;P&gt;2. How much is the difference in consuption between BLPI/BLPE and FEE?&lt;/P&gt;&lt;P&gt;3. If i select "FEE" in the MCG mode, i get a Error Message that i cannot use VLPR and only BLPI or BLPE &lt;BR /&gt;are allowed. But i want to use VLPR and VLPS to save as much power as possible. During VLPS i have to use&lt;BR /&gt;the 1 µs timers to activate my DMA (the 32 kHz is too slow), so i cannot turn off the FLL and Switch to BLPE mode.&lt;BR /&gt;What can i do about it? Is it still possible to use the 32 kHz external crystal for my application?&lt;/P&gt;&lt;P&gt;One option would be to use the 32 kHz external crystal to wake me every second, and then use the 4 MHz IRC for my&lt;/P&gt;&lt;P&gt;DMA (during VLPS/BLPI), is that right? But i really would like to find a better solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Dorian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 15:43:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-32-kHz-crystal-issue/m-p/511828#M32373</guid>
      <dc:creator>dorianhildebran</dc:creator>
      <dc:date>2016-03-29T15:43:44Z</dc:date>
    </item>
  </channel>
</rss>

