<?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>LPCXpresso IDEのトピックRe: Set a bit to 0</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Set-a-bit-to-0/m-p/529826#M1679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gabriellobao on Tue Jul 17 07:33:55 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found a problem like tahat. In the BaseBoard, that same pin PIO1_2, just can't be cleared by software. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying an application with the RGB led, and this pin controlls the blue color. The blue led never goes off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that happen because of the ADC, and i don't know how desable ADC function fot that pin. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone help me? :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:35:42 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:35:42Z</dc:date>
    <item>
      <title>Set a bit to 0</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Set-a-bit-to-0/m-p/529824#M1677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jb_mrush on Fri Jul 13 14:06:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to set a bit to 0 with GPIOSetValue &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GPIOSetValue( 1, 3, 0) for example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The program is running great, my GPIOSetDir are good but when I run the program step by step, the pin always stay to 1 (3.2V) on the Voltmeter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I link the pin manually (with a wire) to the GND, all is working well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something to set on the program...I tried with GPIOSetDir on 1 or 0 but still don't work .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Set-a-bit-to-0/m-p/529824#M1677</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set a bit to 0</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Set-a-bit-to-0/m-p/529825#M1678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by graynomad on Fri Jul 13 16:41:52 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;If I link the pin manually (with a wire) to the GND, all is working well.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Umm, you're forcing a pin that's high to GND with a wire? That's a good way to kill your processor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for your problem I had a similar issue the other day and it turned out to be that I wasn't enabling the GPIO clock. For the LPC1227 the code to do so is&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL |= (1&amp;lt;&amp;lt;31);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the bit position is different for other processors.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Set-a-bit-to-0/m-p/529825#M1678</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set a bit to 0</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Set-a-bit-to-0/m-p/529826#M1679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gabriellobao on Tue Jul 17 07:33:55 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found a problem like tahat. In the BaseBoard, that same pin PIO1_2, just can't be cleared by software. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying an application with the RGB led, and this pin controlls the blue color. The blue led never goes off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that happen because of the ADC, and i don't know how desable ADC function fot that pin. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone help me? :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Set-a-bit-to-0/m-p/529826#M1679</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:42Z</dc:date>
    </item>
  </channel>
</rss>

