<?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>i.MX ProcessorsのトピックRe: Dual audio codec issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081568#M158657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As we have never used SDK, we need to check on that.&lt;/P&gt;&lt;P&gt;We have commented ASRC as we cannot use it for both the codecs.&lt;/P&gt;&lt;P&gt;We would like to know if we are missing any configuration in device tree or board files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Devika R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2020 03:46:51 GMT</pubDate>
    <dc:creator>devikar</dc:creator>
    <dc:date>2020-08-13T03:46:51Z</dc:date>
    <item>
      <title>Dual audio codec issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081566#M158655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We have setup Yocto project 4.9.11_1.0.0 on a imx6qpsabresd based custom board which has two of wm8962 audio codecs.&lt;/P&gt;&lt;P&gt;We have customized device tree file imx6qdl-sabresd.dtsi for dual audio codec configuration. &lt;BR /&gt;We are seeing both the audio codecs are getting detected, but both the sound cards are failing to record the sound.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we execute the arecord command it is able to output the recorded file but there will be no content in that.We have used following commands to record the sound.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For primary codec&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arecord -D plughw:0,0 -d 10 -r 44100 -f S16_LE file1.wav&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For secondary codec&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arecord -D plughw:1,0 -d 10 -r 44100 -f S16_LE file2.wav&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We have tested each sound card interface by separately enabling them in device tree. It worked fine. However, we are seeing this issue when both the sound card interfaces are enabled.&lt;BR /&gt;We can confirm that there are no issues with the hardware interfaces. Based on our observations &amp;amp; debugging, there seems to be issue with the SSI mapping.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;We would like to know if anyone has faced same issue and resolved.&lt;BR /&gt;We are getting "Unsupported sysclk ratio 544" error for secondary audio codec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached files for Dual sound card configuration and dmesg log&lt;BR /&gt;Please let us know if we are missing something in dts file.&lt;/P&gt;&lt;P&gt;Note:We have not modified Machine driver, Platform driver and codec driver.We are using same drivers for both the audio codecs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Devika R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 12:25:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081566#M158655</guid>
      <dc:creator>devikar</dc:creator>
      <dc:date>2020-08-11T12:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dual audio codec issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081567#M158656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devika&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in you sound2 configuration you disabled (commented) asrc while&lt;/P&gt;&lt;P&gt;left uncommented&amp;nbsp; "ASRC-Playback","ASRC-Capture",&lt;/P&gt;&lt;P&gt;so this produced error:&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.428902] imx-wm8962 sound2: ASoC: Failed to add route ASRC-Playback&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general one can test such configuration without linux, with sdk:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/RT-Thread/rt-thread/tree/master/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/audio" title="https://github.com/RT-Thread/rt-thread/tree/master/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/audio"&gt;rt-thread/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/audio at master · RT-Thread/rt-thread · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then check dividers and ssi configs, compare with linux using AN4553&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4553.pdf" target="_blank"&gt;&lt;STRONG&gt;Using Open Source Debugging Tools for Linux on i.MX Processors&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 23:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081567#M158656</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-08-11T23:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dual audio codec issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081568#M158657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As we have never used SDK, we need to check on that.&lt;/P&gt;&lt;P&gt;We have commented ASRC as we cannot use it for both the codecs.&lt;/P&gt;&lt;P&gt;We would like to know if we are missing any configuration in device tree or board files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Devika R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2020 03:46:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081568#M158657</guid>
      <dc:creator>devikar</dc:creator>
      <dc:date>2020-08-13T03:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dual audio codec issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081569#M158658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devika&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at dual audio-sgtl5000, audio-tc358743 example without asrc:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_5.4.x_2.1.0/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi" title="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_5.4.x_2.1.0/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi"&gt;linux-imx6/imx6qdl-nitrogen6x.dtsi at boundary-imx_5.4.x_2.1.0 · boundarydevices/linux-imx6 · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2020 06:59:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081569#M158658</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-08-13T06:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dual audio codec issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081570#M158659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For dual audio codec configuration, we have enabled wm8962 audio codec as built in(*) module in kernel configuration.&lt;/P&gt;&lt;P&gt;As it is not working we wanted to check by enabling it as module(M) in kernel configuration.&lt;/P&gt;&lt;P&gt;If we enable it as module, it is giving compilation error.It seems to have some dependencies.&lt;/P&gt;&lt;P&gt;Can you please let us know how to enable the audio codec as module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Devika R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2020 03:53:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dual-audio-codec-issue/m-p/1081570#M158659</guid>
      <dc:creator>devikar</dc:creator>
      <dc:date>2020-08-26T03:53:27Z</dc:date>
    </item>
  </channel>
</rss>

