<?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: tinycap Captured 0 frames on i.mx8mq android 13</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/tinycap-Captured-0-frames-on-i-mx8mq-android-13/m-p/1766854#M216663</link>
    <description>&lt;P&gt;It work.&amp;nbsp; my typing error in dts&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peterwu2_0-1701398622990.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252384i27BFEFCEA6F1859E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peterwu2_0-1701398622990.png" alt="peterwu2_0-1701398622990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2023 02:43:55 GMT</pubDate>
    <dc:creator>peterwu2</dc:creator>
    <dc:date>2023-12-01T02:43:55Z</dc:date>
    <item>
      <title>tinycap Captured 0 frames on i.mx8mq android 13</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/tinycap-Captured-0-frames-on-i-mx8mq-android-13/m-p/1766186#M216609</link>
      <description>&lt;P&gt;we use a hdmi-csi convertor LT6911.&lt;BR /&gt;LT6911 play I2S master. we connect to SAI3 of i.mx8mq.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peterwu2_0-1701322844169.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252222i2013736595A2BB69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peterwu2_0-1701322844169.png" alt="peterwu2_0-1701322844169.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;hdmi plug to pc and playing youtube.&lt;/P&gt;&lt;P&gt;we can measure I2S signal. ( RXD0 , RXC, RXFS ) .&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;LT6911 have external osc, so the MCLK is not connect.&lt;/P&gt;&lt;P&gt;RXC = 48kHz (RXFS) x 32 x2 = 3.072MHz&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RXD0" style="width: 807px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252226iCCCE5A428CE01911/image-size/large?v=v2&amp;amp;px=999" role="button" title="RXD0.JPG" alt="RXD0" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;RXD0&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RXC" style="width: 807px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252227iE017E244462711BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="RXC.JPG" alt="RXC" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;RXC&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RXFS" style="width: 807px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252228iE45C33E73F568731/image-size/large?v=v2&amp;amp;px=999" role="button" title="RSFS.JPG" alt="RXFS" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;RXFS&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the dts config.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;	lt6911c_1_codec: lt6911c_1-codec {
		compatible = "dummy-codec";
		#sound-dai-cells = &amp;lt;0&amp;gt;;
	};

	sound-lt6911c_1 {
		compatible = "simple-audio-card";
		simple-audio-card,name = "lt6911c_1-audio";
		simple-audio-card,format = "i2s";
		simple-audio-card,frame-master = &amp;lt;&amp;amp;lt6911c_1_codec_dai&amp;gt;;
		simple-audio-card,bitclock-master = &amp;lt;&amp;amp;lt6911c_1_codec_dai&amp;gt;;

		lt6911c_1_codec_dai: 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;32&amp;gt;;
		};

		simple-audio-card,codec {
			sound-dai = &amp;lt;&amp;amp;lt6911c_1_codec 0&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 IMX8MQ_CLK_SAI3&amp;gt;;
	assigned-clock-parents = &amp;lt;&amp;amp;clk IMX8MQ_AUDIO_PLL1_OUT&amp;gt;;
	assigned-clock-rates = &amp;lt;24576000&amp;gt;;
	clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k", "pll11k";
	clocks = &amp;lt;&amp;amp;clk IMX8MQ_CLK_SAI3_IPG&amp;gt;, &amp;lt;&amp;amp;clk IMX8MQ_CLK_DUMMY&amp;gt;,
		&amp;lt;&amp;amp;clk IMX8MQ_CLK_SAI3_ROOT&amp;gt;, &amp;lt;&amp;amp;clk IMX8MQ_CLK_DUMMY&amp;gt;,
		&amp;lt;&amp;amp;clk IMX8MQ_CLK_DUMMY&amp;gt;, &amp;lt;&amp;amp;clk IMX8MQ_AUDIO_PLL1_OUT&amp;gt;,
		&amp;lt;&amp;amp;clk IMX8MQ_AUDIO_PLL2_OUT&amp;gt;;
	fsl,sai-asynchronous;
	status = "okay";
};

	pinctrl_sai3: sai3grp {
		fsl,pins = &amp;lt;			
			MX8MQ_IOMUXC_SAI3_RXC_SAI3_RX_BCLK			0xd6
			MX8MQ_IOMUXC_SAI3_RXFS_SAI3_RX_SYNC			0xd6
			MX8MQ_IOMUXC_SAI3_RXD_SAI3_RX_DATA0			0xd6
		&amp;gt;;
	};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sound cards ( there is&amp;nbsp;pcmC0D0c )&lt;/P&gt;&lt;LI-CODE lang="c"&gt;chimera:/data # ls /dev/snd -al
