<?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>8-bit MicrocontrollersのトピックRe: S08QG8 ADC</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203682#M16871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;In fact, the specification "promises" that bits 2-7 will always read at 0.&lt;BR /&gt;I just tried it on my DEMOQG8 board, and it reads 0 to 3fe.&lt;BR /&gt;&lt;BR /&gt;Here is a &lt;A href="http://www.freescalemcu.com/samples/DEMO9S08QG8_APP.zip" rel="nofollow" target="_blank"&gt;link&lt;/A&gt; to download this sample code from Axiom, which I have tested.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2008 23:13:36 GMT</pubDate>
    <dc:creator>JimDon</dc:creator>
    <dc:date>2008-03-17T23:13:36Z</dc:date>
    <item>
      <title>S08QG8 ADC</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203680#M16869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;hI&lt;/DIV&gt;&lt;DIV&gt;I'm testing a 9S08QG8 micro.&lt;/DIV&gt;&lt;DIV&gt;When I test the ADC it work like a 12bits converter.&lt;/DIV&gt;&lt;DIV&gt;I"m working with 3,3V and when I read VrefH on the ADCRH: ADCRL the FFE value.&lt;/DIV&gt;&lt;DIV&gt;I believe that if the ADC is 10bits I would have to read 3FF.&lt;/DIV&gt;&lt;DIV&gt;With a trimpot conected to 3,3V&amp;nbsp; and changing from 0V to 3,3V the register change from 0000 to 0FFE&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Which is my error??&lt;/DIV&gt;&lt;DIV&gt;or the&amp;nbsp;ADC&amp;nbsp;is it 12 Bits&amp;nbsp;??&lt;/DIV&gt;&lt;DIV&gt;Best Regards&lt;/DIV&gt;&lt;DIV&gt;Eugenio&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 21:55:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203680#M16869</guid>
      <dc:creator>euge</dc:creator>
      <dc:date>2008-03-17T21:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: S08QG8 ADC</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203681#M16870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;You are correct in that the ADC is at most 10-bits, the upper 2 bits of the lower nibble of ADCRH should not be set.&amp;nbsp; How are you testing that it is varying between these values? Does your tests show that it uses all values from 0x000 to 0xFFE?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 22:50:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203681#M16870</guid>
      <dc:creator>allawtterb</dc:creator>
      <dc:date>2008-03-17T22:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: S08QG8 ADC</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203682#M16871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;In fact, the specification "promises" that bits 2-7 will always read at 0.&lt;BR /&gt;I just tried it on my DEMOQG8 board, and it reads 0 to 3fe.&lt;BR /&gt;&lt;BR /&gt;Here is a &lt;A href="http://www.freescalemcu.com/samples/DEMO9S08QG8_APP.zip" rel="nofollow" target="_blank"&gt;link&lt;/A&gt; to download this sample code from Axiom, which I have tested.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 23:13:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203682#M16871</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-03-17T23:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: S08QG8 ADC</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203683#M16872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;JinDom:&lt;/DIV&gt;&lt;DIV&gt;Thanks by your aswer. After compare your link we discovered an error&lt;/DIV&gt;&lt;DIV&gt;We wrote ADCCFG_MODE=1; that is a reserved value and ADCCFG_MODE must be 2 to convert 10 bits.&lt;/DIV&gt;&lt;DIV&gt;But it is interesting to knoe that ADCCFG_MODE=1 apparently work at 12 bits, we test with diferents voltage values and really work. May be for freescale is unreliable&lt;/DIV&gt;&lt;DIV&gt;Best Regards&lt;/DIV&gt;&lt;DIV&gt;Eugenio&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 00:42:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203683#M16872</guid>
      <dc:creator>euge</dc:creator>
      <dc:date>2008-03-18T00:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: S08QG8 ADC</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203684#M16873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;Glad to hear you resolved the problem. I had a feeling it was something in the setup. This is also a great set of examples for the chip.&lt;BR /&gt;&lt;BR /&gt;Well, it could be that is for internal test only.&lt;BR /&gt;&lt;BR /&gt;In fairness the spec sheet did say "reserved", which means don't do this.&lt;BR /&gt;The chip is only spec'ed to 10 bits, so don't count on this working with out possible side effects.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN class="time_text"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JimDon on &lt;SPAN class="date_text"&gt;2008-03-17&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;02:05 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 01:03:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QG8-ADC/m-p/203684#M16873</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-03-18T01:03:48Z</dc:date>
    </item>
  </channel>
</rss>

