<?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: IMX7d SAI setup for clock master</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1756309#M215623</link>
    <description>Hi Ed,&lt;BR /&gt;Were you able to find any solutions? I'm running into a similar issues.&lt;BR /&gt;Thanks</description>
    <pubDate>Mon, 13 Nov 2023 14:05:32 GMT</pubDate>
    <dc:creator>YuriyBV</dc:creator>
    <dc:date>2023-11-13T14:05:32Z</dc:date>
    <item>
      <title>IMX7d SAI setup for clock master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1155034#M162045</link>
      <description>&lt;DIV&gt;&lt;FONT&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;We are trying to get SAI working on the IMX7d under Linux 4.14.98. The SAI must be the master.&amp;nbsp;&lt;BR /&gt;It will use an internal clock as mclk, and from that generate the frame sync and bclk.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I have been able to register the soundcard, but have not had any success transmitting audio data.&amp;nbsp;&lt;BR /&gt;I've attached relevant DTB input pieces below, along with some kernel data and command line tests.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Any advice on what might be configured incorrectly OR any area to look at, is appreciated.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;///////////////////////////////////////////////
// DTS nodes for sound card, dai and codec
///////////////////////////////////////////////

     codec_dummy: codec_dummy {
         compatible = "linux,snd-soc-dummy";
         #sound-dai-cells = &amp;lt;0&amp;gt;;

         clocks = &amp;lt;&amp;amp;clks IMX7D_AUDIO_MCLK_ROOT_CLK&amp;gt;;
         assigned-clocks = &amp;lt;&amp;amp;clks IMX7D_AUDIO_MCLK_ROOT_SRC&amp;gt;,
         &amp;lt;&amp;amp;clks IMX7D_AUDIO_MCLK_ROOT_CLK&amp;gt;;
         assigned-clock-parents = &amp;lt;&amp;amp;clks IMX7D_PLL_AUDIO_POST_DIV&amp;gt;;
         assigned-clock-rates = &amp;lt;0&amp;gt;, &amp;lt;24576000&amp;gt;;
         status = "okay";
     };

     sound {
         	compatible = "simple-audio-card";
         	simple-audio-card,name = "test_dummy";
         	simple-audio-card,format="i2s";
         	simple-audio-card,bitclock-master = &amp;lt;&amp;amp;dailink_master&amp;gt;;
         	simple-audio-card,frame-master = &amp;lt;&amp;amp;dailink_master&amp;gt;;
                //simple-audio-card,mclk-fs = &amp;lt;512&amp;gt;;

                dailink_master: simple-audio-card,codec {
                        sound-dai = &amp;lt;&amp;amp;codec_dummy&amp;gt;;
		        clocks = &amp;lt;&amp;amp;clks IMX7D_AUDIO_MCLK_ROOT_CLK&amp;gt;;
                };
		simple-audio-card,cpu {
			sound-dai = &amp;lt;&amp;amp;sai1&amp;gt;;
		};
     };

