<?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中的主题 K10  HOW configure PTA19(XTAL0) AS  GPIO</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962638#M55055</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The MCU is MK10DX128VFM5， when I use the external clock and configure&amp;nbsp; PORTA-&amp;gt;PCR[19]= PORT_PCR_MUX(1), this GPIO alternate function is configured GPIO(0x01),but this pin is still output clock signal。it can't output 1 or 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;when I use the internal clock, this pin can use as a GPIO.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;so I would know how to&amp;nbsp;&lt;SPAN&gt;configure&amp;nbsp;&amp;nbsp;PTA19 as a GPIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="微信图片_20190609233856.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85715i2BA5C623C8654297/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20190609233856.png" alt="微信图片_20190609233856.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Jun 2019 15:50:21 GMT</pubDate>
    <dc:creator>chengdong</dc:creator>
    <dc:date>2019-06-09T15:50:21Z</dc:date>
    <item>
      <title>K10  HOW configure PTA19(XTAL0) AS  GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962638#M55055</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The MCU is MK10DX128VFM5， when I use the external clock and configure&amp;nbsp; PORTA-&amp;gt;PCR[19]= PORT_PCR_MUX(1), this GPIO alternate function is configured GPIO(0x01),but this pin is still output clock signal。it can't output 1 or 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;when I use the internal clock, this pin can use as a GPIO.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;so I would know how to&amp;nbsp;&lt;SPAN&gt;configure&amp;nbsp;&amp;nbsp;PTA19 as a GPIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="微信图片_20190609233856.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85715i2BA5C623C8654297/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20190609233856.png" alt="微信图片_20190609233856.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jun 2019 15:50:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962638#M55055</guid>
      <dc:creator>chengdong</dc:creator>
      <dc:date>2019-06-09T15:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: K10  HOW configure PTA19(XTAL0) AS  GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962639#M55056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="291960" data-username="chengdong" href="https://community.nxp.com/people/chengdong"&gt;cheng dong&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you debug the code, and check the PORTA_PCR19?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Whether the MUX is really modified to 1 or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 11:46:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962639#M55056</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-06-10T11:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: K10  HOW configure PTA19(XTAL0) AS  GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962640#M55057</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;I confirm&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MUX is really modified to 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; I putout the value of this register(PORTA_PCR19),the value is 0x0100.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I can also configure&amp;nbsp;PE and&amp;nbsp;PS to 1, but this pin still can't work normally.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 14:20:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962640#M55057</guid>
      <dc:creator>chengdong</dc:creator>
      <dc:date>2019-06-10T14:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: K10  HOW configure PTA19(XTAL0) AS  GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962641#M55058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="291960" data-username="chengdong" href="https://community.nxp.com/people/chengdong"&gt;cheng dong&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; After you configure the PTA19 as GPIO pin, do you configure the GPIOA_PDDR |= 1&amp;lt;&amp;lt;19;? Just configure the PTA19 as output pin, then control the PDOR register to output the according data.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you don't set the direction register, after you configure the PTA19 as GPIO function, it will be the input pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 03:11:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962641#M55058</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-06-11T03:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: K10  HOW configure PTA19(XTAL0) AS  GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962642#M55059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; kerry，&lt;/P&gt;&lt;P&gt;I think&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;PTA19&lt;SPAN&gt;&amp;nbsp;is&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;configured&amp;nbsp;correctly，i has checked the correlative register.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;now this pin output a 16M clock signal same as the external clock. when i switch to internal clock, this pin can work normally, so i think the problem is OSC and MCG.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;cheng dong&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 07:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962642#M55059</guid>
      <dc:creator>chengdong</dc:creator>
      <dc:date>2019-06-11T07:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: K10  HOW configure PTA19(XTAL0) AS  GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962643#M55060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;cheng dong&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OK, if you are using the external clock, when you debug your code, you will find this problem, the debugger will stop at the point which you swith the clock mode from FEI to FEE or PEE.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Your problem is in the external clock configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 07:27:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-HOW-configure-PTA19-XTAL0-AS-GPIO/m-p/962643#M55060</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-06-11T07:27:07Z</dc:date>
    </item>
  </channel>
</rss>

