Do you provide the driver and device tree (source code or sample code) of alc5651 on tx1?
If I have no audio codec on tx1 carrier board. When I aplay a wav file. Can I measure the correct frequency on MCLK, LRCLK and SCLK and see signal on DOUT?(Expansion Header J21)
Hi,
I have no physical audio codec on tx1 carrier board. When I aplay a wav file, I can not measure the correct frequency on MCLK, LRCLK and SCLK and see signal on DOUT.(Expansion Header J21)
nvidia@tegra-ubuntu:~/w_test$ aplay -D plughw:1,0 Front_Center.wav
Playing WAVE ‘Front_Center.wav’ : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
nvidia@tegra-ubuntu:~/w_test$
Please give advice or comments. How can I measure the correct frequency on MCLK, LRCLK and SCLK and see signal on DOUT?
Hi,
I connected alc5659 to tx1’s J21 and enable the audio by device tree.
e2614_audio: e2614-rt5658-audio {
gpio-hog;
function;
gpios = <
TEGRA_GPIO(B, 0) 0
TEGRA_GPIO(B, 1) 0
TEGRA_GPIO(B, 2) 0
TEGRA_GPIO(B, 3) 0
TEGRA_GPIO(BB, 0) 0
TEGRA_GPIO(BB, 3) 0
>;
label = “I2S0_LRCLK”, “I2S0_SDIN”, “I2S0_SDOUT”,
“I2S0_CLK”, “AUDIO_MCLK”, “AUD_RST”;
status = “okay”;
};
I aplay a wav file. I can measure the correct frequency on MCLK, LRCLK and SCLK and see signal on DOUT(i2s_0), but alc5659 doesn’t work. Is there any other place need to enable?
@wonderkay
You need to enable it by modify the DT for your codec only just connect the HW.
You may need download l4t-documentation-28.1 to read the “Tegra ASoC Driver”
Hi,
That’s simple introduction. There is no complete infomation. What’s the i2c number and i2c address of i2c_GP_DAT and I2C_GP_CLK(J21 pin3 and pin5)?
Hi,
Error message of dmesg
rt5659 0-001a: Device with ID register f9c54000 is not rt5659
tegra-snd-t210ref-mobile-rt565x sound: Failed to get HP Det GPIO, should be handled by codec
Hi,
I have another question. The usb2(M.2 KEY E) is always in auto-suspend mode.
I used command “sudo bash -c ‘echo -1 > /sys/module/usbcore/parameters/autosuspend” and “sudo sed -i ‘$s/$/ usbcore.autosuspend=-1/’ /boot/extlinux/extlinux.conf” and “cat /sys/module/usbcore/parameters/autosuspend” is -1, but it’s no work. How can I to enable the usb2?