<?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のトピックi.MX8M Plus ARC/eARC delay and sample rate</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2003741#M231331</link>
    <description>&lt;P&gt;Hello NXP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have ARC/eARC working basically moving data from xcvr reciever to an I2S output with gst-launch:&lt;/P&gt;&lt;P&gt;gst-launch-1.0 -v alsasrc device=sysdefault:CARD=imxaudioxcvr ! audioconvert ! audio/x-raw,channels=2,format=S24LE&amp;nbsp; ! alsasink device=sysdefault:CARD=i2s_out_card buffer-time=400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is working in a new product we have gotten very far with. There is a DSP that can detect the samplerate if data is moved directly/correctly from ARC/eARC to I2S/SPDIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, it is working with some constraints:&lt;/P&gt;&lt;P&gt;1) Delay&lt;/P&gt;&lt;P&gt;2) Unknown samplerate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have following questions:&lt;/P&gt;&lt;P&gt;1. The Gstreamer method introduces approximately 70 ms delay. This is unacceptable for lipsync. Should we try another method like "audmix" or other? Will it work? Can you give some reference example of how you have tested ARC/eARC ?&lt;/P&gt;&lt;P&gt;2. What minimum delay have you achieved with ARC passthrough on the imx8m plus?&lt;/P&gt;&lt;P&gt;3. How do we determine the samplerate of recieved ARC signal - e.g. 44.1 kHz or 48 kHz? Any registers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tested above with an "AP 585".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards Flemming&lt;/P&gt;</description>
    <pubDate>Thu, 28 Nov 2024 13:04:02 GMT</pubDate>
    <dc:creator>robot1</dc:creator>
    <dc:date>2024-11-28T13:04:02Z</dc:date>
    <item>
      <title>i.MX8M Plus ARC/eARC delay and sample rate</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2003741#M231331</link>
      <description>&lt;P&gt;Hello NXP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have ARC/eARC working basically moving data from xcvr reciever to an I2S output with gst-launch:&lt;/P&gt;&lt;P&gt;gst-launch-1.0 -v alsasrc device=sysdefault:CARD=imxaudioxcvr ! audioconvert ! audio/x-raw,channels=2,format=S24LE&amp;nbsp; ! alsasink device=sysdefault:CARD=i2s_out_card buffer-time=400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is working in a new product we have gotten very far with. There is a DSP that can detect the samplerate if data is moved directly/correctly from ARC/eARC to I2S/SPDIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, it is working with some constraints:&lt;/P&gt;&lt;P&gt;1) Delay&lt;/P&gt;&lt;P&gt;2) Unknown samplerate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have following questions:&lt;/P&gt;&lt;P&gt;1. The Gstreamer method introduces approximately 70 ms delay. This is unacceptable for lipsync. Should we try another method like "audmix" or other? Will it work? Can you give some reference example of how you have tested ARC/eARC ?&lt;/P&gt;&lt;P&gt;2. What minimum delay have you achieved with ARC passthrough on the imx8m plus?&lt;/P&gt;&lt;P&gt;3. How do we determine the samplerate of recieved ARC signal - e.g. 44.1 kHz or 48 kHz? Any registers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tested above with an "AP 585".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards Flemming&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 13:04:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2003741#M231331</guid>
      <dc:creator>robot1</dc:creator>
      <dc:date>2024-11-28T13:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Plus ARC/eARC delay and sample rate</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2004476#M231373</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;1. You could try with audmix and check if can reduce the latency. The example of how was tested in our side is in section 8.2 HDMI eARC support of &lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_blank"&gt;Linux User's Guide&lt;/A&gt;. Did you considered use Real-time Edge Software?&lt;/P&gt;
&lt;P&gt;2. Unfortunately, there are no available latency benchmarks in our side.&lt;/P&gt;
&lt;P&gt;3. The HDMI audio supports the features below:&lt;/P&gt;
&lt;P&gt;• Playback sample rate&lt;/P&gt;
&lt;P&gt;– 32k, 44.1k, 48k, 88.2k, 96k, 176.4k, 192k&lt;/P&gt;
&lt;P&gt;– HDMI sink capability&lt;/P&gt;
&lt;P&gt;• Playback Channels:&lt;/P&gt;
&lt;P&gt;– 2, 4, 6, 8&lt;/P&gt;
&lt;P&gt;– HDMI sink capability&lt;/P&gt;
&lt;P&gt;• Playback audio formats:&lt;/P&gt;
&lt;P&gt;– SNDRV_PCM_FMTBIT_S16_LE&lt;/P&gt;
&lt;P&gt;You could check it in &lt;A href="https://gstreamer.freedesktop.org/documentation/audio/audio-info.html?gi-language=c" target="_blank"&gt;gstreamer&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Nov 2024 21:52:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2004476#M231373</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2024-11-29T21:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Plus ARC/eARC delay and sample rate</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2007478#M231561</link>
      <description>&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I looked a bit more into audmix.&lt;/P&gt;&lt;P&gt;1.a Is it only compatible with "fsl,imx8qm-audmix" and not imx8m plus?&lt;/P&gt;&lt;P&gt;1.b If it is compatible how would a devicetree example section look like for imx8mp?&lt;/P&gt;&lt;P&gt;1.c And even better, how would it look like with xcvr(ARC) as input; and&amp;nbsp; xcvr(spdif) or sai1(I2S) as output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. OK - that might be relevant for others for practical usage of ARC/eARC&lt;/P&gt;&lt;P&gt;3. Great - I will look into that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 21:36:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2007478#M231561</guid>
      <dc:creator>robot1</dc:creator>
      <dc:date>2024-12-04T21:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Plus ARC/eARC delay and sample rate</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2008475#M231620</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I apologize, that is correct. i.MX8MP does not have&amp;nbsp;Audio Mixer option, is only present in i.MX8/X devices.&lt;/P&gt;
&lt;P&gt;I still thinking that&amp;nbsp;&lt;SPAN&gt;Real-time Edge Software would be a good option if latency is a critical aspect in your design.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 19:11:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2008475#M231620</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2024-12-05T19:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Plus ARC/eARC delay and sample rate</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2008554#M231624</link>
      <description>&lt;P&gt;Hi Jorge&lt;/P&gt;&lt;P&gt;Thanks for all the information so far:-)&lt;/P&gt;&lt;P&gt;I just grep'ed for&amp;nbsp;IMX8MP_CLK_AUDIOMIX in my linux distro, and there were actually some hits to confuse me.&amp;nbsp;But maybe that covers, something else... ?&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;Real-time Edge Software&lt;/SPAN&gt;" sound interesting, but maybe also complex to get started with. I will give it a look.&lt;/P&gt;&lt;P&gt;Flemming&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 21:40:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-ARC-eARC-delay-and-sample-rate/m-p/2008554#M231624</guid>
      <dc:creator>robot1</dc:creator>
      <dc:date>2024-12-05T21:40:42Z</dc:date>
    </item>
  </channel>
</rss>

