<?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: SGTL5000 audio capture problem</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852696#M130413</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;Thats exactly what I did, dumping the registers in working and not working boards, but I didn't find any relevant difference. Taking a look at the clipped signal it seems it could be a reference or supply problem, but at hardware level&lt;/P&gt;&lt;P&gt;we don't see any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2019 07:46:16 GMT</pubDate>
    <dc:creator>icayon</dc:creator>
    <dc:date>2019-01-09T07:46:16Z</dc:date>
    <item>
      <title>SGTL5000 audio capture problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852692#M130409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are working with a imx6q custom board with sgtl5000 audio codec. We are using last yocto version, the image is working ok, the audio driver is loaded and we can play wav files using "aplay".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when we capture audio from Mic or Line. The signal is clipped and the audio captured is horrible. We test a lot of combinations but we couldn't reach any solution.&lt;/P&gt;&lt;P&gt;We see that when we are capturing audio from microphone and increase the capture volume, when the capture level reachs 33 the audio is muted and stops capturing. The same problem happends with the "Mic" input gain, if this value&lt;/P&gt;&lt;P&gt;is greater than 0 the capture is stopped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The signal is only clipped in the positive part, so we tried to change the ground reference register to see if this was the problem, but it seems not. I attach a picture playing 1Khz tone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, do you have any idea?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2019 08:46:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852692#M130409</guid>
      <dc:creator>icayon</dc:creator>
      <dc:date>2019-01-04T08:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 audio capture problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852693#M130410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sgtl5000 audio codec is not supported in i.MX6 NXP BSPs, but some third party support it:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://boundarydevices.com/imx6-sgtl5000-microphone/" title="https://boundarydevices.com/imx6-sgtl5000-microphone/"&gt;Microphone input on the SABRE Lite and Nitrogen6x - Boundary Devices&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example of dts file : linux-imx6/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_4.9.x_2.0.0_ga/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi" title="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_4.9.x_2.0.0_ga/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi"&gt;linux-imx6/imx6qdl-sabrelite.dtsi at boundary-imx_4.9.x_2.0.0_ga · 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;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, 08 Jan 2019 00:57:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852693#M130410</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-01-08T00:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 audio capture problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852694#M130411</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;&lt;/P&gt;&lt;P&gt;Thank you very much for your help ! :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look again how my dtsi file is, and the only changes are &lt;/P&gt;&lt;P&gt;related with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the mux ports the board is using, but I assume that this configuration &lt;/P&gt;&lt;P&gt;is correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because the chip can be accessed, I can playback and capture, and change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;configuration with alsamixer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday we used an old imx53 devel board which mounts a sgtl5000 and &lt;/P&gt;&lt;P&gt;it captures&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perfect. I dumped the register configuration and I didn't see any &lt;/P&gt;&lt;P&gt;relevant difference between&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both boards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reviewed sgtl5000 datasheet and play with the registers related with &lt;/P&gt;&lt;P&gt;gound, reference and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so on, but the input signal was clipped too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea? Thank you very much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;El 08/01/2019 a las 1:58, igorpadykov escribió:&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;  NXP Community&lt;/P&gt;&lt;P&gt;  &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Re: SGTL5000 audio capture problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from igorpadykov &lt;/P&gt;&lt;P&gt;&amp;lt;https://community.nxp.com/people/igorpadykov?et=watches.email.thread&amp;gt; &lt;/P&gt;&lt;P&gt;in /i.MX Processors/ - View the full discussion &lt;/P&gt;&lt;P&gt;&amp;lt;https://community.nxp.com/message/1098193?commentID=1098193&amp;amp;et=watches.email.thread#comment-1098193&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 09:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852694#M130411</guid>
      <dc:creator>icayon</dc:creator>
      <dc:date>2019-01-08T09:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 audio capture problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852695#M130412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to dump registers on good and not working &lt;BR /&gt;boards and compare them.&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>Wed, 09 Jan 2019 03:28:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852695#M130412</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-01-09T03:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 audio capture problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852696#M130413</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;Thats exactly what I did, dumping the registers in working and not working boards, but I didn't find any relevant difference. Taking a look at the clipped signal it seems it could be a reference or supply problem, but at hardware level&lt;/P&gt;&lt;P&gt;we don't see any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 07:46:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852696#M130413</guid>
      <dc:creator>icayon</dc:creator>
      <dc:date>2019-01-09T07:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 audio capture problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852697#M130414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Ivan&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if this is just on one board it may be soldering issue, one can replace codec.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 01:26:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-audio-capture-problem/m-p/852697#M130414</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-01-10T01:26:36Z</dc:date>
    </item>
  </channel>
</rss>