/////////////////////
// DTS notes for SAI
/////////////////////
&amp;amp;sai1 {
	pinctrl-names = "default";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_sai1&amp;gt;;
	assigned-clocks = &amp;lt;&amp;amp;clks IMX7D_SAI1_ROOT_SRC&amp;gt;,
			  &amp;lt;&amp;amp;clks IMX7D_SAI1_ROOT_CLK&amp;gt;;
	assigned-clock-parents = &amp;lt;&amp;amp;clks IMX7D_PLL_AUDIO_POST_DIV&amp;gt;;
	assigned-clock-rates = &amp;lt;0&amp;gt;, &amp;lt;24576000&amp;gt;;
        fsl,sai-mclk-direction-output;
        fsl,sai-synchronous-rx;
	status = "okay";
};
sai1: sai@308a0000 {
	#sound-dai-cells = &amp;lt;0&amp;gt;;
	compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
	reg = &amp;lt;0x308a0000 0x10000&amp;gt;;
	interrupts = &amp;lt;GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH&amp;gt;;
	clocks = &amp;lt;&amp;amp;clks IMX7D_SAI1_IPG_CLK&amp;gt;,
		 &amp;lt;&amp;amp;clks IMX7D_CLK_DUMMY&amp;gt;,
		 &amp;lt;&amp;amp;clks IMX7D_SAI1_ROOT_CLK&amp;gt;,
		 &amp;lt;&amp;amp;clks IMX7D_CLK_DUMMY&amp;gt;,
		 &amp;lt;&amp;amp;clks IMX7D_CLK_DUMMY&amp;gt;;
		 clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
		 dma-names = "rx", "tx";
		 dmas = &amp;lt;&amp;amp;sdma 8 24 0&amp;gt;, &amp;lt;&amp;amp;sdma 9 24 0&amp;gt;;
		 status = "disabled";
};
pinctrl_sai1: sai1grp {
	fsl,pins = &amp;lt;
		MX7D_PAD_ENET1_RX_CLK__SAI1_TX_BCLK	0x1f
		MX7D_PAD_ENET1_CRS__SAI1_TX_SYNC	0x1f
		MX7D_PAD_ENET1_COL__SAI1_TX_DATA0	0x30
		MX7D_PAD_ENET1_TX_CLK__SAI1_RX_DATA0	0x1f
	&amp;gt;;
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT&gt;//////////////////////&lt;BR /&gt;// Kernel data&lt;BR /&gt;//////////////////////&lt;BR /&gt;&lt;STRONG&gt;root@pico-imx7:/# aplay -L&lt;/STRONG&gt;&lt;BR /&gt;...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sysdefault:CARD=test_dummy&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; test_dummy,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Default Audio Device&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;root@pico-imx7:/# aplay -l&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; card0: test_dummy [test_dummy], device 0: 308a0000.sai-snd-soc-dummy-dai snd-soc-dummy-dai-0&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;STRONG&gt;root@pico-imx7:/# cat /proc/asound/cards&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 [test_dummy&amp;nbsp;&amp;nbsp;&amp;nbsp; ]: test_dummy - test_dummy&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; test_dummy&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;STRONG&gt;root@pico-imx7:/# dmesg | grep dummy&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; asoc-simple-card sound: snd-soc-dummy-dai &amp;lt;-&amp;gt; 308a0000.sai mapping ok&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;STRONG&gt;root@pico-imx7:/# cat /sys/kernel/debug/asoc/dais&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 308b0000.sai&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 308a0000.sai&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; snd-soc-dummy-dai&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; snd-soc-dummy-dai&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;///////////////////////////////////////&lt;BR /&gt;// Test Results (cmdline)&lt;BR /&gt;//////////////////////////////////////&lt;BR /&gt;&lt;STRONG&gt;root@pico-imx7:/#&amp;nbsp; aplay -D sysdefault:test_dummy -d 5 -r 44100 audiotest.wav&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Playing WAVE 'audiotest.wav' ..&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; aplay: pcm_write:2051: write error: Input/output error&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;STRONG&gt;root@pico-imx7:/#&amp;nbsp; speaker-test -Dsysdefault:test_dummy -c2 -twav&lt;/STRONG&gt;&lt;BR /&gt;...&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; 0 - Front Left&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Write error: -5, Input/output error&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Xrun_recovery failed: -5 Input/output error&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Transfer failed: Input/Output error&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Sep 2020 18:39:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1155034#M162045</guid>
      <dc:creator>Ed_McM</dc:creator>
      <dc:date>2020-09-17T18:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7d SAI setup for clock master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1155094#M162048</link>
      <description>&lt;P&gt;Hi Ed_McM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for sai configuration one can look at&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx7d-sdb.dts?h=imx_4.14.98_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx7d-sdb.dts?h=imx_4.14.98_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;"simple-audio-card" example :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://bootlin.com/blog/eight-channels-audio-on-i-mx7-with-pcm3168/" target="_blank"&gt;https://bootlin.com/blog/eight-channels-audio-on-i-mx7-with-pcm3168/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 23:52:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1155094#M162048</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-17T23:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7d SAI setup for clock master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1155506#M162101</link>
      <description>&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thanks for the response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both of those examples are showing the codec as the "clock master". &amp;nbsp; Could you point me to the documentation, or to a device tree example of the SAI being setup as the "clock master" ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't been able to find any examples on successfully setting-up the SAI to &lt;SPAN&gt;generate the frame clock and the bit clock, using an internal master clock&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 10:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1155506#M162101</guid>
      <dc:creator>Ed_McM</dc:creator>
      <dc:date>2020-09-18T10:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7d SAI setup for clock master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1155538#M162110</link>
      <description>&lt;P&gt;Hi Ed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regarding "codec-master" in dts, one can look at imx-wm8962.c sources : "if (!data-&amp;gt;is_codec_master.."&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/imx-wm8962.c?h=imx_4.14.98_2.3.0" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/imx-wm8962.c?h=imx_4.14.98_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;so commenting "codec-master" should cause wm8962 driver to work in slave mode,&lt;/P&gt;
&lt;P&gt;look at i.MX6UL example :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMX6UL-define-sai1-as-master/m-p/707120" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/iMX6UL-define-sai1-as-master/m-p/707120&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;also one can debug it in sai driver, look for "sai-&amp;gt;slave_mode" :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/fsl_sai.c?h=imx_4.14.98_2.3.0" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/fsl_sai.c?h=imx_4.14.98_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 23:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1155538#M162110</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-18T23:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7d SAI setup for clock master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1155593#M162120</link>
      <description>&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;I will look closer at this and advise on findings.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 14:01:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1155593#M162120</guid>
      <dc:creator>Ed_McM</dc:creator>
      <dc:date>2020-09-18T14:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7d SAI setup for clock master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1156170#M162185</link>
      <description>&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;Thanks for the examples. I can see clearly how parameters are described in the device&lt;BR /&gt;tree bindings and used in the device tree files. Then how they are used in the driver&lt;BR /&gt;files to setup configuration registers. Simple example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// DEVICE TREE (imx7d-sdb.dts)
	sound {
		compatible = "fsl,imx7d-evk-wm8960",
			     "fsl,imx-audio-wm8960";
		model = "wm8960-audio";
		cpu-dai = &amp;lt;&amp;amp;sai1&amp;gt;;
		audio-codec = &amp;lt;&amp;amp;codec&amp;gt;;
		codec-master;
		...

// DEVICE DRIVER (fsl_sai.c)
if (of_property_read_bool(pdev-&amp;gt;dev.of_node, "codec-master"))
	"set registers"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I still can't see how to setup the FSL SAI as I2S Master. I can see in fsl_sai.c driver code,&lt;BR /&gt;where the frame_clock and bit_clock registers are set in configuration registers 2 and 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;val_cr2 |= FSL_SAI_CR2_BCD_MSTR;
val_cr4 |= FSL_SAI_CR4_FSD_MSTR;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I can't see how to use the device tree, to connect to that driver code and set&amp;nbsp; these registers.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(1) Is it required to modify the FSL SAI driver, in order to use the device tree files to setup &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;those registers and establish the SAI as I2S MASTER?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(2) If not, can you please advise on the specific line(s) of code in the Device Tree that will &lt;/STRONG&gt;&lt;STRONG&gt;set these registers and make the SAI the I2S master?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 09:57:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1156170#M162185</guid>
      <dc:creator>Ed_McM</dc:creator>
      <dc:date>2020-09-21T09:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7d SAI setup for clock master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1156205#M162189</link>
      <description>&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;Thank-you for the examples. In these examples, I can see very clearly how the &lt;U&gt;device tree&lt;/U&gt; is used to setup various hardware parameters. But I still can't see any way to use the &lt;U&gt;device tree&lt;/U&gt; to setup the Frame sync and Bit clock direction in the SAI Transmit configuration registers TCR2/4 ( to make the SAI the I2S master).&lt;/P&gt;&lt;P&gt;I see the code in the fsl_sai.c driver where these configuration registers are set, but I don't see how to connect to that code from the device tree (without modifying the driver code).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;1: Does the fsl_sai.c driver file have to be modified to configure the SAI as I2S master?&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;2: If not, what are the specific line(s) to add to device tree file, to configure these registers?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ed&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 10:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1156205#M162189</guid>
      <dc:creator>Ed_McM</dc:creator>
      <dc:date>2020-09-21T10:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7d SAI setup for clock master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1156214#M162190</link>
      <description>&lt;P&gt;dts adjustable settings are provided by "of_property_read.." in driver code,&lt;/P&gt;
&lt;P&gt;like&amp;nbsp;sai-&amp;gt;is_lsb_first = of_property_read_bool(np, "lsb-first");&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/fsl_sai.c?h=imx_5.4.24_2.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/fsl_sai.c?h=imx_5.4.24_2.1.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;other settings which are not configurable in such way should be set changing driver code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 10:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1156214#M162190</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-21T10:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7d SAI setup for clock master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1282355#M174542</link>
      <description>&lt;P&gt;Hey, i wonder if you solved your issues.&lt;/P&gt;&lt;P&gt;I'm facing the same problem but with ics43432 MEMS microphone on SAI2.&lt;/P&gt;&lt;P&gt;(SAi1 reserved for the sgtl5000 codec).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't get the BCLK ( = Fs*bitdepth*channels ) to get derived properly&amp;nbsp;&lt;/P&gt;&lt;P&gt;Always have a fsl_sai error : can't derive required Rx rate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And my mic works only with Fs = 11025 Hz.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried all possible MCLK value attribution ... But with no success&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you solve your issue and changed MCLK value ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 07:43:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1282355#M174542</guid>
      <dc:creator>medaliyou</dc:creator>
      <dc:date>2021-05-26T07:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7d SAI setup for clock master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1756309#M215623</link>
      <description>Hi Ed,&lt;BR /&gt;Were you able to find any solutions? I'm running into a similar issues.&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 13 Nov 2023 14:05:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7d-SAI-setup-for-clock-master/m-p/1756309#M215623</guid>
      <dc:creator>YuriyBV</dc:creator>
      <dc:date>2023-11-13T14:05:32Z</dc:date>
    </item>
  </channel>
</rss>

