<?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: FRDM-KL46Z Internal Reference clock to 48 MHz? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-Internal-Reference-clock-to-48-MHz/m-p/320126#M14322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;Fixed it by doing this&lt;/P&gt;&lt;PRE class="prettyprint prettyprinted lang-c" style="margin: 0 0 10px; padding: 5px; font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #000000; background: #eeeeee;"&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="com" style="color: #808080; background: transparent;"&gt;#define&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; NO_PLL_INIT&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="com" style="color: #808080; background: transparent;"&gt;#if defined(NO_PLL_INIT)&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;MCG_C4 &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;|=&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;MCG_C4_DRST_DRS&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;|&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; MCG_C4_DMX32_MASK&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;mcg_clk_hz &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;48000000&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;SIM_SOPT2 &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;&amp;amp;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;~&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;SIM_SOPT_PLLFLLSEL_MASK; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;uart0_clk_khz &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;mcg_clk_hz&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;1000&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="com" style="color: #808080; background: transparent;"&gt;#else&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;....&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jun 2014 12:29:14 GMT</pubDate>
    <dc:creator>ishmeets</dc:creator>
    <dc:date>2014-06-17T12:29:14Z</dc:date>
    <item>
      <title>FRDM-KL46Z Internal Reference clock to 48 MHz?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-Internal-Reference-clock-to-48-MHz/m-p/320125#M14321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on IAR compiler for FRDM-KL46Z Platform.&lt;/P&gt;&lt;P&gt;I want to use Internal clock and set it to 48 MHz (or as maximum as possible).&lt;/P&gt;&lt;P&gt;Till now I have done the following steps in the example sysinit.c file and function sysinit() provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define NO_PLL_INIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if defined(NO_PLL_INIT)&lt;/P&gt;&lt;P&gt;mcg_clk_hz = 48000000;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // It only works on 21000000 Hz, otherwise I get garbage prints on UART0.&lt;/P&gt;&lt;P&gt;SIM_SOPT2 &amp;amp;= ~SIM_SOPT_PLLFLLSEL_MASK&lt;/P&gt;&lt;P&gt;uart0_clk_khz = (mcg_clk_hz) / 1000;&lt;/P&gt;&lt;P&gt;#else&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In FEI mode, if I do FBI mode or BLPI mode, I get very less mcu clock. &lt;/P&gt;&lt;P&gt;I want the mcu clk to be as high as possible, in internal clock. (According to datasheet I think it is supported, but I don't know how?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please explain or any code reference, much obliged.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 09:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-Internal-Reference-clock-to-48-MHz/m-p/320125#M14321</guid>
      <dc:creator>ishmeets</dc:creator>
      <dc:date>2014-06-17T09:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z Internal Reference clock to 48 MHz?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-Internal-Reference-clock-to-48-MHz/m-p/320126#M14322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;Fixed it by doing this&lt;/P&gt;&lt;PRE class="prettyprint prettyprinted lang-c" style="margin: 0 0 10px; padding: 5px; font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #000000; background: #eeeeee;"&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="com" style="color: #808080; background: transparent;"&gt;#define&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; NO_PLL_INIT&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="com" style="color: #808080; background: transparent;"&gt;#if defined(NO_PLL_INIT)&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;MCG_C4 &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;|=&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;MCG_C4_DRST_DRS&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;|&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; MCG_C4_DMX32_MASK&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;mcg_clk_hz &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;48000000&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;SIM_SOPT2 &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;&amp;amp;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;~&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;SIM_SOPT_PLLFLLSEL_MASK; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;uart0_clk_khz &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;mcg_clk_hz&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;1000&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="com" style="color: #808080; background: transparent;"&gt;#else&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;....&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 12:29:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-Internal-Reference-clock-to-48-MHz/m-p/320126#M14322</guid>
      <dc:creator>ishmeets</dc:creator>
      <dc:date>2014-06-17T12:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z Internal Reference clock to 48 MHz?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-Internal-Reference-clock-to-48-MHz/m-p/320127#M14323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UART0 has selective clock source!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See SIM-&amp;gt;SOPT2[UART0SRC] .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 19:23:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-Internal-Reference-clock-to-48-MHz/m-p/320127#M14323</guid>
      <dc:creator>galadragos</dc:creator>
      <dc:date>2014-06-17T19:23:52Z</dc:date>
    </item>
  </channel>
</rss>

