<?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: LPC824 ADC Offset in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729853#M29517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are experiencing the same 35mV offset problem on our project. &amp;nbsp;Same offset on all channels in use. &amp;nbsp;Same offset across different boards. &amp;nbsp;Adding the code that Simon suggested did&amp;nbsp;NOT solve the problem. &amp;nbsp;Looks like a consistent +35mV offset at all input voltages from 0V on up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using a 3.3V reference made by a precision reference supply. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NXP&amp;nbsp; - What is the story with this issue? &amp;nbsp;Did the “deep research” by Kerry Zhou reach any conclusions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2018 22:29:49 GMT</pubDate>
    <dc:creator>ddevries</dc:creator>
    <dc:date>2018-09-26T22:29:49Z</dc:date>
    <item>
      <title>LPC824 ADC Offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729846#M29510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I seem to be getting a large offset from the ADC on the LPC824.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the LPCXpresso824 eval board (OM13071) and I shorted the ADC input to GND.&amp;nbsp; I am using the default LPCopen ADC demo code.&amp;nbsp; &amp;nbsp;The output of the ADC is 0x02C, which is about 35mV&amp;nbsp; [(3.3/4096)*44].&amp;nbsp; I have verified this on several different demo boards - all having an output value when the input is grounded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have verified that the calibration is being performed&amp;nbsp;and have verified that the initialization and operation of the LPCopen code follows the users manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing something wrong or missing something that the ADC does not output zero when the input is grounded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 16:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729846#M29510</guid>
      <dc:creator>krissielski</dc:creator>
      <dc:date>2018-03-23T16:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 ADC Offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729847#M29511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kris,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please tell me the lpcopen version and the IDE you are using, I will do the deep research on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 09:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729847#M29511</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-03-26T09:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 ADC Offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729848#M29512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MCUXpresso V10.1.1.1 and LPCopen Version 2_19 (the version included with the MCUXpreso install).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 13:23:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729848#M29512</guid>
      <dc:creator>krissielski</dc:creator>
      <dc:date>2018-03-26T13:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 ADC Offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729849#M29513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it would be great to test ADC on LPC824, me and some of my friends had problem with ADC linearity of ADC on LPC824.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try to connect some power source and measure values from 0 to VCC and put them into the graph - value from power source, value from LPC824. Above 1/2 range, there is huge problem with ADC. I tried to ask here&amp;nbsp;&lt;A href="https://community.nxp.com/thread/421806"&gt;https://community.nxp.com/thread/421806&lt;/A&gt;&amp;nbsp; But there was no response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 19:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729849#M29513</guid>
      <dc:creator>vojtechhavlicek</dc:creator>
      <dc:date>2018-03-26T19:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 ADC Offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729850#M29514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vojtech and Kris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks for you to point out this question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have test the newest lpcopen adc code on my LPC824, I already reproduce the problem when I input 0v.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I will do the deep research, and will let you know if I have any updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please wait patiently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 09:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729850#M29514</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-03-27T09:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 ADC Offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729851#M29515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any update on this. Got the same issue on my latest project. Looks like the ADC on the 824 is basically unusable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do note that figure 38 in the data sheet it seems that ADC inputs 1..11 are connected via 250 ohm to 2.5K R to ADC0 - is that really true?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, pull up resistance seems to be about 66k for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So - is the LPC824 not fit for purpose ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 22:11:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729851#M29515</guid>
      <dc:creator>simonwood</dc:creator>
      <dc:date>2018-04-10T22:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 ADC Offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729852#M29516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Had a thought today - just tried it out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add the following three lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chip_Clock_EnablePeriphClock(SYSCTL_CLOCK_IOCON);&lt;BR /&gt; Chip_IOCON_PinSetMode(LPC_IOCON, IOCON_PIO23, PIN_MODE_INACTIVE);&lt;BR /&gt; Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_IOCON);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Makes a big difference for me ;-)&amp;nbsp; [obviously adjust the IOCON pin as needed]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a very quick test my readings from 0 to 2818 (of 4096) are to within better than 1% as far as my DVM shows (and that includes the measured voltage going through a voltage divider.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 18:50:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729852#M29516</guid>
      <dc:creator>simonwood</dc:creator>
      <dc:date>2018-04-11T18:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 ADC Offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729853#M29517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are experiencing the same 35mV offset problem on our project. &amp;nbsp;Same offset on all channels in use. &amp;nbsp;Same offset across different boards. &amp;nbsp;Adding the code that Simon suggested did&amp;nbsp;NOT solve the problem. &amp;nbsp;Looks like a consistent +35mV offset at all input voltages from 0V on up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using a 3.3V reference made by a precision reference supply. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NXP&amp;nbsp; - What is the story with this issue? &amp;nbsp;Did the “deep research” by Kerry Zhou reach any conclusions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 22:29:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/729853#M29517</guid>
      <dc:creator>ddevries</dc:creator>
      <dc:date>2018-09-26T22:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 ADC Offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/1186617#M42961</link>
      <description>&lt;P&gt;In my case, I can duplicate the offset and then solve that.&lt;/P&gt;&lt;P&gt;I config I/O from &lt;STRONG&gt;PULL-UP&lt;/STRONG&gt; to &lt;STRONG&gt;INACTIVE&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;since PULL-UP is default setting in Pins configuration tool.&lt;/P&gt;&lt;P&gt;IOCON_PIO_MODE(&lt;STRONG&gt;PIO0_14_MODE_PULL_UP&lt;/STRONG&gt;) -&amp;gt;&amp;nbsp;IOCON_PIO_MODE(&lt;STRONG&gt;PIO0_14_MODE_INACTIVE&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IDE: MCUXPRESSO V11.2.1&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 09:46:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-ADC-Offset/m-p/1186617#M42961</guid>
      <dc:creator>ch_chang</dc:creator>
      <dc:date>2020-11-20T09:46:46Z</dc:date>
    </item>
  </channel>
</rss>

