<?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: K10 ADC Calibration  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625462#M37501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You use 1.2V VREF_OUT output voltage as the ADC reference voltage, because the VREF_OUT have to be connected to a 0.1uF capacitor, the VREF circuit has to charge the capacitor, the voltage of the Vref_out is rising based on the formula V(t)=1.2V*(1-EXP(-t/RC)), so time is required to charge the capacitor.&lt;/P&gt;&lt;P&gt;If you use the 1.2V Vref_out pin as ADC voltage reference, you should wait 100us as you said so that the transient process is ended, Vref_out voltage is stable, then you can do ADC calibration and have ADC sample.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2016 08:09:09 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2016-12-01T08:09:09Z</dc:date>
    <item>
      <title>K10 ADC Calibration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625461#M37500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are encountering an issue with the calibration of ADC peripheral (Kinetis MK10DX128VLH5).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Issue Summary:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;On some PCBA, we figured out that a cold start (regarding power supply) leads to ADC conversion errors (around 3%)&lt;/P&gt;&lt;P&gt;After investigation, it seems that the issue comes from ADC calibration.&lt;/P&gt;&lt;P&gt;With a hot start, there is no conversion error è Calibration is OK&lt;/P&gt;&lt;P&gt;With a cold start, conversion error is around &amp;nbsp;3% è Calibration seems to be inaccurate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI style="text-indent: -18.0pt;"&gt;Hot start = VCC is removed and put again while UART is connected to computer&lt;/LI&gt;&lt;LI style="text-indent: -18.0pt;"&gt;Cold start = VCC is removed and put again while UART is not connected to computer&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Figures:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Gain and offset calibration data have been logged and compared.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hot start :&lt;/P&gt;&lt;P&gt;PG=0x81B1 = 1.013214111&lt;/P&gt;&lt;P&gt;MG=0x8000&lt;/P&gt;&lt;P&gt;OFS=0x1F&lt;/P&gt;&lt;P&gt;Conversion Result = 3696&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cold start :&lt;/P&gt;&lt;P&gt;PG=0x823E = 1.01751709&lt;/P&gt;&lt;P&gt;MG=801F&lt;/P&gt;&lt;P&gt;OFS=0x1F&lt;/P&gt;&lt;P&gt;Conversion Result = 3814&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error (Conversion Result) = (3814/3696-1)x100 = 3.2%&lt;/P&gt;&lt;P&gt;Ratio (Gain calibration data) = (1.0175/1.0132-1)x100 = 0.42%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gain calibration data are very close but conversion results are farther. Is it the right calculation ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Conditions:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="text-indent: -18.0pt;"&gt;VREF peripheral is initialized and enabled&lt;/LI&gt;&lt;LI style="text-indent: -18.0pt;"&gt;Wait that VREFST flag is set in VREF_SC register&lt;/LI&gt;&lt;LI style="text-indent: -18.0pt;"&gt;Initialize ADC peripheral&lt;/LI&gt;&lt;LI style="text-indent: -18.0pt;"&gt;Start ADC calibration&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have noticed that waiting a few time between VREFST is set and start of calibration solves the issue.&lt;/P&gt;&lt;P&gt;So, we wonder if calibration is impacted by VREF peripheral and if it is recommended to wait some time before starting calibration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Calibration is not done in the conditions mentioned in the reference manual.&lt;/P&gt;&lt;P&gt;Calibration is done with an ADC clock of 10Mhz, no averaging and VCC is rising.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Register Values:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;VREF_SC = 0xE1 = VREF_SC_VREFEN_MASK | VREF_SC_REGEN_MASK | VREF_SC_ICOMPEN_MASK | VREF_SC_MODE_LV(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ADC0_CFG1 = 0x00000094 = ADC_CFG1_ADLPC(1) | ADC_CFG1_ADIV(0) | ADC_CFG1_ADLSMP(1) | ADC_CFG1_MODE(1) | ADC_CFG1_ADICLK(0);&lt;/P&gt;&lt;P&gt;ADC0_CFG2 = 0x00000000 = ADC_CFG2_ADLSTS(0);&lt;/P&gt;&lt;P&gt;ADC0_SC2 = 0x00000001 = ADC_SC2_REFSEL(1) | ADC_SC2_ADTRG(0);&lt;/P&gt;&lt;P&gt;ADC0_SC3 = 0x00000000 = ADC_SC3_ADCO(0) | ADC_SC3_AVG(0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding VREF, there is something strange.&lt;/P&gt;&lt;P&gt;In the reference manual, it’s written:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="spec.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12511iABCEC67F002C1D35/image-size/large?v=v2&amp;amp;px=999" role="button" title="spec.jpg" alt="spec.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the datasheet, tstup is given for a maximum of 100µs.&lt;/P&gt;&lt;P&gt;As you can see it on the following screenshot, VREFST flag takes about 6µs to be set (after VREF startup) and VREF_OUT takes more than tstup (100µs) to be stable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="Vref.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12555i8AD15807825BD5C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Vref.jpg" alt="Vref.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, we wonder why VREF_OUT takes more than 100µs to be stable and if it may have a link with our calibration issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the reference manual, it is written that ADC used VREF_OUT as reference and not internal bandgap voltage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="ADC_REf.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12598i73212813DC0D14A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ADC_REf.jpg" alt="ADC_REf.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, if we start ADC calibration just after VREFST is set, VREF_OUT is still not stable and calibration is done with a reference that is not stable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On some other PCBA, calibration works well whereas VREF_OUT has the same behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help us to understand these issues ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2016 12:45:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625461#M37500</guid>
      <dc:creator>phil74</dc:creator>
      <dc:date>2016-11-25T12:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: K10 ADC Calibration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625462#M37501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You use 1.2V VREF_OUT output voltage as the ADC reference voltage, because the VREF_OUT have to be connected to a 0.1uF capacitor, the VREF circuit has to charge the capacitor, the voltage of the Vref_out is rising based on the formula V(t)=1.2V*(1-EXP(-t/RC)), so time is required to charge the capacitor.&lt;/P&gt;&lt;P&gt;If you use the 1.2V Vref_out pin as ADC voltage reference, you should wait 100us as you said so that the transient process is ended, Vref_out voltage is stable, then you can do ADC calibration and have ADC sample.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 08:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625462#M37501</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-12-01T08:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: K10 ADC Calibration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625463#M37502</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;&lt;SPAN style="color: #1f497d;"&gt;I can understand that capacitor need time to be charged, but measurements have shown that 100µs is not enough to fully charge this capacitor. The response time (at 5%) is around 250µs. Is it enough to wait 100µs ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Moreover, in the reference manual, it is not mentioned to wait Tstup when the VREF enable switch from 0 to 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;According to RM, I understand that Tstup must only be waited when VREF is already enabled and mode is changed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="33_4.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17324i6C58571E5A23BA4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="33_4.jpg" alt="33_4.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Note as well that the capacitor on VREF_OUT is not 100nF as mentioned in the RM but 2x100nF in series &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;50nF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;For the first designs we only had one 100nF. Is there a link with our issue ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Philippe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 13:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625463#M37502</guid>
      <dc:creator>phil74</dc:creator>
      <dc:date>2016-12-07T13:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: K10 ADC Calibration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625464#M37503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can you remove one 100nF capacitor so taht the cap is 100nF and have a try. I recommend you use the spec of capacitor defined in data sheet for the capacitor spec.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 06:50:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625464#M37503</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-12-08T06:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: K10 ADC Calibration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625465#M37504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;According to the Kinetis design, can this capacitor be the root cause of the calibration issue ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;In fact, we wonder if we can keep these two capacitors without any side-effects. Can you tell us what are the potential side effects ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Moreover, if we remove one 100nF, the settling time will be increase as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Philippe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 09:11:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625465#M37504</guid>
      <dc:creator>phil74</dc:creator>
      <dc:date>2016-12-09T09:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: K10 ADC Calibration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625466#M37505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Philippe,&lt;/P&gt;&lt;P&gt;Do you use the capacitor with SMT(surface mountable package) or insertion package? if you use insertion package, you can connect a float wire on the two capacitor pins on the bottom PCB side. If you use capacitor with SMT, you can remove one capacitor and connect float wire on the pins of capacitor.&lt;/P&gt;&lt;P&gt;If you remove one 100nF cap, as V(t)=1.2*(1-EXP(-t/RC)), C increases, |1/RC| decreases, the setting time will increase.&lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 03:17:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625466#M37505</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-12-12T03:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: K10 ADC Calibration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625467#M37506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After performing several tests, it appears that changing cap value does not change the calibration results.&lt;BR /&gt;The only good results are obtained if we wait for Tstup (100µs) when VREFEN is set.&lt;BR /&gt;But according to the RM this Tstup delay is only needed when VREFEN is set &lt;SPAN style="text-decoration: underline;"&gt;and only when&lt;/SPAN&gt; switching from one MODE_LV mode to another&amp;nbsp; one:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11570iDF8F4F38905EA570/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you confirm this, as it appears from our tests that setting VREF_SC = 0xE1 (meaning set VREFEN and MODE_LV=1 simultanously) we &lt;SPAN style="text-decoration: underline;"&gt;also&lt;/SPAN&gt; need to wait for Tstup to get correct results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Philippe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 18:03:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625467#M37506</guid>
      <dc:creator>phil74</dc:creator>
      <dc:date>2016-12-15T18:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: K10 ADC Calibration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625468#M37507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Any feedback ?&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 08:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625468#M37507</guid>
      <dc:creator>phil74</dc:creator>
      <dc:date>2016-12-21T08:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: K10 ADC Calibration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625469#M37508</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;There are a couple of things that need corrected here.&lt;/P&gt;&lt;P&gt;1) There must be a 100nF capacitor on the VREF_OUT pin. Having 50nF by means of the two 100nF capacitors in series is not allowed.&lt;/P&gt;&lt;P&gt;2) There would appear to be some information missing from the reference manual and data sheet regarding the settling time when chop oscillator s being used (and it must be used to achieve the data sheet performance):&lt;/P&gt;&lt;P&gt;"When the chop oscillator is enabled, the settling time of the internal bandgap reference is defined by Tchop_osc_stup&lt;/P&gt;&lt;P&gt;(chop oscillator start up time). You must wait this time (Tchop_osc_stup) after the internal bandgap has been enabled to ensure the VREF internal reference voltage has stabilized."&lt;/P&gt;&lt;P&gt;The Tchop_osc_stup is defined to be a maximum value of 35ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would ask that you remove one of the 100nF capacitors so that the resulting capacitance seen be the VREF_OUT pin is 100nF and then add a 35mS delay between configuring the VREF module and calibrating the ADC. I would expect this will resolve the variation in the calibration result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look into getting the required changes made to the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alistair&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 17:18:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625469#M37508</guid>
      <dc:creator>al_muir</dc:creator>
      <dc:date>2017-01-20T17:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: K10 ADC Calibration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625470#M37509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;According to calibration procedure: it looks like (it can also depends from application to application) for your type of application it will be better to do calibration once at the beginning (the best is at 25C), may be repeat calibration procedure several times (20x) and get the average values which will be stored in FLASH memory. And copy these values after each reset from flash to the ADC calibration registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:23:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-ADC-Calibration/m-p/625470#M37509</guid>
      <dc:creator>rastislav_pavlanin</dc:creator>
      <dc:date>2017-01-23T16:23:20Z</dc:date>
    </item>
  </channel>
</rss>

