<?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 Problem with  ADC on MC68HC908JL16 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Problem-with-ADC-on-MC68HC908JL16/m-p/156971#M9097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Good morning!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To develope my project I'm using the emulator EML08JLJKE for the MCU MC68HC908JL16.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have observed a wrong behavoir on two ADC channels (ADC12 and ADC9) specially when they work booth. On the signal is possible to see a spike, similar to capacitance's discharge, it is periodic, I think that the period is equal to the time used to come at the same instruction in the while for-ever loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have setting the ADC module to work at bus frequency/8 (my bus frequency is 6MHz then the ADC clock frequency is 750KHz). I use single conversion mode, 10bit right justified with ADCSC write triggered mode enabled, long sample time configuration and obvious I have selected internal bus clock as the input source clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Every time I want read one channel, I set ADCSC register (ADCSC = channel_number) and when the flag COCO is set, I read the registers ADRH:ADRL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that the explanation is clear. Every suggestion is welcome, thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mari&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2007 17:01:31 GMT</pubDate>
    <dc:creator>matri</dc:creator>
    <dc:date>2007-10-19T17:01:31Z</dc:date>
    <item>
      <title>Problem with  ADC on MC68HC908JL16</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Problem-with-ADC-on-MC68HC908JL16/m-p/156971#M9097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Good morning!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To develope my project I'm using the emulator EML08JLJKE for the MCU MC68HC908JL16.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have observed a wrong behavoir on two ADC channels (ADC12 and ADC9) specially when they work booth. On the signal is possible to see a spike, similar to capacitance's discharge, it is periodic, I think that the period is equal to the time used to come at the same instruction in the while for-ever loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have setting the ADC module to work at bus frequency/8 (my bus frequency is 6MHz then the ADC clock frequency is 750KHz). I use single conversion mode, 10bit right justified with ADCSC write triggered mode enabled, long sample time configuration and obvious I have selected internal bus clock as the input source clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Every time I want read one channel, I set ADCSC register (ADCSC = channel_number) and when the flag COCO is set, I read the registers ADRH:ADRL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that the explanation is clear. Every suggestion is welcome, thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mari&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 17:01:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Problem-with-ADC-on-MC68HC908JL16/m-p/156971#M9097</guid>
      <dc:creator>matri</dc:creator>
      <dc:date>2007-10-19T17:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  ADC on MC68HC908JL16</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Problem-with-ADC-on-MC68HC908JL16/m-p/156972#M9098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Mari,&lt;BR /&gt;&lt;BR /&gt;This is from memory . . . I believe the input to the ADC has a sample and hold capacitor which must be charged.&amp;nbsp; You need to make sure your driving source has a low enough impedance to charge this capacitor.&amp;nbsp;&amp;nbsp; You may need to install a voltage follower of some type to condition your high impedance sensor on these two channels - the other channels probably have a low enough driving impedance.&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;Peter House&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 18:47:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Problem-with-ADC-on-MC68HC908JL16/m-p/156972#M9098</guid>
      <dc:creator>PeterHouse</dc:creator>
      <dc:date>2007-10-19T18:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  ADC on MC68HC908JL16</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Problem-with-ADC-on-MC68HC908JL16/m-p/156973#M9099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks Peter House!&lt;BR /&gt;&lt;BR /&gt;I have changed the input impedance for these two ADC channel, now it's low.&lt;BR /&gt;The signal from these two channel it's good.&lt;BR /&gt;&lt;BR /&gt;Bye!&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 20:51:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Problem-with-ADC-on-MC68HC908JL16/m-p/156973#M9099</guid>
      <dc:creator>matri</dc:creator>
      <dc:date>2007-10-24T20:51:59Z</dc:date>
    </item>
  </channel>
</rss>

