<?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 ADC module results for MCF52259 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ADC-module-results-for-MCF52259/m-p/840153#M13628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm testing and analyzing an old project that was built within codewarrior for 7.2 arch and uTasker1.3. So I'm using uTasker ADC libraries. Viewing the adc results and de micro datasheets I have some unclear adc behaviour. I write hoping someone here could bring me some light if I missunderstanding something. The code has a single ended adc bit configured (ADC_0), loop mode and seq mode. Maybe is an uTasker issue. But I would like to have somethings about&amp;nbsp;the MCU's adc cleared.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Reading the datasheet I see that&amp;nbsp;VRefH max could be typically 3.3v. If adc resolution is 12b, I will have 4092 points. This means the maxim value that I can read in result registers is 4092, being equivalent to maximum voltatge input = 3.3V. Isn't it?&lt;/LI&gt;&lt;LI&gt;Is there any way to get more than 4092 value? I'm reading 21045, for example, so far from 4092!.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Another question I have regarding the ADC block is if it is possible to have much more than 3.3 V to be converted? 5v, 10v, ... ,12v? Since I have understood, Vi converted rank depends on adc VREF max (3.3). But maybe I'm wrong. Could someone validate this?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2018 11:10:48 GMT</pubDate>
    <dc:creator>eugenia_suarez</dc:creator>
    <dc:date>2018-10-26T11:10:48Z</dc:date>
    <item>
      <title>ADC module results for MCF52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ADC-module-results-for-MCF52259/m-p/840153#M13628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm testing and analyzing an old project that was built within codewarrior for 7.2 arch and uTasker1.3. So I'm using uTasker ADC libraries. Viewing the adc results and de micro datasheets I have some unclear adc behaviour. I write hoping someone here could bring me some light if I missunderstanding something. The code has a single ended adc bit configured (ADC_0), loop mode and seq mode. Maybe is an uTasker issue. But I would like to have somethings about&amp;nbsp;the MCU's adc cleared.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Reading the datasheet I see that&amp;nbsp;VRefH max could be typically 3.3v. If adc resolution is 12b, I will have 4092 points. This means the maxim value that I can read in result registers is 4092, being equivalent to maximum voltatge input = 3.3V. Isn't it?&lt;/LI&gt;&lt;LI&gt;Is there any way to get more than 4092 value? I'm reading 21045, for example, so far from 4092!.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Another question I have regarding the ADC block is if it is possible to have much more than 3.3 V to be converted? 5v, 10v, ... ,12v? Since I have understood, Vi converted rank depends on adc VREF max (3.3). But maybe I'm wrong. Could someone validate this?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 11:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ADC-module-results-for-MCF52259/m-p/840153#M13628</guid>
      <dc:creator>eugenia_suarez</dc:creator>
      <dc:date>2018-10-26T11:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: ADC module results for MCF52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ADC-module-results-for-MCF52259/m-p/840154#M13629</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;You did not mentioned any hardware board you used. The NXP evaluation board or customer board. I am not familiar with the uTasker, however I will try to clarify the ADC itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First please make sure that&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/66909i586DCA9565EB6801/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;&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/66953iE58CF21EFA297715/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;&lt;/P&gt;&lt;P&gt;So you should strictly follow the above ADC spec to get an accurate/full range of ADC value, the full scale should be 4095. So back to your questions:&lt;/P&gt;&lt;P&gt;1. yes, 3.3v with a full scale of 4095.&lt;/P&gt;&lt;P&gt;2. No.&lt;/P&gt;&lt;P&gt;3. VREFL&amp;lt;VADIN&amp;lt;VREFH&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 08:16:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ADC-module-results-for-MCF52259/m-p/840154#M13629</guid>
      <dc:creator>miduo</dc:creator>
      <dc:date>2018-10-30T08:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: ADC module results for MCF52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ADC-module-results-for-MCF52259/m-p/840155#M13630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have just found&amp;nbsp;this information in datasheet for the single ended mode. I think Note 2 and thie following formula would bring some sense to the values I was reading:&lt;/P&gt;&lt;P&gt;&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/68349iA4DE79E03BD2344F/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;&lt;/P&gt;&lt;P&gt;So, 111111111111000 is the max ADC value, and 0 when Vin = VREFL (with 4096 possible states between both).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 10:31:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ADC-module-results-for-MCF52259/m-p/840155#M13630</guid>
      <dc:creator>eugenia_suarez</dc:creator>
      <dc:date>2018-10-30T10:31:16Z</dc:date>
    </item>
  </channel>
</rss>

