<?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中的主题 Re: How do i setup the FB_CLKOUT pin on the MK60dn512z?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591368#M34796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using version 3.20 of the kinetis design studio.&lt;/P&gt;&lt;P&gt;I have assigned the cpu component MK60DN512ZVLQ10.&lt;/P&gt;&lt;P&gt;In the processor expert I have my system Oscillator settings set to the following...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40735iA3D752D81A2EB8E2/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also have been referencing this manual to do majority of my research...&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/K60P144M100SF2RM.pdf" title="http://cache.freescale.com/files/32bit/doc/ref_manual/K60P144M100SF2RM.pdf"&gt;http://cache.freescale.com/files/32bit/doc/ref_manual/K60P144M100SF2RM.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the SIM_SOPT2 register that you mentioned above is different.&lt;/P&gt;&lt;P&gt;I will admit that this is my first ever experience with the KDS and I am at a huge learning disadvantage. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2016 15:24:36 GMT</pubDate>
    <dc:creator>jasonscott</dc:creator>
    <dc:date>2016-07-27T15:24:36Z</dc:date>
    <item>
      <title>How do i setup the FB_CLKOUT pin on the MK60dn512z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591363#M34791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently using the kinetis design studio and am trying to setup the fb_clkout pin.&lt;/P&gt;&lt;P&gt;I am using an external oscillator at 50MHz and was wanting to set the output clock to 50MHz as well. &lt;/P&gt;&lt;P&gt;What are my options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 20:29:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591363#M34791</guid>
      <dc:creator>jasonscott</dc:creator>
      <dc:date>2016-07-19T20:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do i setup the FB_CLKOUT pin on the MK60dn512z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591364#M34792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which version of the KSDK are you using? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the reference manual for your board, the CLKOUT pin is PTC3, MUX option 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/38667i4297979F250E6AFE/image-size/large?v=v2&amp;amp;px=999" title="legend.PNG" alt="legend.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/38703i77B0BC35D12B7D64/image-size/large?v=v2&amp;amp;px=999" title="pin_mux.PNG" alt="pin_mux.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First enable the clock for PORTC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLOCK_EnableClock(kCLOCK_PortC);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then set the Mux option to 5:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORT_SetPinMux(PORTC, 3U, kPORT_MuxAlt5);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, you will need to which clock signal is sent to the CLKOUT pin. This can be done by modifying the CLKOUTSEL bits in the SIM_SOPT2 register:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/38796iC179C732CADE3B36/image-size/large?v=v2&amp;amp;px=999" title="clkoutsel.PNG" alt="clkoutsel.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/38928iB03AD61453CB0B15/image-size/large?v=v2&amp;amp;px=999" title="clkoutselect.PNG" alt="clkoutselect.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using KSDK 2.0, and so I would set this bit like this if I wanted to select the OSCERCLK0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIM-&amp;gt;SOPT2 |= 0x000000D0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once these bits get set, the signal should appear on PTC3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reiterate, the three steps are to enable the clock for PortC, configure the mux options for the CLKOUT pin, PTC3, and to set the CLKOUTSEL bits to the desired clock signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:14:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591364#M34792</guid>
      <dc:creator>ericfoote1</dc:creator>
      <dc:date>2016-07-20T15:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do i setup the FB_CLKOUT pin on the MK60dn512z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591365#M34793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using version 3.0 of the KDS software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to look for a component to setup the clock output pin and didn't realize that your steps were an option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying your strategy now, and will let you know how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 19:47:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591365#M34793</guid>
      <dc:creator>jasonscott</dc:creator>
      <dc:date>2016-07-20T19:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do i setup the FB_CLKOUT pin on the MK60dn512z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591366#M34794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still haven't had much luck on getting this implemented. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must be missing some included files to be able to use the functions noted in your post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you happen to know of a startup guide or something similar?&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;-Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 13:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591366#M34794</guid>
      <dc:creator>jasonscott</dc:creator>
      <dc:date>2016-07-27T13:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do i setup the FB_CLKOUT pin on the MK60dn512z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591367#M34795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know which version of the SDK you are using? That is a good starting point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default installation folder is C:\Freescale\SDK_x.x_...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The path to getting your CLKOUT properly muxed is dependent on which version of the SDK you're using. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 14:47:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591367#M34795</guid>
      <dc:creator>ericfoote1</dc:creator>
      <dc:date>2016-07-27T14:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do i setup the FB_CLKOUT pin on the MK60dn512z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591368#M34796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using version 3.20 of the kinetis design studio.&lt;/P&gt;&lt;P&gt;I have assigned the cpu component MK60DN512ZVLQ10.&lt;/P&gt;&lt;P&gt;In the processor expert I have my system Oscillator settings set to the following...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40735iA3D752D81A2EB8E2/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also have been referencing this manual to do majority of my research...&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/K60P144M100SF2RM.pdf" title="http://cache.freescale.com/files/32bit/doc/ref_manual/K60P144M100SF2RM.pdf"&gt;http://cache.freescale.com/files/32bit/doc/ref_manual/K60P144M100SF2RM.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the SIM_SOPT2 register that you mentioned above is different.&lt;/P&gt;&lt;P&gt;I will admit that this is my first ever experience with the KDS and I am at a huge learning disadvantage. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 15:24:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591368#M34796</guid>
      <dc:creator>jasonscott</dc:creator>
      <dc:date>2016-07-27T15:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do i setup the FB_CLKOUT pin on the MK60dn512z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591369#M34797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, finally figured it out....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I did.&lt;/P&gt;&lt;P&gt;First I made sure that the OSCERCLK clock was set to 50 Mhz.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40688iBA87A193F0AD1345/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i went to CPU-&amp;gt;External Bus -&amp;gt; Control Pins -&amp;gt; CLKOUT pin.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40789i2AE677007C4B79A6/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After enabling it and setting PTC3....&lt;/P&gt;&lt;P&gt;I went to Clock configurations -&amp;gt; system clocks tab.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40808i7E5E522D22B19D9F/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And set the external clock prescaler to 1 and then the FB_CLKOUT was set to 48 Mhz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Eric for your assistance and time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 17:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-i-setup-the-FB-CLKOUT-pin-on-the-MK60dn512z/m-p/591369#M34797</guid>
      <dc:creator>jasonscott</dc:creator>
      <dc:date>2016-07-27T17:29:55Z</dc:date>
    </item>
  </channel>
</rss>

