<?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: IMX93 HDMI sound card with LT9611UXC in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1973861#M229677</link>
    <description>&lt;P&gt;How can I change the SCLK value in the device tree ?&amp;nbsp; Currently, I measured the value of SCLK is 1.536MHz, but I need it to be 3.072Mhz.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2024 05:09:12 GMT</pubDate>
    <dc:creator>AlanWen</dc:creator>
    <dc:date>2024-10-15T05:09:12Z</dc:date>
    <item>
      <title>IMX93 HDMI sound card with LT9611UXC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1969698#M229438</link>
      <description>&lt;P&gt;I have ported the LT9611UXC for audio with simple-sound-card in device tree.&lt;/P&gt;&lt;P&gt;The kernel device tree&lt;/P&gt;&lt;LI-CODE lang="c"&gt;\ {
    sound-hdmi {
		compatible = "simple-audio-card";
		simple-audio-card,format = "i2s";
		simple-audio-card,name = "lt9611uxc-hdmi";
		simple-audio-card,bitclock-master = &amp;lt;&amp;amp;sound_master&amp;gt;;
		simple-audio-card,frame-master = &amp;lt;&amp;amp;sound_master&amp;gt;;
		
		sound_master:  simple-audio-card,cpu {
			sound-dai = &amp;lt;&amp;amp;sai3&amp;gt;;
		};
		
		simple-audio-card,codec {
			sound-dai = &amp;lt;&amp;amp;lt9611uxc_codec&amp;gt;;
			clocks = &amp;lt;&amp;amp;clk IMX93_CLK_SAI3_GATE&amp;gt;;
		};
	};
};

&amp;amp;sai3 {
	#sound-dai-cells = &amp;lt;0&amp;gt;;
	pinctrl-names = "default";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_sai3&amp;gt;;
	assigned-clocks = &amp;lt;&amp;amp;clk IMX93_CLK_SAI3&amp;gt;;
	assigned-clock-parents = &amp;lt;&amp;amp;clk IMX93_CLK_AUDIO_PLL&amp;gt;;
	assigned-clock-rates = &amp;lt;24576000&amp;gt;;
	fsl,sai-mclk-direction-output;
	fsl,mode = "i2s-master";
	status = "okay";
};

&amp;amp;iomuxc {
    pinctrl_sai3: sai3grp {
		fsl,pins = &amp;lt;
			MX93_PAD_GPIO_IO26__SAI3_TX_SYNC		0x31e
			MX93_PAD_GPIO_IO16__SAI3_TX_BCLK		0x31e
			MX93_PAD_GPIO_IO17__SAI3_MCLK			0x31e
			MX93_PAD_GPIO_IO19__SAI3_TX_DATA00		0x31e
			MX93_PAD_GPIO_IO20__SAI3_RX_DATA00		0x31e
		&amp;gt;;
	};
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while booting up and I can get the sound card device in &lt;STRONG&gt;aplay -l&lt;/STRONG&gt; command&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx93evk:/music# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: lt9611uxchdmi [lt9611uxc-hdmi], device 0: 42660000.sai-i2s-hifi i2s-hifi-0 [42660000.sai-i2s-hifi i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;But I got this error when I want to play an audio file&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx93evk:/music# aplay Field_Day.wav
[  866.394401] fsl-sai 42660000.sai: failed to derive required Tx rate: 1411200
[  866.401478] fsl-sai 42660000.sai: ASoC: error at snd_soc_dai_hw_params on 42660000.sai: -22
ALSA lib /usr/src/debug/alsa-lib/1.2.10-r0/src/pcm/pcm_direct.c:1337:(snd1_pcm_direct_initialize_slave) unable to ins        tall hw params
ALSA lib /usr/src/debug/alsa-lib/1.2.10-r0/src/pcm/pcm_dmix.c:1012:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:834: audio open error: Invalid argument&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;What happened with this error ?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 07:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1969698#M229438</guid>
      <dc:creator>AlanWen</dc:creator>
      <dc:date>2024-10-09T07:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: IMX93 HDMI sound card with LT9611UXC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1972842#M229589</link>
      <description>&lt;P&gt;Please try this:&lt;/P&gt;
&lt;P&gt;&amp;amp;sai3{&lt;BR /&gt;#sound-dai-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clk IMX93_CLK_SAI3_IPG&amp;gt;, &amp;lt;&amp;amp;clk IMX93_CLK_DUMMY&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX93_CLK_SAI3_GATE&amp;gt;, &amp;lt;&amp;amp;clk IMX93_CLK_DUMMY&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX93_CLK_DUMMY&amp;gt;, &amp;lt;&amp;amp;clk IMX93_CLK_AUDIO_PLL&amp;gt;;&lt;BR /&gt;clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k";&lt;BR /&gt;assigned-clocks = &amp;lt;&amp;amp;clk IMX93_CLK_SAI3&amp;gt;;&lt;BR /&gt;assigned-clock-parents = &amp;lt;&amp;amp;clk IMX93_CLK_AUDIO_PLL&amp;gt;;&lt;BR /&gt;assigned-clock-rates = &amp;lt;24576000&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 01:17:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1972842#M229589</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-10-14T01:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: IMX93 HDMI sound card with LT9611UXC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1972945#M229599</link>
      <description>&lt;P&gt;There is still no sound while playing audio&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx93evk:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: lt9611uxchdmi [lt9611uxc-hdmi], device 0: 42660000.sai-i2s-hifi i2s-hifi-0 [42660000.sai-i2s-hifi i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@imx93evk:~# aplay -f dat /music/Field_Day.wav
Playing raw data '/music/Field_Day.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
root@imx93evk:~#&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 14 Oct 2024 03:26:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1972945#M229599</guid>
      <dc:creator>AlanWen</dc:creator>
      <dc:date>2024-10-14T03:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: IMX93 HDMI sound card with LT9611UXC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1973740#M229667</link>
      <description>&lt;P&gt;Please double check the setting in alsamixer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 02:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1973740#M229667</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-10-15T02:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: IMX93 HDMI sound card with LT9611UXC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1973861#M229677</link>
      <description>&lt;P&gt;How can I change the SCLK value in the device tree ?&amp;nbsp; Currently, I measured the value of SCLK is 1.536MHz, but I need it to be 3.072Mhz.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 05:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1973861#M229677</guid>
      <dc:creator>AlanWen</dc:creator>
      <dc:date>2024-10-15T05:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: IMX93 HDMI sound card with LT9611UXC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1975919#M229787</link>
      <description>&lt;P&gt;Please try to add like below:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;sound_master:  simple-audio-card,cpu {
			sound-dai = &amp;lt;&amp;amp;sai3&amp;gt;;
                        dai-tdm-slot-num = &amp;lt;2&amp;gt;;
                        dai-tdm-slot-width = &amp;lt;16&amp;gt;;
		};&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 17 Oct 2024 09:05:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX93-HDMI-sound-card-with-LT9611UXC/m-p/1975919#M229787</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-10-17T09:05:32Z</dc:date>
    </item>
  </channel>
</rss>

