<?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 Test &amp; Analog Mode in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Test-Analog-Mode/m-p/590292#M29045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by woodchuck on Sat Dec 01 11:51:11 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay.&amp;nbsp; I see.&amp;nbsp; ADC_TEST actually reads all available ADC lines.&amp;nbsp; That's why all are enabled.&amp;nbsp; I read too much into the comment that "...[B][I]all[/I][/B] pins [B][I]need to be[/I][/B] set..." as though it pertained to any use whatsoever of the ADC facility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:25:12 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:25:12Z</dc:date>
    <item>
      <title>ADC Test &amp; Analog Mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Test-Analog-Mode/m-p/590289#M29042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by woodchuck on Fri Nov 30 15:38:21 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In the LPCXpresso library for the LPC1114, there is an ADC.C file.&amp;nbsp; In the initialization function there is this comment:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]"Unlike some other pings, for ADC test, all the pins need to [be] set to analog mode."[/B]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would anyone know what this means?&amp;nbsp; Even in the sample program, AD4 is being used as SWDIO, since the target uC is reporting values back to the host via JTAG.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I certainly hope it doesn't mean that to use any analog line, you have to use all of them!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:25:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Test-Analog-Mode/m-p/590289#M29042</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Test &amp; Analog Mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Test-Analog-Mode/m-p/590290#M29043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Fri Nov 30 15:53:49 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;UM:&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;The ADC function must be selected via the IOCON registers in order to get accurate voltage readings on the monitored pin. For a pin hosting an ADC input, it is not possible to have a have a digital function selected and yet get valid ADC readings. An inside circuit disconnects ADC hardware from the associated pin whenever a digital function is selected on that pin.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course you can switch each pin to ADC :eek:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Test-Analog-Mode/m-p/590290#M29043</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Test &amp; Analog Mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Test-Analog-Mode/m-p/590291#M29044</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 Nov 30 16:40:36 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;I certainly hope it doesn't mean that to use any analog line, you have to use all of them! &lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, you have to select the analogue function in the IOCON register for the pin you want to use analogue on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the 1227 that means clearing bit 7.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Test-Analog-Mode/m-p/590291#M29044</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Test &amp; Analog Mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Test-Analog-Mode/m-p/590292#M29045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by woodchuck on Sat Dec 01 11:51:11 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay.&amp;nbsp; I see.&amp;nbsp; ADC_TEST actually reads all available ADC lines.&amp;nbsp; That's why all are enabled.&amp;nbsp; I read too much into the comment that "...[B][I]all[/I][/B] pins [B][I]need to be[/I][/B] set..." as though it pertained to any use whatsoever of the ADC facility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:25:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Test-Analog-Mode/m-p/590292#M29045</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:25:12Z</dc:date>
    </item>
  </channel>
</rss>

