<?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: external clock K22 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-clock-K22/m-p/410721#M23172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacques Charreyron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your interest in Freescale kinetis product, I would like to provide service for you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How did you design your external crystal circuit, please refer to this :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="49.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49196i9DF07E29D3D09132/image-size/large?v=v2&amp;amp;px=999" role="button" title="49.jpg" alt="49.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; After your download your external oscillator code to your chip, you should use the oscilloscope to test the external crystal, whether it is oscillating.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If it is not oscillating, please change anther crystal and try again, maybe your external crystal is broken.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Wish it helps you!&lt;BR /&gt;If you still have question, please contact me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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, 17 Apr 2015 06:44:05 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2015-04-17T06:44:05Z</dc:date>
    <item>
      <title>external clock K22</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-clock-K22/m-p/410720#M23171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a MK22FN512VLH12 with and external oscillator and it does not run. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I had no luck with mbed I tried tried with processor expert and KDS2.0.0 and if I use internal clock it works OK but if I use external crystal no luck :-( &lt;/P&gt;&lt;P&gt;I have used a 8Mhz cristal .as well as the 32kHz for the RTC with the capacitors and resistors specified in the user guide. (FRDMK22UG.pdf)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My programs work on the FRDMK22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jacques Charreyron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 11:23:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-clock-K22/m-p/410720#M23171</guid>
      <dc:creator>jacquescharreyr</dc:creator>
      <dc:date>2015-04-15T11:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: external clock K22</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-clock-K22/m-p/410721#M23172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacques Charreyron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your interest in Freescale kinetis product, I would like to provide service for you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How did you design your external crystal circuit, please refer to this :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="49.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49196i9DF07E29D3D09132/image-size/large?v=v2&amp;amp;px=999" role="button" title="49.jpg" alt="49.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; After your download your external oscillator code to your chip, you should use the oscilloscope to test the external crystal, whether it is oscillating.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If it is not oscillating, please change anther crystal and try again, maybe your external crystal is broken.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Wish it helps you!&lt;BR /&gt;If you still have question, please contact me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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, 17 Apr 2015 06:44:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-clock-K22/m-p/410721#M23172</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2015-04-17T06:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: external clock K22</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-clock-K22/m-p/410722#M23173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt; I have followed your recommendations and now we can run on the external crystal PROVIDED we increase the flash memory divisor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me explain a little bit what we did :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We have developped a test program thanks to the FRDM K22 dev board. It works OK with core @ 12OMHz bus @ 60 MHz and &lt;STRONG&gt;flash @ 24 Mhz (Divisor = 5)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then we switched to our production board :&amp;nbsp; We can only run the test program with core @ 12OMHz bus @ 60 MHz BUT&lt;STRONG&gt; flash at @ 17 Mhz.&lt;STRONG&gt;(Divisor = 7)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (With the P&amp;amp;E debugger we saw corrupted memory readings)&lt;/P&gt;&lt;P&gt; We are still investigating ou hardware layout (power, decoupling capacitor ...) but does anyone encountered this strange issue before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yours,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jacques&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 10:27:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-clock-K22/m-p/410722#M23173</guid>
      <dc:creator>jacquescharreyr</dc:creator>
      <dc:date>2015-04-23T10:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: external clock K22</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-clock-K22/m-p/410723#M23174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacques Charreyron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you use the same test code in your FRDM-K22 and your own board?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Besides, did you use the same debugger?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think, you can configure your board with 24MHZ(the same code with FRDM-K22), then just download the code to your board without the debugger, or use the same debugger with FRDM-k22.&lt;/P&gt;&lt;P&gt;After download the code, then check the code function, whether it is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; We should make sure, it is not caused by debugger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Besides this, I suggest you take care of some points:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1: Reset_b pin, add 4.7K to 10K pullup resistor , and add 0.1uf capacitor between reset_b to ground.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2: NMI_b pin, add 4.7K to 10K pullup resistor&lt;/P&gt;&lt;P&gt;3: SWD_DIO, add 10K pullup&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Mon, 27 Apr 2015 07:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/external-clock-K22/m-p/410723#M23174</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2015-04-27T07:47:22Z</dc:date>
    </item>
  </channel>
</rss>

