<?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: ADC resolution on the DEMOJM board in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ADC-resolution-on-the-DEMOJM-board/m-p/182252#M13386</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Im not an expert but I have been dealing with the JM DemoBoard and the ADC.&lt;/P&gt;&lt;P&gt;The first place where I would look -&amp;gt; initiliazing the ADC.&lt;/P&gt;&lt;P&gt;Take the datasheet and look for every flag in the init process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also take a look in the code (I get mad with the DemoJM Examples) but you will finally understand it by some way&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you seen the voltages in the ADC pins? Make sure you have 5Vcc... ...&amp;nbsp; but as you say ...2047 is exactly the half of 4095, so I think that the hardware is not the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found some C examples from the internet "search for nikola" for this demoboard, using the ADC, not bad for understand how theADC works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Feb 2011 00:54:54 GMT</pubDate>
    <dc:creator>Betadine</dc:creator>
    <dc:date>2011-02-11T00:54:54Z</dc:date>
    <item>
      <title>ADC resolution on the DEMOJM board</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ADC-resolution-on-the-DEMOJM-board/m-p/182251#M13385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an accelerometer attached to the ADC chip on my DEMOJM board.&lt;/P&gt;&lt;P&gt;The ADC chip can be set for 8, 10, or 12 bit resolution.&lt;/P&gt;&lt;P&gt;However, when I set it for 12-bit resolution, I only see 11 bit values.&lt;/P&gt;&lt;P&gt;I would expect&amp;nbsp; to see raw A/D counts go from 0 - 4095.&lt;/P&gt;&lt;P&gt;Instead, I see the counts go from 0 - 2047.&lt;/P&gt;&lt;P&gt;Anybody have any ideas?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 23:36:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/ADC-resolution-on-the-DEMOJM-board/m-p/182251#M13385</guid>
      <dc:creator>johnpaul013</dc:creator>
      <dc:date>2011-02-08T23:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: ADC resolution on the DEMOJM board</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/ADC-resolution-on-the-DEMOJM-board/m-p/182252#M13386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Im not an expert but I have been dealing with the JM DemoBoard and the ADC.&lt;/P&gt;&lt;P&gt;The first place where I would look -&amp;gt; initiliazing the ADC.&lt;/P&gt;&lt;P&gt;Take the datasheet and look for every flag in the init process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also take a look in the code (I get mad with the DemoJM Examples) but you will finally understand it by some way&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you seen the voltages in the ADC pins? Make sure you have 5Vcc... ...&amp;nbsp; but as you say ...2047 is exactly the half of 4095, so I think that the hardware is not the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found some C examples from the internet "search for nikola" for this demoboard, using the ADC, not bad for understand how theADC works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 00:54:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/ADC-resolution-on-the-DEMOJM-board/m-p/182252#M13386</guid>
      <dc:creator>Betadine</dc:creator>
      <dc:date>2011-02-11T00:54:54Z</dc:date>
    </item>
  </channel>
</rss>

