<?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のトピックClock Settings</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Settings/m-p/675315#M41510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a project powered with a battery. So in order to reduce power consumption (besides sleep mode) I want to lower the clock frequency.&lt;/P&gt;&lt;P&gt;But in pll_init() I see the following limitations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;// Check PLL divider settings are within spec.&lt;BR /&gt;&amp;nbsp; if ((prdiv_val &amp;lt; 1) || (prdiv_val &amp;gt; 8)) {return 0x41;}&lt;BR /&gt;&amp;nbsp; if ((vdiv_val &amp;lt; 16) || (vdiv_val &amp;gt; 47)) {return 0x42;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Check PLL reference clock frequency is within spec.&lt;BR /&gt;&amp;nbsp; ref_freq = crystal_val / prdiv_val;&lt;BR /&gt;&amp;nbsp; if ((ref_freq &amp;lt; 8000000) || (ref_freq &amp;gt; 32000000)) {return 0x43;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;// Check PLL output frequency is within spec.&lt;BR /&gt;&amp;nbsp; pll_freq = (crystal_val / prdiv_val) * vdiv_val;&lt;BR /&gt;&amp;nbsp; if ((pll_freq &amp;lt; 180000000) || (pll_freq &amp;gt; 360000000)) {return 0x45;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last limitation contradicts others. Or I don't understand something.&lt;/P&gt;&lt;P&gt;What minimum frequency I can get, considering I work with MK70FN1M0VMJ12?&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="159"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jun 2017 06:22:40 GMT</pubDate>
    <dc:creator>john71</dc:creator>
    <dc:date>2017-06-28T06:22:40Z</dc:date>
    <item>
      <title>Clock Settings</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Settings/m-p/675315#M41510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a project powered with a battery. So in order to reduce power consumption (besides sleep mode) I want to lower the clock frequency.&lt;/P&gt;&lt;P&gt;But in pll_init() I see the following limitations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;// Check PLL divider settings are within spec.&lt;BR /&gt;&amp;nbsp; if ((prdiv_val &amp;lt; 1) || (prdiv_val &amp;gt; 8)) {return 0x41;}&lt;BR /&gt;&amp;nbsp; if ((vdiv_val &amp;lt; 16) || (vdiv_val &amp;gt; 47)) {return 0x42;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Check PLL reference clock frequency is within spec.&lt;BR /&gt;&amp;nbsp; ref_freq = crystal_val / prdiv_val;&lt;BR /&gt;&amp;nbsp; if ((ref_freq &amp;lt; 8000000) || (ref_freq &amp;gt; 32000000)) {return 0x43;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;// Check PLL output frequency is within spec.&lt;BR /&gt;&amp;nbsp; pll_freq = (crystal_val / prdiv_val) * vdiv_val;&lt;BR /&gt;&amp;nbsp; if ((pll_freq &amp;lt; 180000000) || (pll_freq &amp;gt; 360000000)) {return 0x45;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last limitation contradicts others. Or I don't understand something.&lt;/P&gt;&lt;P&gt;What minimum frequency I can get, considering I work with MK70FN1M0VMJ12?&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="159"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 06:22:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Settings/m-p/675315#M41510</guid>
      <dc:creator>john71</dc:creator>
      <dc:date>2017-06-28T06:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Settings</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Settings/m-p/675316#M41511</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;The K70 MCG module provides more working mode, the PEE is one working mode using PLL provide the system/core clock. The MCG module supports below working mode:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24329i5438DB329C4E8DCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The K70 PLL output Min. clock frequency is 90MHz:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24365iDF3F6E3569C659F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Customer could consider to use MCG working with FBE mode, which is using external oscillator clock as system/core clock .&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&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>Fri, 30 Jun 2017 06:33:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Settings/m-p/675316#M41511</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-06-30T06:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Settings</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Settings/m-p/675317#M41512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 14:08:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Settings/m-p/675317#M41512</guid>
      <dc:creator>john71</dc:creator>
      <dc:date>2017-07-01T14:08:07Z</dc:date>
    </item>
  </channel>
</rss>

