<?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>Kinetis Microcontrollers中的主题 Re: K22: Calibrating ADC with VDDA = 3.3V, VREFH = 2.5V?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698558#M42951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jo, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 14:15:22 GMT</pubDate>
    <dc:creator>maxkessler</dc:creator>
    <dc:date>2017-09-11T14:15:22Z</dc:date>
    <item>
      <title>K22: Calibrating ADC with VDDA = 3.3V, VREFH = 2.5V?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698554#M42947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found one discussion regarding using dual 3.3V supplies for VDDA and VREFH and disussing whether or not this was a good idea. I have searched, but couldn't find anything on this subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My device: MK22FN256VLL12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use a 2.5V external, high precision voltage reference for the ADC, so that is connected at the VREFH pin.&lt;/P&gt;&lt;P&gt;However, I also want to ensure the the performance/gain/offset of the ADC is as good as possible, so I am implementing the calibration procedure as also described in AN3949.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AN3949 states that VREFH and VDDA should be above 3V. The Reference manual for my device states that VREFH = VDDA. I meet neither of those requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- What would your recommendation be in such a case?&lt;/P&gt;&lt;P&gt;- Can I just multiply the sum of CLP and CLM registers by 3.3/2.5 or something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd rather not spend money on a DC switch that can be controlled by a GPIO, if this can be avoided.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 08:39:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698554#M42947</guid>
      <dc:creator>troelsoesteraa</dc:creator>
      <dc:date>2017-09-08T08:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: K22: Calibrating ADC with VDDA = 3.3V, VREFH = 2.5V?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698555#M42948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure where you get the 'VrefH = Vdda' requirement.&amp;nbsp; The datasheets I look at say this:&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/30222i294627564A971428/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;So, anything from 1.13V to Vdda. Naturally enough, accuracy specs reduce at lower VrefH.&lt;/P&gt;&lt;P&gt;Now I DO agree that at ALL times Vdda must be within 100mV of Vdd:&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/30276i47A4A35BB1FC32B3/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;so I can't see the logic in 'dual, analog and digital supplies'.&amp;nbsp; I run a 3V accurate reference myself:&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/30316i7FD229F74CD1E849/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 calibration procedure should relate itself directly to the VrefH you are giving.&amp;nbsp; I wouldn't change any results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698555#M42948</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2017-09-11T12:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: K22: Calibrating ADC with VDDA = 3.3V, VREFH = 2.5V?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698556#M42949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, it is much appreciated.&lt;/P&gt;&lt;P&gt;The "VREFH = VDDA" I agree is not a requirement, but it seems to be "highly suggested" during ADC calibration.&lt;/P&gt;&lt;P&gt;For the MCU I'm using, it is described under "33.4.6 Calibration function", pg. 740 in the reference manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;For best calibration results:&lt;BR /&gt;• Set hardware averaging to maximum, that is, SC3[AVGE]=1 and SC3[AVGS]=11&lt;BR /&gt;for an average of 32&lt;BR /&gt;• Set ADC clock frequency fADCK less than or equal to 4 MHz&lt;BR /&gt;• VREFH=VDDA&lt;BR /&gt;• Calibrate at nominal voltage and temperature&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And thanks for the circuit - instead of the 3.0V VREFH, I'm running 2.5V, so we're somewhat it the same boat regarding unequal VREFH and VDDA. :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd really appreciate some more details detailing why, for calibration, VREFH should be at VDDA potential, e.g. what happens internally during calibration, which voltage references are used, and how this affects the calibration result, but I've been unable to find any details on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end result of this might be a test setup, where I measure different voltages between 0-2.5V with/without calibration, but then again, this might not tell the true story with only a few samples to try this on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 13:40:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698556#M42949</guid>
      <dc:creator>troelsoesteraa</dc:creator>
      <dc:date>2017-09-11T13:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: K22: Calibrating ADC with VDDA = 3.3V, VREFH = 2.5V?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698557#M42950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think 'for best results' means anything more than that given a fixed internal-noise-level, the maximum ENOB is achieved with maximum Vref.&amp;nbsp; The specs are all given at 3V, I chose 3V to be a 'near maximum I could regulate' and insure &amp;lt;= my 3.3V supply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:13:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698557#M42950</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2017-09-11T14:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: K22: Calibrating ADC with VDDA = 3.3V, VREFH = 2.5V?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698558#M42951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jo, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:15:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Calibrating-ADC-with-VDDA-3-3V-VREFH-2-5V/m-p/698558#M42951</guid>
      <dc:creator>maxkessler</dc:creator>
      <dc:date>2017-09-11T14:15:22Z</dc:date>
    </item>
  </channel>
</rss>

