<?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 read audio data from a mic using SAI / I2S in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-audio-data-from-a-mic-using-SAI-I2S/m-p/626266#M37559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff; font-size: 14px;"&gt;MK82FN256VLL15 MCU. I am trying to read the audio data from a MIC using SAI/I2S protocol.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 14px;"&gt;Using a logic analyzer I could see the&amp;nbsp;data being transmitted from mic to the MCU. &amp;nbsp;But when I print the buffer I get only zeros.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 14px;"&gt;I have attached the screenshot of from the logic analyzer and also the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 14px;"&gt;Any help is very much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 14px;"&gt;Thank you in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 14px;"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337622"&gt;i2s_mic.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2016 14:39:58 GMT</pubDate>
    <dc:creator>mikeross</dc:creator>
    <dc:date>2016-11-02T14:39:58Z</dc:date>
    <item>
      <title>How to read audio data from a mic using SAI / I2S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-audio-data-from-a-mic-using-SAI-I2S/m-p/626266#M37559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff; font-size: 14px;"&gt;MK82FN256VLL15 MCU. I am trying to read the audio data from a MIC using SAI/I2S protocol.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 14px;"&gt;Using a logic analyzer I could see the&amp;nbsp;data being transmitted from mic to the MCU. &amp;nbsp;But when I print the buffer I get only zeros.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 14px;"&gt;I have attached the screenshot of from the logic analyzer and also the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 14px;"&gt;Any help is very much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 14px;"&gt;Thank you in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 14px;"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337622"&gt;i2s_mic.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 14:39:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-audio-data-from-a-mic-using-SAI-I2S/m-p/626266#M37559</guid>
      <dc:creator>mikeross</dc:creator>
      <dc:date>2016-11-02T14:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to read audio data from a mic using SAI / I2S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-audio-data-from-a-mic-using-SAI-I2S/m-p/626267#M37560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is anyone working on &lt;A href="https://community.nxp.com/t5/tag/i2s/sai/tg-p"&gt;#i2s/sai&lt;/A&gt;‌, can you please help me troubleshoot this problem with communication between the MCU and the mic?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 10:45:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-audio-data-from-a-mic-using-SAI-I2S/m-p/626267#M37560</guid>
      <dc:creator>mikeross</dc:creator>
      <dc:date>2016-11-07T10:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to read audio data from a mic using SAI / I2S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-audio-data-from-a-mic-using-SAI-I2S/m-p/626268#M37561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay, I have the code based on TWR-K64F, you can refer to the I2S receiver part. The code is assumed that the I2S bit clock and frame clock are output from K64, each frame has two slots, each slots includes 32 bit clock, the frame clock signal convers 32 bit clock.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 09:51:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-audio-data-from-a-mic-using-SAI-I2S/m-p/626268#M37561</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-11-15T09:51:33Z</dc:date>
    </item>
  </channel>
</rss>

