<?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 iMX8QM MEK-Audio Record issue on Android 12 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-Audio-Record-issue-on-Android-12/m-p/1743371#M214467</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to test the audio on the i.MX8QM MEK board. After flashing the official Android 12 car2 image onto the board,&lt;BR /&gt;we connected the extended audio board (IMX-AUD-IO) Upon testing, we confirmed that the system sound through the 3.5 mm audio jack and the media sound&lt;BR /&gt;through the audio board are both functioning correctly.&lt;/P&gt;&lt;P&gt;However, we encountered an issue when attempting to capture audio through the 3.5mm audio jack and audio board using the following command:&lt;/P&gt;&lt;P&gt;$tinycap test.wav -D 1 -d 0 -r 48000&lt;BR /&gt;$tinycap test.wav -D 2 -d 0 -r 48000&lt;/P&gt;&lt;P&gt;The command successfully captures the audio; however, when attempting to play it back, no audio is produced.&lt;/P&gt;&lt;P&gt;Could you please support?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2023 04:00:08 GMT</pubDate>
    <dc:creator>Anjali245</dc:creator>
    <dc:date>2023-10-20T04:00:08Z</dc:date>
    <item>
      <title>iMX8QM MEK-Audio Record issue on Android 12</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-Audio-Record-issue-on-Android-12/m-p/1743371#M214467</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to test the audio on the i.MX8QM MEK board. After flashing the official Android 12 car2 image onto the board,&lt;BR /&gt;we connected the extended audio board (IMX-AUD-IO) Upon testing, we confirmed that the system sound through the 3.5 mm audio jack and the media sound&lt;BR /&gt;through the audio board are both functioning correctly.&lt;/P&gt;&lt;P&gt;However, we encountered an issue when attempting to capture audio through the 3.5mm audio jack and audio board using the following command:&lt;/P&gt;&lt;P&gt;$tinycap test.wav -D 1 -d 0 -r 48000&lt;BR /&gt;$tinycap test.wav -D 2 -d 0 -r 48000&lt;/P&gt;&lt;P&gt;The command successfully captures the audio; however, when attempting to play it back, no audio is produced.&lt;/P&gt;&lt;P&gt;Could you please support?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 04:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-Audio-Record-issue-on-Android-12/m-p/1743371#M214467</guid>
      <dc:creator>Anjali245</dc:creator>
      <dc:date>2023-10-20T04:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM MEK-Audio Record issue on Android 12</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-Audio-Record-issue-on-Android-12/m-p/1743655#M214495</link>
      <description>&lt;DIV dir="ltr"&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214325"&gt;@Anjali245&lt;/a&gt;,&lt;/DIV&gt;
&lt;DIV dir="ltr"&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Have you added an audio record driver?&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;It is possible that the hardware has switched two clock signals. We suggest&amp;nbsp;Chapter 16 Porting Audio Codecs of imx porting guide. had to do a patch to the fsl_sai driver and change SYWD in the CR4 register as well as W0W in the CR5 register to fixed 32. Now everything works as expected. The final patch is attached in&amp;nbsp;the below link.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please note, that using DAI1 with an S2 port which is also patched by the codec driver. If you're using the S1 port, you have to omit some lines of the patch:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Integrating-audio-codec-MAX98089-on-i-MX8M-Plus/m-p/1608331#M202250" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/t5/i-MX-Processors/Integrating-audio-codec-MAX98089-on-i-MX8M-Plus/m-p/1608331%23M202250&amp;amp;source=gmail&amp;amp;ust=1697886342587000&amp;amp;usg=AOvVaw1vGnNDrr6vkZwwSUbB_dA8"&gt;https://community.nxp.com/t5/&lt;WBR /&gt;i-MX-Processors/Integrating-&lt;WBR /&gt;audio-codec-MAX98089-on-i-&lt;WBR /&gt;MX8M-Plus/m-p/1608331#M202250&lt;/A&gt;. There are three positions that change the level of the mute pin:&lt;/DIV&gt;
&lt;DIV&gt;-wm8524_startup&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV dir="ltr"&gt;-wm8524_shutdown&lt;/DIV&gt;
&lt;DIV dir="ltr"&gt;-wm8524_mute_stream&lt;/DIV&gt;
&lt;DIV dir="ltr"&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/imx8mm-mute-unmute-audio-output-with-wm8524/m-p/1409669#M186687" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/t5/i-MX-Processors/imx8mm-mute-unmute-audio-output-with-wm8524/m-p/1409669%23M186687&amp;amp;source=gmail&amp;amp;ust=1697886342587000&amp;amp;usg=AOvVaw2UcTWTWWOLs4ztnymGuvrT"&gt;https://community.nxp.com/t5/&lt;WBR /&gt;i-MX-Processors/imx8mm-mute-&lt;WBR /&gt;unmute-audio-output-with-&lt;WBR /&gt;wm8524/m-p/1409669#M186687&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV dir="ltr"&gt;If there are two clock entries missing in the sai3 section, refer to:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/MAX98357A-audio-on-i-MX8M-Plus/m-p/1238017#M170162" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/t5/i-MX-Processors/MAX98357A-audio-on-i-MX8M-Plus/m-p/1238017%23M170162&amp;amp;source=gmail&amp;amp;ust=1697886342587000&amp;amp;usg=AOvVaw3dAmp1ZCly_6r1bvOfOPEp"&gt;https://community.nxp.com/&lt;WBR /&gt;t5/i-MX-Processors/MAX98357A-&lt;WBR /&gt;audio-on-i-MX8M-Plus/m-p/&lt;WBR /&gt;1238017#M170162&lt;/A&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Oct 2023 11:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-Audio-Record-issue-on-Android-12/m-p/1743655#M214495</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-10-20T11:15:56Z</dc:date>
    </item>
  </channel>
</rss>

