<?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: How to use PIO0_13 and 18 for GPIO</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-PIO0-13-and-18-for-GPIO/m-p/796190#M32037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your input.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sol&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2018 13:09:42 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2018-11-07T13:09:42Z</dc:date>
    <item>
      <title>How to use PIO0_13 and 18 for GPIO</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-PIO0-13-and-18-for-GPIO/m-p/796188#M32035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using both the 48 pin and 64 pin version of the LPC1549 in a design and trying to setup PIO0_13 and PIO0_18 for GPIO to control other hardware.&amp;nbsp; Looking into Board_Init() in LPCOpen I noticed that it is trying to control those two pins and make use of them for UART0 based debug.&amp;nbsp; So I disabled that code and instead just init the GPIO subsystem instead with&amp;nbsp; Chip_GPIO_Init(LPC_GPIO);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My main issue is getting PIO0_13 and PIO0_18 unstuck, even when avoiding the Board_Init() code.&amp;nbsp; I need to use these pins for external hardware.&amp;nbsp; They seem to be stuck high no matter what I've tried so far.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am easily able to change the pin start of other pins such as PIO0_1, PIO0_2, PIO0_7 for example so I don't suspect anything related to the code doing the state change, just something is missing in the configuration allowing those pins to be software controlled like the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 20:02:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-PIO0-13-and-18-for-GPIO/m-p/796188#M32035</guid>
      <dc:creator>brant</dc:creator>
      <dc:date>2018-11-02T20:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PIO0_13 and 18 for GPIO</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-PIO0-13-and-18-for-GPIO/m-p/796189#M32036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to make PIO0_13 and PIO0_18 work just fine as GPIO lines.&amp;nbsp; The answer lies in the UM10736 manual in chapter 8 regarding the SWM.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer lies in the PINASSIGN0 register by putting that register in reset I was able to get those lines to function as GPIOs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//snip&lt;/P&gt;&lt;P&gt;LPC_SWM-&amp;gt;PINASSIGN[0] = 0xFFFFFFFF; //reset UART0, to reconfigure pin 13 and 18.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm leaving this here for future travelers.&amp;nbsp; Read chapter 8, know thy chip!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 21:15:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-PIO0-13-and-18-for-GPIO/m-p/796189#M32036</guid>
      <dc:creator>brant</dc:creator>
      <dc:date>2018-11-06T21:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PIO0_13 and 18 for GPIO</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-PIO0-13-and-18-for-GPIO/m-p/796190#M32037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your input.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sol&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2018 13:09:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-PIO0-13-and-18-for-GPIO/m-p/796190#M32037</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2018-11-07T13:09:42Z</dc:date>
    </item>
  </channel>
</rss>

