<?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 audmux setting. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-audmux-setting/m-p/905031#M136566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;i.MX6DL I have a question about how to set AUDMUX on Sabresd board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I connected the other device for transmit/received with audio codec.&amp;nbsp;As shown below.&lt;/P&gt;&lt;P&gt;Other devices connected to the RxCLK4, RxFS4, RxD4, and TxD4 pins of AUDMXU Port4.&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="ALSA-lm49350-develop.png"&gt;&lt;IMG alt="ALSA-lm49350-develop.png" src="https://community.nxp.com/t5/image/serverpage/image-id/83621i2CAE4B70BB7BB7F9/image-size/large?v=v2&amp;amp;px=999" title="ALSA-lm49350-develop.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Refer to the AUDMUX chapter "Internal Network Mode Example 3" of the data sheet (IMX6SDLRM.pdf) and set the register as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef; height: 25px;"&gt;&lt;TH style="height: 25px;"&gt;source code&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="background-color: #efefef; height: 25px;"&gt;&lt;TH style="height: 25px;"&gt;&lt;PRE&gt;int_port = int_port - 1;&amp;nbsp;/* Port 2 */
ext_port = ext_port - 1; /* port 3 */
other_port = other_port - 1; /* port 4 */

ptcr = IMX_AUDMUX_V2_PTCR_SYN;
pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(ext_port);
imx_audmux_v2_configure_port(int_port, ptcr, pdcr);

ptcr = IMX_AUDMUX_V2_PTCR_SYM;
pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(ext_port);
imx_audmux_v2_configure_port(other_port, ptcr, pdcr);

prcr = IMX_AUDMUX_V2_PTCR_SYN |
 IMX_AUDMUX_V2_PTCR_TFSEL(int_port) |
 IMX_AUDMUX_V2_PTCR_TCSEL(int_port) |
 IMX_AUDMUX_V2_PTCR_TFSDIR |
 IMX_AUDMUX_V2_PTCR_TCLKDIR;
pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(int_port) |
 IMX_AUDMUX_V2_PDCR_MODE(1) |
 IMX_AUDMUX_V2_PDCR_INMMASK(0xF5);
imx_audmux_v2_configure_port(ext_port, ptcr, pdcr);&lt;/PRE&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is the above register setting code right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;What is the status and direction of the Clock and Frame Sync signals when communicating with other devices and wm8962 devices? ( The signals of AUD4_RXC and AUD4_RXFS in the Other Device are input. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, should the device connected to Port 5 in the Internal Network Mode example (Figure 16-8. Block Diagram For Example 3) be a SSI master device ?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="ALSA-lm49350-develop.png"&gt;&lt;IMG alt="ALSA-lm49350-develop.png" src="https://community.nxp.com/t5/image/serverpage/image-id/83627i5E17D1A3F04CDBE8/image-size/large?v=v2&amp;amp;px=999" title="ALSA-lm49350-develop.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2020 14:21:59 GMT</pubDate>
    <dc:creator>changyonglee</dc:creator>
    <dc:date>2020-11-02T14:21:59Z</dc:date>
    <item>
      <title>How to audmux setting.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-audmux-setting/m-p/905031#M136566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;i.MX6DL I have a question about how to set AUDMUX on Sabresd board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I connected the other device for transmit/received with audio codec.&amp;nbsp;As shown below.&lt;/P&gt;&lt;P&gt;Other devices connected to the RxCLK4, RxFS4, RxD4, and TxD4 pins of AUDMXU Port4.&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="ALSA-lm49350-develop.png"&gt;&lt;IMG alt="ALSA-lm49350-develop.png" src="https://community.nxp.com/t5/image/serverpage/image-id/83621i2CAE4B70BB7BB7F9/image-size/large?v=v2&amp;amp;px=999" title="ALSA-lm49350-develop.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Refer to the AUDMUX chapter "Internal Network Mode Example 3" of the data sheet (IMX6SDLRM.pdf) and set the register as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef; height: 25px;"&gt;&lt;TH style="height: 25px;"&gt;source code&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="background-color: #efefef; height: 25px;"&gt;&lt;TH style="height: 25px;"&gt;&lt;PRE&gt;int_port = int_port - 1;&amp;nbsp;/* Port 2 */
ext_port = ext_port - 1; /* port 3 */
other_port = other_port - 1; /* port 4 */

ptcr = IMX_AUDMUX_V2_PTCR_SYN;
pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(ext_port);
imx_audmux_v2_configure_port(int_port, ptcr, pdcr);

ptcr = IMX_AUDMUX_V2_PTCR_SYM;
pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(ext_port);
imx_audmux_v2_configure_port(other_port, ptcr, pdcr);

prcr = IMX_AUDMUX_V2_PTCR_SYN |
 IMX_AUDMUX_V2_PTCR_TFSEL(int_port) |
 IMX_AUDMUX_V2_PTCR_TCSEL(int_port) |
 IMX_AUDMUX_V2_PTCR_TFSDIR |
 IMX_AUDMUX_V2_PTCR_TCLKDIR;
pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(int_port) |
 IMX_AUDMUX_V2_PDCR_MODE(1) |
 IMX_AUDMUX_V2_PDCR_INMMASK(0xF5);
imx_audmux_v2_configure_port(ext_port, ptcr, pdcr);&lt;/PRE&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is the above register setting code right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;What is the status and direction of the Clock and Frame Sync signals when communicating with other devices and wm8962 devices? ( The signals of AUD4_RXC and AUD4_RXFS in the Other Device are input. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, should the device connected to Port 5 in the Internal Network Mode example (Figure 16-8. Block Diagram For Example 3) be a SSI master device ?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="ALSA-lm49350-develop.png"&gt;&lt;IMG alt="ALSA-lm49350-develop.png" src="https://community.nxp.com/t5/image/serverpage/image-id/83627i5E17D1A3F04CDBE8/image-size/large?v=v2&amp;amp;px=999" title="ALSA-lm49350-develop.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-audmux-setting/m-p/905031#M136566</guid>
      <dc:creator>changyonglee</dc:creator>
      <dc:date>2020-11-02T14:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to audmux setting.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-audmux-setting/m-p/905032#M136567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vishnu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at audmux examples in i.MX6Q baremetal sdk&lt;/P&gt;&lt;P&gt;and description in Chapter 5 Configuring the AUDMUX Driver iMX6_Firmware_Guide.pdf&lt;/P&gt;&lt;P&gt;(zip available on &lt;A href="https://community.nxp.com/thread/432859"&gt;SMP Enable in IMX6&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;network example can be found in AN2628 Programming Audio Applications&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN2628.pdf" title="https://www.nxp.com/docs/en/application-note/AN2628.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN2628.pdf&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, 28 May 2019 01:27:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-audmux-setting/m-p/905032#M136567</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-05-28T01:27:47Z</dc:date>
    </item>
  </channel>
</rss>

