<?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: MK20DX256VLH7 Crystal Question in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080146#M57512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="font-family: Arial;"&gt;Thanks for the quick response!&lt;BR /&gt;&lt;BR /&gt;The MK20DX256VLH7 does indeed run at 96 MHz (at least unofficially) in an over-clocked mode and does so reliably according to Paul Stoffregen at PJRC (Teensy 3.2 boards).&lt;BR /&gt;&lt;BR /&gt;Nevertheless, it looks like that bit (EREFS0) is currently set high and using an external 16 MHz crystal. To convert to a 16 MHz external oscillator I just clear that bit.&lt;BR /&gt;&lt;BR /&gt;As for the rest of the MCG registers, they should be in the same state they are now (divide external oscillator by 4 to get 4 MHz and then set PRDIV0 to multiply by 24).&lt;BR /&gt;&lt;BR /&gt;The MCG registers are as follows:&lt;BR /&gt;&lt;BR /&gt;MCG_C1 0x20&lt;BR /&gt;MCG_C2 0x24 &amp;lt;== change to 0x20 for external oscillator.&lt;BR /&gt;MCG_C3 0x6A&lt;BR /&gt;MCG_C4 0x0B&lt;BR /&gt;MCG_C5 0x03 &amp;lt;== divide external oscillator by 4&lt;BR /&gt;MCG_C6 0x40 &amp;lt;== PLL selected and multiply by 24&lt;BR /&gt;MCG_S 0x6E Read Only&lt;BR /&gt;MCG_SC 0x6A&lt;BR /&gt;MCG_ATCVH 0x00&lt;BR /&gt;MCG_ATCVL 0x00&lt;BR /&gt;MCG_C7 0x00&lt;BR /&gt;MCG_C8 0x80&lt;BR /&gt;&lt;BR /&gt;If I interpret the manual correctly, that should do it, right?&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Marv De Beque,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, we do not support or recommend operating outside the range of frequency established for this part, which has a limit of 72MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The modifications and settings needed to achieve a speed higher than that may cause the MCU to not behave as intended, and we cannot guarantee functionality outside this range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry for the inconvenience this may cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2020 21:31:49 GMT</pubDate>
    <dc:creator>nxf63973</dc:creator>
    <dc:date>2020-05-29T21:31:49Z</dc:date>
    <item>
      <title>MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080144#M57510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From what I have read in the reference manual I do not see a method to employ an external oscillator in place of the external crystal (not the 32.768 kHz clock crystal).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is possible, would&amp;nbsp;an external oscillator not be more robust than a crystal for harsh EMI susceptibility environments?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 12:03:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080144#M57510</guid>
      <dc:creator>loren040</dc:creator>
      <dc:date>2020-05-27T12:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080145#M57511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marv De Beque&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;The MCU MK20DX256VLH7 can employ an external reference clock as a clock source.&amp;nbsp; The MCU enters in External Clock Mode when the oscillator (OSC) is enabled and the external reference clock selection bit (&lt;STRONG&gt;EREFS0&lt;/STRONG&gt;) is cleared. The external reference clock selection bit is located in the MCG Control 2 Register (&lt;STRONG&gt;MCG_C2&lt;/STRONG&gt;) of the MCG module.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;To connect the external clock, please see the topic &lt;STRONG&gt;External Clock Connections&lt;/STRONG&gt; of the &lt;STRONG&gt;Chapter 25 Oscillator (OSC)&lt;/STRONG&gt; of the &lt;A href="https://www.nxp.com/docs/en/reference-manual/K20P64M72SF1RM.pdf"&gt;K20 Sub-Family Reference Manual&lt;/A&gt;.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 20:40:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080145#M57511</guid>
      <dc:creator>nxf63973</dc:creator>
      <dc:date>2020-05-27T20:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080146#M57512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="font-family: Arial;"&gt;Thanks for the quick response!&lt;BR /&gt;&lt;BR /&gt;The MK20DX256VLH7 does indeed run at 96 MHz (at least unofficially) in an over-clocked mode and does so reliably according to Paul Stoffregen at PJRC (Teensy 3.2 boards).&lt;BR /&gt;&lt;BR /&gt;Nevertheless, it looks like that bit (EREFS0) is currently set high and using an external 16 MHz crystal. To convert to a 16 MHz external oscillator I just clear that bit.&lt;BR /&gt;&lt;BR /&gt;As for the rest of the MCG registers, they should be in the same state they are now (divide external oscillator by 4 to get 4 MHz and then set PRDIV0 to multiply by 24).&lt;BR /&gt;&lt;BR /&gt;The MCG registers are as follows:&lt;BR /&gt;&lt;BR /&gt;MCG_C1 0x20&lt;BR /&gt;MCG_C2 0x24 &amp;lt;== change to 0x20 for external oscillator.&lt;BR /&gt;MCG_C3 0x6A&lt;BR /&gt;MCG_C4 0x0B&lt;BR /&gt;MCG_C5 0x03 &amp;lt;== divide external oscillator by 4&lt;BR /&gt;MCG_C6 0x40 &amp;lt;== PLL selected and multiply by 24&lt;BR /&gt;MCG_S 0x6E Read Only&lt;BR /&gt;MCG_SC 0x6A&lt;BR /&gt;MCG_ATCVH 0x00&lt;BR /&gt;MCG_ATCVL 0x00&lt;BR /&gt;MCG_C7 0x00&lt;BR /&gt;MCG_C8 0x80&lt;BR /&gt;&lt;BR /&gt;If I interpret the manual correctly, that should do it, right?&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Marv De Beque,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, we do not support or recommend operating outside the range of frequency established for this part, which has a limit of 72MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The modifications and settings needed to achieve a speed higher than that may cause the MCU to not behave as intended, and we cannot guarantee functionality outside this range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry for the inconvenience this may cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2020 21:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080146#M57512</guid>
      <dc:creator>nxf63973</dc:creator>
      <dc:date>2020-05-29T21:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080147#M57513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, I understand.  My question really wasn’t about over-clocking the chip.  For the sake of the original question and to get back on track, if I changed the oscillator frequency to 12 MHz, would my register values be correct to use an external oscillator with the CPU running at 72 MHz?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2020 22:18:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080147#M57513</guid>
      <dc:creator>loren040</dc:creator>
      <dc:date>2020-05-29T22:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080148#M57514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, let's use a 12 MHz oscillator instead of the 16 MHz, divide by 4 and multiply by 24 = 72 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now will my register settings work for an external oscillator?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_C1 0x20&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_C2 &lt;STRONG&gt;0x20 &amp;lt;==&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6; font-weight: normal;"&gt;EREFS0 cleared&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_C3 0x6A&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_C4 0x0B&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_C5 0x03 &amp;lt;== divide external oscillator by 4&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_C6 0x40 &amp;lt;== PLL selected and multiply by 24&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_S 0x6E Read Only&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_SC 0x6A&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_ATCVH 0x00&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_ATCVL 0x00&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_C7 0x00&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;MCG_C8 0x80&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2020 22:22:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080148#M57514</guid>
      <dc:creator>loren040</dc:creator>
      <dc:date>2020-05-29T22:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080149#M57515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hi Marv De Beque&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;That configuration for the MGC module will use an external clock reference and the PLL output as clock source for the System Clock. So if a 12MHz clock is connected to the MCU, the MCU system clock may run at approximately 72Mhz.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 16:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080149#M57515</guid>
      <dc:creator>nxf63973</dc:creator>
      <dc:date>2020-06-01T16:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080150#M57516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. &amp;nbsp;One final question, I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly does clearing&amp;nbsp;the EREFS0 (MCG_C2 External Reference Select Bit) do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to that the only thing I can tell it does is free up the unused XTAL pin so that it might be used as a GPIO pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The software runs whether the bit is set or cleared, as far as I can tell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2020 15:14:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080150#M57516</guid>
      <dc:creator>loren040</dc:creator>
      <dc:date>2020-06-09T15:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080151#M57517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marv De Beque&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The External Reference Select bit (&lt;STRONG&gt;EREFS0&lt;/STRONG&gt;) controls the OSC module. If &lt;STRONG&gt;EREFS0&lt;/STRONG&gt; is set, the crystal oscillator of the OSC module is enabled and, in conjunction with an external crystal or resonator, generates a reference clock for the MCU.&lt;/P&gt;&lt;P&gt;If &lt;STRONG&gt;EREFS0&lt;/STRONG&gt; is cleared, the crystal oscillator of the OSC module remains disabled and the reference clock for the MCU should be supplied by an external clock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 18:58:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080151#M57517</guid>
      <dc:creator>nxf63973</dc:creator>
      <dc:date>2020-06-10T18:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080152#M57518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think I fully understand the the clock system in the chip. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, when I use an external TCXO oscillator into the EXTAL input (XTAL pin is disconnected) and run the software with&amp;nbsp;&lt;STRONG style="color: #51626f; border: 0px; font-weight: bold;"&gt;EREFS0&amp;nbsp;&lt;/STRONG&gt;set the MCU appears to run exactly as it would if I had hooked up a crystal to to the EXTAL and XTAL. &amp;nbsp;In other words, I've run the same exact software on two different boards (one with a crystal and one with a TCXO oscillator)and observe no difference in the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that normal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 19:09:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080152#M57518</guid>
      <dc:creator>loren040</dc:creator>
      <dc:date>2020-06-10T19:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080153#M57519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marv De Beque&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please provide some more information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL type="disc"&gt;&lt;LI&gt;What is the configuration of the MCG module in the software you ran on these boards?&lt;/LI&gt;&lt;LI&gt;What is the System Clock frequency you expect with this software?&lt;/LI&gt;&lt;LI&gt;What is the System Clock frequency you obtained?&lt;/LI&gt;&lt;LI&gt;What is the frequency of the signal provided by the TCXO oscillator?&lt;/LI&gt;&lt;LI&gt;What is the frequency of the crystal?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2020 20:27:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080153#M57519</guid>
      <dc:creator>nxf63973</dc:creator>
      <dc:date>2020-06-11T20:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080154#M57520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) The MCG modules are configured as follows:&lt;/P&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 20px 0px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_C1 0x20&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_C2 &lt;STRONG style="border: 0px; font-weight: bold;"&gt;0x20 &amp;lt;==&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6; border: 0px;"&gt;EREFS0 cleared&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_C3 0x-- &amp;lt;== Read Only&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_C4 0x&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;== Read Only&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_C5 0x03 &amp;lt;== divide external oscillator by 4&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_C6 0x40 &amp;lt;== PLL selected and multiply by 24&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_S 0x&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;== Read Only&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_SC 0x6A&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_ATCVH 0x00&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_ATCVL 0x00&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_C7 0x00&lt;/SPAN&gt;&lt;BR style="color: #51626f;" /&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: inherit;"&gt;MCG_C8 0x80&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;2) Expected system clock = 72 MHz&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;3) 72 MHz (as far as I can tell)&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;4) TCXO = 12 MHz&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;5) Crystal = 12 MHz&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px; margin: 20px 0px 0px;"&gt;&lt;DIV class="" data-comment-id="1319400" style="color: #646464; border: none; font-size: 0.8571rem;"&gt;NOTE: EREFS0 when set does not appear to adversely change operation of system&lt;SPAN&gt;(when TCXO is used)&lt;/SPAN&gt;. &amp;nbsp;In fact, there is no apparent change at all—except that XTAL pin 33 (when TCXO is used) is low when EREFS0 = 1 and floats high when EREFS0 = 0.&lt;/DIV&gt;&lt;DIV class="" data-comment-id="1319400" style="color: #646464; border: none; font-size: 0.8571rem;"&gt;&lt;/DIV&gt;&lt;DIV class="" data-comment-id="1319400" style="color: #646464; border: none; font-size: 0.8571rem;"&gt;FYI — We intend to use a TCXO clock source because we want better EMI susceptibility and we do not need low power operation.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2020 20:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080154#M57520</guid>
      <dc:creator>loren040</dc:creator>
      <dc:date>2020-06-11T20:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080155#M57521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marv De Beque&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I understood, you do not have issues in the performance of your board. Please let me know if I misunderstood you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The change in the External Reference Select bit may not be visible if there is an external clock connected to EXTAL input with the same frequency expected by the crystal oscillator of the OSC module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more info or have any issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 23:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080155#M57521</guid>
      <dc:creator>nxf63973</dc:creator>
      <dc:date>2020-06-19T23:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080156#M57522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That may explain my observations. &amp;nbsp;Migrating from a crystal to a TCXO of the same frequency did not induce any noticeable effects with the software operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clearing the bit from within the program during initialization did cause problems if done too early, it seems. &amp;nbsp;I was able to successfully clear the&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;EREFS0 bit only after starting the software with it first set. &amp;nbsp;I am not sure why that is, but I have other fires burning that have taken me away from the problem and for now I am satisfied that the software works reliably when I clear&amp;nbsp;&lt;SPAN&gt;EREFS0 at the end of&amp;nbsp;the initialization process.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2020 00:05:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080156#M57522</guid>
      <dc:creator>loren040</dc:creator>
      <dc:date>2020-06-20T00:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLH7 Crystal Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080157#M57523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hi Marv De Beque&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Good to hear that works fine.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Please tell me If you need anything else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 20:04:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20DX256VLH7-Crystal-Question/m-p/1080157#M57523</guid>
      <dc:creator>nxf63973</dc:creator>
      <dc:date>2020-06-24T20:04:32Z</dc:date>
    </item>
  </channel>
</rss>