total 0
drwxr-xr-x  2 root   root       220 1970-01-01 00:00 .
drwxr-xr-x 24 root   root      1960 1970-01-01 00:00 ..
crw-rw----  1 system audio 116,   3 1970-01-01 00:00 controlC0
crw-rw----  1 system audio 116,   6 1970-01-01 00:00 controlC1
crw-rw----  1 system audio 116,   9 1970-01-01 00:00 controlC2
crw-rw----  1 system audio 116,   2 1970-01-01 00:00 pcmC0D0c
crw-rw----  1 system audio 116,   5 1970-01-01 00:00 pcmC1D0c
crw-rw----  1 system audio 116,   4 1970-01-01 00:00 pcmC1D0p
crw-rw----  1 system audio 116,   8 1970-01-01 00:00 pcmC2D0c
crw-rw----  1 system audio 116,   7 1970-01-01 00:00 pcmC2D0p
crw-rw----  1 system audio 116,  33 1970-01-01 00:00 timer

chimera:/data # cat /proc/asound/cards
 0 [lt6911c1audio  ]: simple-card - lt6911c_1-audio
                      lt6911c_1-audio
 1 [btscoaudio     ]: simple-card - bt-sco-audio
                      bt-sco-audio
 2 [wm8904audio    ]: wm8904-audio - wm8904-audio
                      wm8904-audio&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we try to capture wav on android 13, it&amp;nbsp;Captured 0 frames.&amp;nbsp; the wav file is empty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;# tinycap test.wav -D 0
Capturing sample: 2 ch, 44100 hz, 16 bit
Captured 0 frames&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the same configuration on android 11.&amp;nbsp; capture wav is success.&lt;/P&gt;&lt;P&gt;why it fail on android 13, Any suggestion ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 06:34:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/tinycap-Captured-0-frames-on-i-mx8mq-android-13/m-p/1766186#M216609</guid>
      <dc:creator>peterwu2</dc:creator>
      <dc:date>2023-11-30T06:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: tinycap Captured 0 frames on i.mx8mq android 13</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/tinycap-Captured-0-frames-on-i-mx8mq-android-13/m-p/1766854#M216663</link>
      <description>&lt;P&gt;It work.&amp;nbsp; my typing error in dts&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peterwu2_0-1701398622990.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252384i27BFEFCEA6F1859E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peterwu2_0-1701398622990.png" alt="peterwu2_0-1701398622990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 02:43:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/tinycap-Captured-0-frames-on-i-mx8mq-android-13/m-p/1766854#M216663</guid>
      <dc:creator>peterwu2</dc:creator>
      <dc:date>2023-12-01T02:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: tinycap Captured 0 frames on i.mx8mq android 13</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/tinycap-Captured-0-frames-on-i-mx8mq-android-13/m-p/1766855#M216664</link>
      <description />
      <pubDate>Fri, 01 Dec 2023 02:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/tinycap-Captured-0-frames-on-i-mx8mq-android-13/m-p/1766855#M216664</guid>
      <dc:creator>peterwu2</dc:creator>
      <dc:date>2023-12-01T02:45:23Z</dc:date>
    </item>
  </channel>
</rss>

