<?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 Re: IMX8M Plus: Configure SAI MCLK as input for I2S transmission in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Plus-Configure-SAI-MCLK-as-input-for-I2S-transmission/m-p/2146572#M239844</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253140"&gt;@coulomz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use change the relate register value by&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;regmap&lt;/EM&gt; &lt;/STRONG&gt;API in below driver code,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/fb0f25c8fe6d8ae45bfb24f869ea8c41d35e979a/sound/soc/fsl/fsl_sai.c" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/blob/fb0f25c8fe6d8ae45bfb24f869ea8c41d35e979a/sound/soc/fsl/fsl_sai.c&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
    <pubDate>Tue, 05 Aug 2025 05:27:11 GMT</pubDate>
    <dc:creator>pengyong_zhang</dc:creator>
    <dc:date>2025-08-05T05:27:11Z</dc:date>
    <item>
      <title>IMX8M Plus: Configure SAI MCLK as input for I2S transmission</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Plus-Configure-SAI-MCLK-as-input-for-I2S-transmission/m-p/2144788#M239755</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm trying to configure the SAI MCLK to be an input to the SAI module in order to provide a clock for I2S output transmission signals.&lt;/P&gt;&lt;P&gt;The reference manual for IMX8M plus states that this is possible on chapter&amp;nbsp;14.1.1.1. However, it is not clear what registers need to be set to enable this functionality, as opposed to the IMX8M mini where the external master clock can be enabled through GPR (e.g. GPR_SAI2_EXT_MCLK_EN). To my understanding, this is different on the IMX8M plus because it uses the Audio Block Control registers.&lt;/P&gt;&lt;P&gt;A fellow NXP technician suggested setting the following:&lt;/P&gt;&lt;P&gt;1. Set the "14.2.3.1.10 SAI2 MCLK SELECT Register" as SPDIF.EXTCLK.&lt;/P&gt;&lt;P&gt;2. Set the "8.2.4.115 SW_MUX_CTL_PAD_SPDIF_EXT_CLK" as ALT0_AUDIOMIX_SPDIF1_EXT_CLK.&lt;/P&gt;&lt;P&gt;3. Set the "14.4.4.1.30 MCLK Control" as MCLK signal pin is an input&lt;/P&gt;&lt;P&gt;in order to provide the mclk through the SPDIF1_EXT_CLK pin.&lt;/P&gt;&lt;P&gt;However, it is still unclear to me where in yocto linux the SAI2 MCLK SELECT Register of audio_blk_ctrl should be set and whether the SPDIF.EXTCLK is capable of working for generating I2S signals.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 00:07:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Plus-Configure-SAI-MCLK-as-input-for-I2S-transmission/m-p/2144788#M239755</guid>
      <dc:creator>coulomz</dc:creator>
      <dc:date>2025-08-01T00:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8M Plus: Configure SAI MCLK as input for I2S transmission</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Plus-Configure-SAI-MCLK-as-input-for-I2S-transmission/m-p/2146572#M239844</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253140"&gt;@coulomz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use change the relate register value by&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;regmap&lt;/EM&gt; &lt;/STRONG&gt;API in below driver code,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/fb0f25c8fe6d8ae45bfb24f869ea8c41d35e979a/sound/soc/fsl/fsl_sai.c" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/blob/fb0f25c8fe6d8ae45bfb24f869ea8c41d35e979a/sound/soc/fsl/fsl_sai.c&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 05:27:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Plus-Configure-SAI-MCLK-as-input-for-I2S-transmission/m-p/2146572#M239844</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2025-08-05T05:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8M Plus: Configure SAI MCLK as input for I2S transmission</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Plus-Configure-SAI-MCLK-as-input-for-I2S-transmission/m-p/2149335#M239994</link>
      <description>&lt;P&gt;Thank you for the support, I was able to configure it as an input through the SAI driver.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 17:42:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Plus-Configure-SAI-MCLK-as-input-for-I2S-transmission/m-p/2149335#M239994</guid>
      <dc:creator>coulomz</dc:creator>
      <dc:date>2025-08-08T17:42:11Z</dc:date>
    </item>
  </channel>
</rss>

