<?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: USING P0.29 as GPIO in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/USING-P0-29-as-GPIO/m-p/577222#M23104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by handthepig on Sat Jun 01 22:26:35 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;PinCfg1.Funcnum=0;//Config as GPIO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PinCfg1.OpenDrain=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PinCfg1.Pinmode=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PinCfg1.Portnum=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PinCfg1.Pinnum=29;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GPIO_SetValue(0,1&amp;lt;&amp;lt;29);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:30:43 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:30:43Z</dc:date>
    <item>
      <title>USING P0.29 as GPIO</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USING-P0-29-as-GPIO/m-p/577221#M23103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by handthepig on Sat Jun 01 22:06:59 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,I'm using LPC1769, i tried configuring p0.29 as GPIO but it does not seem to work. I checked my coding by configuring GPIO functions to other pins e.g. 2.13 and it works. Can anyone help me with this as i'm new to LPC1769 and there are still alot of things I don't quite understand. :(:(&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gladly appreciate it thanks :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USING-P0-29-as-GPIO/m-p/577221#M23103</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: USING P0.29 as GPIO</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USING-P0-29-as-GPIO/m-p/577222#M23104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by handthepig on Sat Jun 01 22:26:35 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;PinCfg1.Funcnum=0;//Config as GPIO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PinCfg1.OpenDrain=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PinCfg1.Pinmode=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PinCfg1.Portnum=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PinCfg1.Pinnum=29;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GPIO_SetValue(0,1&amp;lt;&amp;lt;29);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USING-P0-29-as-GPIO/m-p/577222#M23104</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: USING P0.29 as GPIO</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USING-P0-29-as-GPIO/m-p/577223#M23105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sun Jun 02 03:48:01 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: handthepig&lt;/STRONG&gt;&lt;BR /&gt;... there are still alot of things I don't quite understand. &lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If pins behave strange it's a good idea to read user manual UM10360 &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;9.5.1 GPIO port Direction register FIOxDIR (FIO0DIR to FIO4DIR- 0x2009 C000 to 0x2009 C080)&lt;BR /&gt;This word accessible register is used to control the direction of the pins when they are configured as GPIO port pins. Direction bit for any pin must be set according to the pin functionality.&lt;BR /&gt;Note that GPIO pins P0.29 and P0.30 are shared with the USB_D+ and USB_D- pins and [COLOR=Red]must have the same direction. If either FIO0DIR bit 29 or 30 are configured as zero, both P0.29 and P0.30 will be inputs. If both FIO0DIR bits 29 and 30 are ones, both P0.29 and P0.30 will be outputs.[/COLOR]&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Table 88:&lt;BR /&gt;The pin mode cannot be selected for pins P0[27] to P0[30]. Pins P0[27] and P0[28] are dedicated I2C open-drain pins without pull-up/down. Pins P0[29] and P0[30] are USB specific[COLOR=Magenta] [COLOR=Red]pins without configurable pull-up or pull-down resistors. Pins P0[29] and P0[30] also must have the same direction since they operate as a unit for the USB function,[/COLOR][/COLOR]...&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;Stepping through this simple sample shows this effect:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
 LPC_GPIO0-&amp;gt;FIOSET = (1&amp;lt;&amp;lt;29);&amp;nbsp;&amp;nbsp;&amp;nbsp; //high
 LPC_GPIO0-&amp;gt;FIOSET = (1&amp;lt;&amp;lt;30);&amp;nbsp;&amp;nbsp;&amp;nbsp; //high
 LPC_GPIO0-&amp;gt;FIODIR |= (1&amp;lt;&amp;lt;29);&amp;nbsp;&amp;nbsp;&amp;nbsp; //output
 LPC_GPIO0-&amp;gt;FIODIR |= (1&amp;lt;&amp;lt;30);&amp;nbsp;&amp;nbsp;&amp;nbsp; //output
[COLOR=Red] //P0.29 and P0.30 are both pulled high here at the same time, after they are both outputs... [/COLOR]
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USING-P0-29-as-GPIO/m-p/577223#M23105</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: USING P0.29 as GPIO</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USING-P0-29-as-GPIO/m-p/577224#M23106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by handthepig on Mon Jun 03 01:30:04 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;omg i get it now thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USING-P0-29-as-GPIO/m-p/577224#M23106</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:30:44Z</dc:date>
    </item>
  </channel>
</rss>

