<?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>LPC MicrocontrollersのトピックRe: OM13092 CLKOUT/CLKIN</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722240#M29186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;&lt;P&gt;Nathan Sowie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Dec 2017 19:38:42 GMT</pubDate>
    <dc:creator>nathansowie</dc:creator>
    <dc:date>2017-12-14T19:38:42Z</dc:date>
    <item>
      <title>OM13092 CLKOUT/CLKIN</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722236#M29182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Eval Board OM13092, and I would like to know how can I have access to CLKOUT function (on which pin of the board, and what code is needed to configure the uP to output the main clock) ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would also like to know&amp;nbsp;how to configure my board to use an external clock ( the code needed to configure CLKIN and and on which pin should I actually put my external clock) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Nathan Sowie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 21:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722236#M29182</guid>
      <dc:creator>nathansowie</dc:creator>
      <dc:date>2017-11-20T21:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: OM13092 CLKOUT/CLKIN</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722237#M29183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nathan sowie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1. CLKOUT pin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you want to use the CLKOUT pin, you can enable the according pin as the CLKOUT function.&lt;/P&gt;&lt;P&gt;&amp;nbsp; From the user manual, you can get that:&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/34444iB777D0A3FBDD6114/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;If I select PIO0_26 as the CLKOUT function, you can use this code:&lt;/P&gt;&lt;P&gt;void BOARD_InitPins(void) { /* Function assigned for the Core #0 (ARM Cortex-M4) */&lt;BR /&gt; &amp;nbsp; CLOCK_EnableClock(kCLOCK_Iocon);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enables the clock for the IOCON block. 0 = Disable; 1 = Enable.: 0x01u */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; IOCON-&amp;gt;PIO[0][26] = ((IOCON-&amp;gt;PIO[0][26] &amp;amp;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; (~(IOCON_PIO_FUNC_MASK | IOCON_PIO_DIGIMODE_MASK)))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Mask bits to zero which are setting */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | IOCON_PIO_FUNC(PIO026_FUNC_ALT2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Selects pin function.: PORT026 (pin M13) is configured as CLKOUT */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | IOCON_PIO_DIGIMODE(PIO026_DIGIMODE_DIGITAL)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Select Analog/Digital mode.: Digital mode. */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;About the details clock to CLKOUT, you can configure the register CLKOUTSEL and CLKOUTDIV register, like the following picture:&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/34396iA187A80D297B96E8/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;OL start="2"&gt;&lt;LI&gt;CLKIN&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Take care, this is not the pin, this is the internal clock that comes from external crystal oscillator through dedicated pins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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/34446i34E14850884FA888/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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Have a great day,&lt;BR /&gt; Kerry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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>Wed, 22 Nov 2017 09:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722237#M29183</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-11-22T09:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: OM13092 CLKOUT/CLKIN</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722238#M29184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;Thanks a lot for taking the time to answer me, your indications help a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another question related to CLKIN: Is there a way to access the XTALOUT/XTALIN pins on the expansion pins of the Eval Board OM13077 ? if so where can I have access to those dedicated ports ?&lt;/P&gt;&lt;P&gt;Or if I want my uP to run with my own external crystal I would have to take out the 12MHz crystal soldered on my board ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nathan Sowie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:14:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722238#M29184</guid>
      <dc:creator>nathansowie</dc:creator>
      <dc:date>2017-11-22T13:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: OM13092 CLKOUT/CLKIN</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722239#M29185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi nathan sowie,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you want to use your own crystal, you need to connect it to the XTALOUT/XTALIN pin, no other pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt; Kerry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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>Thu, 23 Nov 2017 02:09:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722239#M29185</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-11-23T02:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: OM13092 CLKOUT/CLKIN</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722240#M29186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;&lt;P&gt;Nathan Sowie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 19:38:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-CLKOUT-CLKIN/m-p/722240#M29186</guid>
      <dc:creator>nathansowie</dc:creator>
      <dc:date>2017-12-14T19:38:42Z</dc:date>
    </item>
  </channel>
</rss>

