<?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: Using P0[7], P0[8] and P0[9] as digital inputs</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-P0-7-P0-8-and-P0-9-as-digital-inputs/m-p/523193#M5829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tha on Thu Jun 06 17:30:21 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;You can try this:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;LPC_GPIO0-&amp;amp;gt;DIR = 0x0;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;//set PORT0 as input&lt;BR /&gt; LPC_IOCON-&amp;amp;gt;P0_7 = 0xA0;&lt;BR /&gt; LPC_IOCON-&amp;amp;gt;P0_8 = 0xA0;&lt;BR /&gt; LPC_IOCON-&amp;amp;gt;P0_9 = 0xA0;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Just force the whole port to input and set the pins to the default state (and making sure bit 7 is set). &amp;nbsp;This worked for me. &amp;nbsp;The PIN register was changing value when I force the pins HIGH and LOW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:59:30 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:59:30Z</dc:date>
    <item>
      <title>Using P0[7], P0[8] and P0[9] as digital inputs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-P0-7-P0-8-and-P0-9-as-digital-inputs/m-p/523191#M5827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jonas2 on Thu Jun 06 08:18:42 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I use an LPC1778 LQFP144&amp;lt;/pre&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;pre&amp;gt;I set up the following pins as digital inputs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P0[7]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P0[8]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P0[9]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 3.3 V on the pins but I only read '0's from the PIN register. I've tried to activate the internal pull-up with but the result was the same.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These pins are of type W does this have an impact? I've used type D pins as digital inputs without encountering any problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:59:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-P0-7-P0-8-and-P0-9-as-digital-inputs/m-p/523191#M5827</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using P0[7], P0[8] and P0[9] as digital inputs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-P0-7-P0-8-and-P0-9-as-digital-inputs/m-p/523192#M5828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DF9DQ on Thu Jun 06 13:24:47 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;This is indeed a specialty of the W type pins.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Have a closer look at the respective IOCON register, with particular attention to bit 7&amp;nbsp; :-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:59:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-P0-7-P0-8-and-P0-9-as-digital-inputs/m-p/523192#M5828</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using P0[7], P0[8] and P0[9] as digital inputs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-P0-7-P0-8-and-P0-9-as-digital-inputs/m-p/523193#M5829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tha on Thu Jun 06 17:30:21 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;You can try this:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;LPC_GPIO0-&amp;amp;gt;DIR = 0x0;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;//set PORT0 as input&lt;BR /&gt; LPC_IOCON-&amp;amp;gt;P0_7 = 0xA0;&lt;BR /&gt; LPC_IOCON-&amp;amp;gt;P0_8 = 0xA0;&lt;BR /&gt; LPC_IOCON-&amp;amp;gt;P0_9 = 0xA0;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Just force the whole port to input and set the pins to the default state (and making sure bit 7 is set). &amp;nbsp;This worked for me. &amp;nbsp;The PIN register was changing value when I force the pins HIGH and LOW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:59:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-P0-7-P0-8-and-P0-9-as-digital-inputs/m-p/523193#M5829</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using P0[7], P0[8] and P0[9] as digital inputs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-P0-7-P0-8-and-P0-9-as-digital-inputs/m-p/523194#M5830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jonas2 on Fri Jun 07 00:27:57 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;You're right, bit 7 if the respective IOCON registers were set to '0'. I set this bit to '1' and now these pins works as expected. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:59:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-P0-7-P0-8-and-P0-9-as-digital-inputs/m-p/523194#M5830</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:59:31Z</dc:date>
    </item>
  </channel>
</rss>

