<?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: Issue on using MC9S08JM60SD ADC for Voice Record in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178328#M12666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi X&lt;SPAN class="lia-link-disabled lia-link-navigation"&gt;iujiang,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-disabled lia-link-navigation"&gt;Sounds to me like it could maybe be clipping?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-disabled lia-link-navigation"&gt;mark&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2010 14:31:40 GMT</pubDate>
    <dc:creator>rocco</dc:creator>
    <dc:date>2010-02-23T14:31:40Z</dc:date>
    <item>
      <title>Issue on using MC9S08JM60SD ADC for Voice Record</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178327#M12665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing problem for recording my original voice into JM60 SD card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently i am using JM60 ADC at 128us(7.8khz) to sampling 8bit data into my SD card as wav file. But when i playback the voice file, i found the recorded voice is different with my original voice which become more weightily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my original voice, recorder voice, and filtering circuit before the voice data into the JM60 ADC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone can advice me on the above issue?Is there any wrong on the filtering circuit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 14:18:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178327#M12665</guid>
      <dc:creator>xiujiang</dc:creator>
      <dc:date>2010-02-23T14:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue on using MC9S08JM60SD ADC for Voice Record</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178328#M12666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi X&lt;SPAN class="lia-link-disabled lia-link-navigation"&gt;iujiang,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-disabled lia-link-navigation"&gt;Sounds to me like it could maybe be clipping?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-disabled lia-link-navigation"&gt;mark&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 14:31:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178328#M12666</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2010-02-23T14:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue on using MC9S08JM60SD ADC for Voice Record</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178329#M12667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For one thing, your original recording is 17 seconds in duration and the playback audio is 25 seconds, so it seems your data rate is different from record to playback. You can tell this just by listening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached are the waveforms for your original and playback audio, for the first syllable in your speech (the partial word "test" from your first word "testing"). I'm not sure what to make of it, but the playback sure doesn't look much like the original. There are high frequency components that are not in the original, for one thing. And it doesn't look clipped but it sure sounds clipped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your filter... the effectiveness of that capacitor you have on the input will depend heavily on the output impedance of your audio source. It is probably not doing anything of value. I would expect to see a series capacitor at the connection to your audio source to block any DC component that may be present on the audio signal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps what may be more important is the output filter from your digital to analog conversion rather than the input filter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 02:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178329#M12667</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-02-24T02:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue on using MC9S08JM60SD ADC for Voice Record</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178330#M12668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are at least two potential causes of your distortion problems, quantization noise and distortion, and aliasing problems.&amp;nbsp; If you are generating the replay output using filtered PWM this may also present additional issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you have the voltage divider at the input of the ADC, you will need to have a series capacitor so that the zero signal bias remains at Vdd/2.&amp;nbsp; To prevent aliasing effects, especially with the low sample rate you are using, you will need a "substantial" analog input filter, so that voice frequencies of 3.9kHz and above are significantly attenuated, by maybe 30-40dB.&amp;nbsp; The voice signal may also need to be subject to some compression to limit dynamic range, and have as high a peak input level as possible into the ADC, without exceeding the limits Vss to Vdd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The use of 8-bit resolution (effectively 7-bits plus sign) is causing significant quantization distortion, especially when the signal level is low.&amp;nbsp; With a linear ADC you will need at least 12-bit resolution.&amp;nbsp; This resolution would also be necessary for the DAC used for the replay process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that telephony applications that do utilize 8-bit data format actually use a logarithmic conversion process to enhance dynamic range for low signal levels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 14:44:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178330#M12668</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2010-02-24T14:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue on using MC9S08JM60SD ADC for Voice Record</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178331#M12669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;Hi bigmac,&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;I am not playing back from my PWM output. I saved the raw ADC data format in .wav and play back from my PC. As for the compression range, I am able to contain it within the Vcc &amp;amp; Vss limit without exceeding it. Meantime, I will try to sample at 12bit and see if the result gets any better.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;I have also tested with another circuit yesterday using a low pass filter at the input from the audio source&amp;nbsp; which i have attached below and i was able to record my voice which sound intellegent enough. However, with the similiar circuit after a few attempt, it seems to sound at the lower frequency. Both the recorded files attached are done using the biasing and filter circuit shown in circuit2.&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;Please adsvise.&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;Thanks.&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;Regards,&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;XJ&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;bigmac wrote:&lt;BR /&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are at least two potential causes of your distortion problems, quantization noise and distortion, and aliasing problems.&amp;nbsp; If you are generating the replay output using filtered PWM this may also present additional issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you have the voltage divider at the input of the ADC, you will need to have a series capacitor so that the zero signal bias remains at Vdd/2.&amp;nbsp; To prevent aliasing effects, especially with the low sample rate you are using, you will need a "substantial" analog input filter, so that voice frequencies of 3.9kHz and above are significantly attenuated, by maybe 30-40dB.&amp;nbsp; The voice signal may also need to be subject to some compression to limit dynamic range, and have as high a peak input level as possible into the ADC, without exceeding the limits Vss to Vdd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The use of 8-bit resolution (effectively 7-bits plus sign) is causing significant quantization distortion, especially when the signal level is low.&amp;nbsp; With a linear ADC you will need at least 12-bit resolution.&amp;nbsp; This resolution would also be necessary for the DAC used for the replay process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that telephony applications that do utilize 8-bit data format actually use a logarithmic conversion process to enhance dynamic range for low signal levels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&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>Wed, 24 Feb 2010 19:24:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178331#M12669</guid>
      <dc:creator>xiujiang</dc:creator>
      <dc:date>2010-02-24T19:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue on using MC9S08JM60SD ADC for Voice Record</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178332#M12670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wingsy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was direct playback in PC. I have tried to put a&amp;nbsp; series capacitor at the connection to my audio source but the noise is almost cover my original voice.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 09:22:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178332#M12670</guid>
      <dc:creator>xiujiang</dc:creator>
      <dc:date>2010-02-25T09:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue on using MC9S08JM60SD ADC for Voice Record</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178333#M12671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to record my voice and intelligent enough to recognize it by increase the ADC conversion time.&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, 26 Feb 2010 15:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178333#M12671</guid>
      <dc:creator>xiujiang</dc:creator>
      <dc:date>2010-02-26T15:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue on using MC9S08JM60SD ADC for Voice Record</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178334#M12672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to record audio too, and have a similar problem. I think the issue is with the input circuit.&lt;/P&gt;&lt;P&gt;Do you still have the schematics for the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;filtering circuit?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 18:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Issue-on-using-MC9S08JM60SD-ADC-for-Voice-Record/m-p/178334#M12672</guid>
      <dc:creator>hernantesorieri</dc:creator>
      <dc:date>2014-09-17T18:25:26Z</dc:date>
    </item>
  </channel>
</rss>

