<?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: LPC11U68 ADC linearity problems in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662267#M26391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi marcschuman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What the ramp input wave frequency you are using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; And what the ADC convert rate you are configuring?&lt;/P&gt;&lt;P&gt;&amp;nbsp; In the application, the ADC convert rate need at least 5 times or 10 times than the input wave frequency.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You also can provide the ramp input wave picture, and your lpc11u68 adc test code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply!&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, 06 Feb 2017 08:00:04 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-02-06T08:00:04Z</dc:date>
    <item>
      <title>LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662266#M26390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the LPC11U68, and am seeing rather bad ADC performance.&amp;nbsp; If I run a precision ramp into the input to collect the transfer function, I see that it plateaus at 8 counts before every 64 count boundary, and then jumps up to the boundary.&amp;nbsp; So for example, the ramp will be clean and one to one from 0 to 56, and then the ADC continues to return 56 for 8 steps, and then jumps to 64.&amp;nbsp; Same thing happens at 120 through 128, 184 through 192, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has been the case with multiple samples of the chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone encountered this?&amp;nbsp; Any ideas?&amp;nbsp; I am running the chip at 3.3V, Ref at 2.5V, and doing the ADC calibration operation per the user manual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 02:52:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662266#M26390</guid>
      <dc:creator>marcschuman</dc:creator>
      <dc:date>2017-02-02T02:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662267#M26391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi marcschuman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What the ramp input wave frequency you are using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; And what the ADC convert rate you are configuring?&lt;/P&gt;&lt;P&gt;&amp;nbsp; In the application, the ADC convert rate need at least 5 times or 10 times than the input wave frequency.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You also can provide the ramp input wave picture, and your lpc11u68 adc test code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply!&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, 06 Feb 2017 08:00:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662267#M26391</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-06T08:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662268#M26392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an image of the collected data.&amp;nbsp; I am converting at 10 ksps.&amp;nbsp; I have a precision analog ramp feeding the input that is stepping at about 1/3 lsb per ADC conversion.&amp;nbsp; You can see that the jumps occur always at 8 counts below a 64 count boundary.&amp;nbsp; That is independent of input offset, sample rate, etc.&amp;nbsp; The ADC seems to have missing codes for the 8 counts prior to each 64 count boundary.&amp;nbsp; Notice also that there is a slope error on each segment.&amp;nbsp; We have seen this exact behavior on multiple samples of the LPC11 MPU.&amp;nbsp; Do you think that the chip should be performing better than this?&amp;nbsp; Is there any kind of software setup problem that could cause this?&amp;nbsp; Or is it possible that we have a bad batch of chips?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ADC problem.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13948iBC10027D8A1F1C78/image-size/large?v=v2&amp;amp;px=999" role="button" title="ADC problem.png" alt="ADC problem.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 08:43:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662268#M26392</guid>
      <dc:creator>marcschuman</dc:creator>
      <dc:date>2017-02-06T08:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662269#M26393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could someone from NXP confirm or dispute this performance data on the LPC11U68?&amp;nbsp; I have a product that depends on this ADC, and it is a huge problem.&amp;nbsp; I will have to redesign the product if this is the actual performance that we will get in production.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 20:41:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662269#M26393</guid>
      <dc:creator>marcschuman</dc:creator>
      <dc:date>2017-02-09T20:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662270#M26394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi marcschuman,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please share your ADC sample code(just the ADC code which can reproduce the problem, you don't need to send the whole code), then we can help you to check whether it is the software setup problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please also give me the analog ramp feeding scope waveform, then I will find a similar wave , test it on my side, and try to reproduce your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply!&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>Tue, 14 Feb 2017 07:11:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662270#M26394</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-14T07:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662271#M26395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot send you the sample code because it is part of a very large and complicated code base.&amp;nbsp; But here are the key setup lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_ADC_Init(LPC_ADC, 99);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_ADC_StartCalibration(LPC_ADC);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (!(Chip_ADC_IsCalibrationDone(LPC_ADC))) {}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_ADC_SetDivider(LPC_ADC,15);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_ADC_SetupSequencer(LPC_ADC, ADC_SEQA_IDX,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SEQ_CTRL_CHANSEL(1) | &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SEQ_CTRL_CHANSEL(2) | &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SEQ_CTRL_CHANSEL(4) | &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SEQ_CTRL_CHANSEL(5) | &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SEQ_CTRL_MODE_EOS | &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SEQ_CTRL_HWTRIG_CT32B0_MAT0 | &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SEQ_CTRL_HWTRIG_SYNCBYPASS | &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SEQ_CTRL_HWTRIG_POLPOS | &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_SEQ_CTRL_SEQ_ENA);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_ADC_ClearFlags(LPC_ADC, Chip_ADC_GetFlags(LPC_ADC));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_ADC_EnableInt(LPC_ADC, (ADC_INTEN_SEQA_ENABLE));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The counter timer triggers the sequencer at 1 kHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The analog input is created by dividing down and filtering a precision waveform created by custom equipment.&amp;nbsp; I cannot get you a scope capture of that waveform at this time.&amp;nbsp; But I can explain that it is a perfect staircase pattern, with the height of each step approximately 200 uV.&amp;nbsp; That is about 1/3 of an lsb for the ADC, which has a Vref of 2.5V.&amp;nbsp; The steps are occurring at 1 kHz and the sampling is at 1 kHz.&amp;nbsp; So there is an uncertainty about where the step edge occurs relative to the sample point, but the step edge is only 200 uV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that if you set up such a test, you will see the same results.&amp;nbsp; This is a standard test of ADC linearity!&amp;nbsp; You can do the same thing with a precision programmable voltage source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that this ADC seems to have terrible DNL.&amp;nbsp; I need to know if it is due to a software setup problem, a problem with a batch of chips that we bought, or a problem with all LPC11U68 chips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide some actual captured data showing the linearity performance of your ADC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 08:52:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662271#M26395</guid>
      <dc:creator>marcschuman</dc:creator>
      <dc:date>2017-02-14T08:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662272#M26396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Marcschuman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please tell me how you get your picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15698iF844E6C65B245337/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;what is the horizontal axis unit, and vertical axis?&lt;/P&gt;&lt;P&gt;Actually, the slope of the wire is still not change, but it seems the x axis(horizontal axis) time is change, it caused your wire move upword.&lt;/P&gt;&lt;P&gt;So, please tell me how you get these data? save the adc data in the ADC interrupt or the timer interrupt? or any other else?&lt;/P&gt;&lt;P&gt;I do the testing on my LPC11U68 board with a fixed voltage:1.318V, test with multimeter.&lt;/P&gt;&lt;P&gt;Then use a flag in the timer interrupt to indicate the hardware timer happens. And save 100 datas in the while(1) like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15792i1E8AE990F3D7D8C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The converted ADC data also have fluctuation. Tomorrow, I will find a ramp source to test it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Except the your picture's horizontal axis unit and test method, please also tell me how many LSB on your side in this picutre:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15832i34CAE67BF74FB160/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From the datasheet, the LPC11U68 really have the LSB errors:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15833i39E388DFB718104A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please give me more details, I also need to check it with our AE department.&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>Wed, 15 Feb 2017 10:08:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662272#M26396</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-15T10:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662273#M26397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Y axis is giving actual raw ADC values.&amp;nbsp; The X axis is the step number of the staircase waveform being input to the ADC, where each step is about 1/3 lsb.&amp;nbsp; The spot where you ask on the graph "How many lsb in this area" is 8 lsb.&amp;nbsp; The jumps in the recorded data are always 8 lsb, and they happen at every multiple of 64 in the ADC results.&amp;nbsp; That is, there is always a jump from ADC output (n * 64) - 8 to (n * 64).&amp;nbsp; The maximum DNL specified by the datasheet is 2.5 lsb.&amp;nbsp; But the actual DNL I am seeing is 8 lsb, and that happens regularly.&amp;nbsp; This means that the "12 bit" ADC in the chip is actually only usable as a 9 bit ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can send you an Excel spreadhseet with all of this data if you have a way for me to do that.&amp;nbsp; But here is a sample, which covers the area of the jump in the graph above.&amp;nbsp; Step is the input step number, and counts is the raw ADC value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 192pt;" width="256"&gt;&lt;TBODY&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt; width: 48pt;" width="64"&gt;step:&lt;/TD&gt;&lt;TD align="right" style="width: 48pt;" width="64"&gt;71&lt;/TD&gt;&lt;TD style="width: 48pt;" width="64"&gt;counts&lt;/TD&gt;&lt;TD align="right" style="width: 48pt;" width="64"&gt;308&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;72&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;308&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;73&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;309&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;74&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;308&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;75&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;308&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;76&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;309&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;77&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;309&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;78&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;310&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;79&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;309&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;80&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;309&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;81&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;310&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;82&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;310&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;83&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;310&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;84&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;310&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;85&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;310&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;86&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;311&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;87&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;312&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;88&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;312&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;89&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;313&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;90&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;312&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;91&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;312&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;92&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;320&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;93&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;313&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;94&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;313&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;95&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;314&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;96&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;321&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;97&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;320&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;98&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;321&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;99&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;321&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;321&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;321&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;321&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;103&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;322&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;104&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;323&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;105&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;323&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;106&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;322&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;107&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;323&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;108&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;324&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;109&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;323&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;110&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;324&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;111&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;324&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="height: 14.4pt;"&gt;step:&lt;/TD&gt;&lt;TD align="right"&gt;112&lt;/TD&gt;&lt;TD&gt;counts&lt;/TD&gt;&lt;TD align="right"&gt;324&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 10:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662273#M26397</guid>
      <dc:creator>marcschuman</dc:creator>
      <dc:date>2017-02-15T10:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662274#M26398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi marcschuman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Are you convenient to use the ADC to test the fixed voltage, for example 1V on your side? Still use the 64 counts to test it, then send me your excel data.&lt;/P&gt;&lt;P&gt;&amp;nbsp; It also useful to my analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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>Thu, 16 Feb 2017 09:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662274#M26398</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-16T09:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662275#M26399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have a setup right now to collect that data.&amp;nbsp; However, we have done so in the past, and I can tell you that the result is as expected.&amp;nbsp; Most samples are +/- 1 count from the nominal value, occasionally 2 counts, and very occasionally more.&amp;nbsp; Here is an example of real data collected (ADC output values):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2136 2136 2136 2136 2137 2137 2138 2137 2136 2136 2136 2136 2138 2136 2137 2137 2136 2136 2136 2136 2136 2137 2137 2136 2136 2138 2135 2136 2135 2136 2137 2136&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The jumps that are the problem are clearly not related to timing, sample rate, specific voltage, or anything besides the ADC output code value.&amp;nbsp; They are clearly happening at the (n *64) - 8 transition.&amp;nbsp; It seems very much like a differential nonlineariy problem, perhaps caused by incorrect capacitor values internal to the chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you send me a proper DNL test result for this chip?&amp;nbsp; That is a very standard measure of ADC performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 05:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662275#M26399</guid>
      <dc:creator>marcschuman</dc:creator>
      <dc:date>2017-02-17T05:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662276#M26400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcschuman,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sorry for my later reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I test it on my side, now share you my test result in the LPCXpress LPC11U68 board.&lt;/P&gt;&lt;P&gt;In put wave:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14059i16419754A3E27181/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My function waveform generator may not as precise as yours(it is just 8 bit), from the wave, it has the small jump in the rising wave.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14204iB21A62EAA1569EE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The ADC convert data, this is just part of the sawtooth wave.&lt;/P&gt;&lt;P&gt;I saved 1000 points, printf data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14203iFD8E05C6F0EDA6DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Zoom up the wave in the red frame.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14247i1FD8A8FA8FAB2377/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; From the overall wave, the data is rising. The jump in the wave should caused by the original wave in my side.&lt;/P&gt;&lt;P&gt;My ADC trigger is using the systick, 20us do one ADC trigger, and save the convert result, then save it to the buffer, after the counter reach 1000, it will stop the adc convert, and printf the 1000 adc results. From the above result, every stage is about 50 points, one pints is 20us, so 50*20us is 1000us=1ms=1Khz, just like the original wave.&lt;/P&gt;&lt;P&gt;Send you partical test&amp;nbsp; data:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 48pt;" width="64"&gt;&lt;TBODY&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt; width: 48pt;" width="64"&gt;869&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;866&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;871&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;867&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;869&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;870&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;869&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;870&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;867&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;867&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;865&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;867&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;867&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;868&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;868&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;870&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;868&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;867&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;869&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;866&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;869&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;868&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;870&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;869&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;868&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;871&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;869&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;867&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;868&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;869&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;865&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;868&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;870&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;871&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;871&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;869&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;872&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;891&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;888&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;884&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;885&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;885&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;885&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;887&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;881&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;886&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;885&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;887&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;885&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;886&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;882&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;882&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;880&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;885&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;882&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;885&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;884&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;885&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;887&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;882&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;884&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;884&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;884&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;889&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;891&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;885&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;888&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;881&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;884&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;886&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;882&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;883&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;884&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;886&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;886&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;898&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;902&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;896&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;899&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;894&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;903&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;901&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;901&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;897&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;903&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;897&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;901&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;903&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" height="20" style="height: 15.0pt;"&gt;896&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is just my test result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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, 20 Feb 2017 10:47:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662276#M26400</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-20T10:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662277#M26401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcschuman,&lt;/P&gt;&lt;P&gt;Please also use the oscilloscope to test your ramp wave, whether it have the jump after zoom up. Whether it is really 1/3 LSB step as you said.&lt;/P&gt;&lt;P&gt;&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, 20 Feb 2017 10:50:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662277#M26401</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-20T10:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662278#M26402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi marcschuman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; After analyzing your post adc picture again, we think it may caused by your code about the adc result saving, not the adc performance, DNL shouldn't like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Because you don't want to give me your adc test code, now, to work in accordance, please use my test project and test on your side with your precision ramp wave.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; My code is modified based on the lpcopen_2_12_lpcxpresso_nxp_lpcxpresso_11u68, and test on the LPCXpresso LPC11U68 board, convert ADC channel 0, PIO1_9.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The code will trigger the adc convert in 20us, and save the convert result to the buffer, after the result reach 1000 points, then stop adc converting and printf the data out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you want to change the trigger time to 1ms, you can modify adc.c file, line 204 configuration to:&lt;/P&gt;&lt;P&gt;SysTick_Config(48000);//1ms trigger&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please use my attached project, and test it on your side.&lt;/P&gt;&lt;P&gt;&amp;nbsp; After testing, just like me sharing my test result.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Give me your precision ramp wave oscilloscope wave, zoom up to check whether it have the stage up.&lt;/P&gt;&lt;P&gt;&amp;nbsp; And give me your test 1000 points data, and the according excel wave or the excel with test result directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can find the 1000 points data from the uart0, PIO0_19(tx). PIO0_18(rx).&lt;/P&gt;&lt;P&gt;Waiting for your test result.&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>Tue, 21 Feb 2017 05:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662278#M26402</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-21T05:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662279#M26403</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;Thank you for all the work that you have been doing to investigate this problem.&amp;nbsp; Unfortunately I don't think that the test ramp you are using has enough resolution to see the problem that we are seeing.&amp;nbsp; The discontinuity that is a problem for our application is 8 lsb's, with a reference voltage of 2.5V.&amp;nbsp; So that is only about 5 mV.&amp;nbsp; The step size of your ramp is already larger than that.&amp;nbsp; Also the noise floor is rather high.&lt;/P&gt;&lt;P&gt;The test signal that we are using is generated with a PWM output.&amp;nbsp; It is running at 4 kHz with a master clock of 48 MHz, so the resolution is 1/12000.&amp;nbsp; That is scaled over the input range of the ADC, so we get about 1/3 LSB per step.&amp;nbsp; The PWM output is filtered with a 4th order Low Pass Filter at 100 Hz, so the result is a very clean test signal that is inherently linear.&lt;/P&gt;&lt;P&gt;The reason that I feel sure that the problem is in the ADC is that the jump occurs at every multiple of 64, precisely over the 8 counts preceding the boundary.&amp;nbsp; If the problem were in the test signal, it would not line up with the ADC codes so precisely.&amp;nbsp; Voltage and timing offsets would cause it to appear at different places over the course of the test.&amp;nbsp; Similarly, if there were some problem saving or reading out the results from the ADC, it would not align perfectly with the actual numeric code values like that.&amp;nbsp; It doesn't matter how fast we run the ramp or where in the ramp we start.&amp;nbsp; The jumps always occur at ADC codes of (n * 64) - 8.&amp;nbsp; This really *has* to be something happening in the ADC.&amp;nbsp; The only thing I'm wondering is if there is some setup process for the ADC that we are not doing correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't send you our entire test code because it is integrated into the complete application, which has more than 100 files, some of which are proprietary.&amp;nbsp; But I did copy the important ADC parts out in an earlier post.&amp;nbsp; At thsi point I don't have time to set up your application on our hardware.&amp;nbsp; I was hoping that you would be able to confirm the performance of the ADC, and that you might be able to see something about our ADC setup that would explain the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me ask you: does NXP guarantee the performance of the ADC specified in the datasheet: +/- 2.5 lsb DNL?&amp;nbsp; And do you have some sample test data that shows that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for you to show this discussion to the chip designer, and ask if this might be a known issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 09:47:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662279#M26403</guid>
      <dc:creator>marcschuman</dc:creator>
      <dc:date>2017-02-21T09:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662280#M26404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi marcschuman,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1. You said your test signal is very precise, please share your test signal wave in the oscilloscope. Post the picture.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2. I don't need your whole project, just as I said, copy a project, delete all the other important code, just leave ADC code which can reflect the problem, it should contains the code segment how to save the several 64 datas, how to printf it. Especially in the loop code about the adc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The code you have shared can't see how you save the adc result, how to printf out, this is important to check the data continuous problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From your post picture, it seems you missed one or two adc points, and the slope never changed. if it caused by the error(DNL), it won't be so regular. That's why I think it caused by the software.&lt;/P&gt;&lt;P&gt;3. All the data in our datasheet has been test, after contact with the according department, the datasheet data is reliable.&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>Tue, 21 Feb 2017 10:21:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662280#M26404</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-21T10:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662281#M26405</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 will see if I can have someone get a picture of the test ramp for you.&lt;/P&gt;&lt;P&gt;Our code is fairly complicated; the ADC is using the sequencer, which is triggered from one of the counter/timers.&amp;nbsp; The data is read from the ADC buffers in an interrupt routine.&amp;nbsp; I am very confident that that is all working correctly, and that we are not dropping any data.&amp;nbsp; If I just sent you some parts of the project, you would not be able to verify that it is working correctly, because there are a lot of interactions between different modules.&amp;nbsp; However, we are working on creating a simplified standalone program specifically to demonstrate this problem.&amp;nbsp; It will take a while, as we are very busy right now.&lt;/P&gt;&lt;P&gt;Can you tell me, have there been multiple revisions of the chip? The parts we have are labeled:&lt;/P&gt;&lt;P&gt;LPC11U68JBD100&lt;/P&gt;&lt;P&gt;S4A551.1&amp;nbsp;&amp;nbsp;&amp;nbsp; 05&lt;/P&gt;&lt;P&gt;ZSD15501A&lt;/P&gt;&lt;P&gt;Is it possible that this a bad version of the chip, or a bad datecode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 06:41:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662281#M26405</guid>
      <dc:creator>marcschuman</dc:creator>
      <dc:date>2017-02-27T06:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662282#M26406</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;One more thing that I would like to point out.&amp;nbsp; If you look closely at the plot that I posted, you will see that where the vertical gap is, in fact the two segments overlap in the X dimension.&amp;nbsp; If you look at the numerical data that I sent, you will see that what is happening is that the ADC output is jittering between e.g. 56 and 64 for several steps.&amp;nbsp; This is exactly what one would expect if the ADC has as huge DNL error (many missing steps).&amp;nbsp; The input and conversion noise is causing the output to jump between the two adjacent available codes--which are 8 counts apart.&lt;/P&gt;&lt;P&gt;I hope this will really convince you that it is not a case of dropped data points.&amp;nbsp; The two discontinuous segments clearly overlap in time.&amp;nbsp; And the codes 57 through 63 are *never* present.&lt;/P&gt;&lt;P&gt;The question is whether this is inherent in the chip hardware, or if there is some software mediated setup that is responsible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 06:54:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662282#M26406</guid>
      <dc:creator>marcschuman</dc:creator>
      <dc:date>2017-02-27T06:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662283#M26407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcschuman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am totally understand you about the project complexity, that's why I give you my test project before, it is really a simple project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; If you have time, you also can try my project on your precise ADC input, that's will help both of our analysis(but you reject me before). You can test it when you are free, I am not in hurry. After you test it, just give me the printf points and the original wave.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I find you create a new case again, I will take it, and go on to follow this question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; About the multiple revision question, I will help you to check it with our according department when they are online, then will give you reply later.&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, 27 Feb 2017 07:00:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662283#M26407</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-27T07:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662284#M26408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcschuman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please give me the orginal data in excel which plot the chart from step1 to step 550, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kerry&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 07:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662284#M26408</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-27T07:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68 ADC linearity problems</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662285#M26409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will send you the Excel file.&amp;nbsp; How can I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 07:24:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68-ADC-linearity-problems/m-p/662285#M26409</guid>
      <dc:creator>marcschuman</dc:creator>
      <dc:date>2017-02-27T07:24:07Z</dc:date>
    </item>
  </channel>
</rss>

