<?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: KW2x: XTAL (PTA19) in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW2x-XTAL-PTA19/m-p/456271#M27201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;As you said, this pin can be used as GPIO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/56982iFC6C27AB3D07BF65/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;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;To achieve this, you need to configure the field MCG_C2[EREFS] as "External reference clock requested" (bit in 0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Please confirm that this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Best regards,&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Earl Ramírez&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;NXP Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Dec 2015 18:23:58 GMT</pubDate>
    <dc:creator>EarlOrlando</dc:creator>
    <dc:date>2015-12-07T18:23:58Z</dc:date>
    <item>
      <title>KW2x: XTAL (PTA19)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW2x-XTAL-PTA19/m-p/456270#M27200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;BR /&gt;I'm using the KW2x MCU and am curious about using PTA19 as GPIO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using &lt;SPAN style="line-height: 1.5;"&gt;PTA18 as a modem CLK_OUT (MCU CLK_IN). This signal is running at 4MHz. Then my MCU is put into PEE mode to run at 48MHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;According to everything I've read in the reference manual, I should be allowed to use PTA19 as a GPIO. However it is toggling states as if it were internally tied to a clocking signal. Does anyone know what steps I need to take to use PTA19 as a GPIO?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I do have it configure as an INPUT with MUX ALT1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 17:11:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW2x-XTAL-PTA19/m-p/456270#M27200</guid>
      <dc:creator>ignisuti_</dc:creator>
      <dc:date>2015-12-01T17:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: KW2x: XTAL (PTA19)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW2x-XTAL-PTA19/m-p/456271#M27201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;As you said, this pin can be used as GPIO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/56982iFC6C27AB3D07BF65/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;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;To achieve this, you need to configure the field MCG_C2[EREFS] as "External reference clock requested" (bit in 0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Please confirm that this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Best regards,&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Earl Ramírez&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;NXP Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 18:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW2x-XTAL-PTA19/m-p/456271#M27201</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-12-07T18:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: KW2x: XTAL (PTA19)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW2x-XTAL-PTA19/m-p/456272#M27202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Earl,&lt;/P&gt;&lt;P&gt;Thanks for the reply. That worked. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For anyone else reading... I did also have to remove the line of code below which was waiting on the EREFS to finish initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (!(MCG_S &amp;amp; MCG_S_OSCINIT0_MASK)){}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 14:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW2x-XTAL-PTA19/m-p/456272#M27202</guid>
      <dc:creator>ignisuti_</dc:creator>
      <dc:date>2015-12-08T14:26:24Z</dc:date>
    </item>
  </channel>
</rss>

