<?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 How to implement most basic audio input example on FRDM-K66F in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-implement-most-basic-audio-input-example-on-FRDM-K66F/m-p/894313#M52776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've recently purchased a FRDM-K66F board, primarily because it offers an on-board microphone. My difficulty is in actually using that microphone or even a line-in microphone. Currently, I'm running the sai_interupt_record_playback example with headphones and a mic plugged into the appropriate jacks. I'm expecting to get some output through the headphones, but I just get a clunk sound and maybe a beep and then just air. Are my expectations wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My one and only goal in using this microphone is in logging spectral data. I don't need to record or playback or anything, so I'm really just looking for the simplest possible example of sampling audio input with this board, either via the onboard mic or an external mic. Any help is appreciated. I've been futzing with this all week.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Apr 2019 22:58:53 GMT</pubDate>
    <dc:creator>mpbyrne</dc:creator>
    <dc:date>2019-04-13T22:58:53Z</dc:date>
    <item>
      <title>How to implement most basic audio input example on FRDM-K66F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-implement-most-basic-audio-input-example-on-FRDM-K66F/m-p/894313#M52776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've recently purchased a FRDM-K66F board, primarily because it offers an on-board microphone. My difficulty is in actually using that microphone or even a line-in microphone. Currently, I'm running the sai_interupt_record_playback example with headphones and a mic plugged into the appropriate jacks. I'm expecting to get some output through the headphones, but I just get a clunk sound and maybe a beep and then just air. Are my expectations wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My one and only goal in using this microphone is in logging spectral data. I don't need to record or playback or anything, so I'm really just looking for the simplest possible example of sampling audio input with this board, either via the onboard mic or an external mic. Any help is appreciated. I've been futzing with this all week.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Apr 2019 22:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-implement-most-basic-audio-input-example-on-FRDM-K66F/m-p/894313#M52776</guid>
      <dc:creator>mpbyrne</dc:creator>
      <dc:date>2019-04-13T22:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement most basic audio input example on FRDM-K66F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-implement-most-basic-audio-input-example-on-FRDM-K66F/m-p/894314#M52777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michael, I hope you're doing well,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently working on updating the "sai_interupt_record_playback" example in the SDK, but in the meantime you can use another example called "sai", located under the demo_apps category.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this example to work, you just need to define the DIG_MIC macro as I explain below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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/79216i4E17121F6DBC0BEA/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;You can enable said macro by going into your project properties, into the Settings tab under C/C++ Build.&lt;/P&gt;&lt;P&gt;On the MCU C Compiler tab, select Preprocessor and you can click con the marked button to add your new macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 17:09:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-implement-most-basic-audio-input-example-on-FRDM-K66F/m-p/894314#M52777</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-04-15T17:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement most basic audio input example on FRDM-K66F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-implement-most-basic-audio-input-example-on-FRDM-K66F/m-p/894315#M52778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I also have difficulty using the digital microphone on the FRDM-K66F. I have defined DIG_MIC pre-processor symbol as outlined above, however, the sai example fails to compile with that directive enabled. Is there any other example that may be useful?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 23:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-implement-most-basic-audio-input-example-on-FRDM-K66F/m-p/894315#M52778</guid>
      <dc:creator>scott1</dc:creator>
      <dc:date>2019-11-18T23:58:08Z</dc:date>
    </item>
  </channel>
</rss>

