<?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: ADC pin config question in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541301#M12254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by avass on Fri Jan 25 21:34:04 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, when I connect to GND, the value is 6~7...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the LPCXpresso LPC1115 RevA board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a known feature or a "bug"?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:40:23 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:40:23Z</dc:date>
    <item>
      <title>ADC pin config question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541299#M12252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by avass on Tue Jan 22 02:04:08 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm reading the 1115's ADs and what I found is that if I configure the pins, say PIO0_11 with zeroing out FUNC/MODE ( since HYS and OD has no effect ) :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_IOCON-&amp;gt;R_PIO0_11&amp;amp;= ~0x9F;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_IOCON-&amp;gt;R_PIO0_11|= 0x2; // AD0 : Analog Input Mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get readings in the 0-1023 range, which is expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the other hand, if I set pull-up resistor enabled with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_IOCON-&amp;gt;R_PIO0_11|= 0x12;// AD0 : Analog Input Mode/Pull-up resistor enabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get readings in the 7-1023 range...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought the specs say that HYS and MODE have no effect on ADs (7.3.4).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, how come?!!! What am I setting / not setting right?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:40:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541299#M12252</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: ADC pin config question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541300#M12253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Wouter on Thu Jan 24 03:50:54 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The HYS and MODE values should have no effect when using the ADC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you get reading only between 7-1023, does that include when you connect the ADC pin straight to GND?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And what board are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you share the full SW project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wouter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:40:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541300#M12253</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: ADC pin config question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541301#M12254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by avass on Fri Jan 25 21:34:04 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, when I connect to GND, the value is 6~7...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the LPCXpresso LPC1115 RevA board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a known feature or a "bug"?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:40:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541301#M12254</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: ADC pin config question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541302#M12255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Wouter on Tue Jan 29 04:09:24 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just checked the software I used for testing, and see there was an error in it. I just tried it again, and now see the same behavior as you described.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apparantely both the MODE and HYS bits do have an effect in analog mode. Therefore, I advise you to clear these bits. I'll submit a change request to updat the user manual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wouter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:40:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541302#M12255</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: ADC pin config question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541303#M12256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by avass on Sat Feb 02 10:14:24 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Got it, thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:40:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-pin-config-question/m-p/541303#M12256</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:40:24Z</dc:date>
    </item>
  </channel>
</rss>

