嗨,NVIDIA
我们有一颗TAC5142的音频芯片连接I2S0,查看物理连接是I2S0;但是dtb上是I2S2的。以下是原理图:
我这边修改了tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi和tegra234-mb1-bct-gpio-p3767-dp-a03.dtsi,如图所示:
我这边按照音频开发指南:Audio Setup and Development — NVIDIA Jetson Linux Developer Guide
tegra234-p3767.txt (7.3 KB)
因为TAC5142是没有I2C的,所以没有配置I2C;目前看cat /proc/asound/cards没有看到节点。aplay播放耳机没有任何声音
Hello,
Thanks for visiting the NVIDIA Developer forums.
Your topic will be best served in the Jetson category, I have moved this post for better visibility.
Cheers,
Tom
好的,谢谢;
补充:目前已经打开I2S2,但是使用示波器量sclk没有输入,播放的时候DOUT也没有输出,以下是dtsi的具体情况:
tegra234-p3767.txt (7.3 KB)
tegra234-mb1-bct-gpio-p3767-dp-a03.txt (3.5 KB)
tegra234-mb1-bct-pinmux-p3767-dp-a03.txt (65.8 KB)
Hi,
Greetings!
Use Jetson-IO tool for setting pinmux for I2S2. No need for editing DT
Once you enable I2S2, cross check if it got enabled after reboot using config-by-function.py ‑l enabled. More details on usage of tool in link shared
Hope you are taking I2S lines from 40-pin GPIO expansion header. Kindly confirm.
Regarding sound card, take BSP build without any changes, flash on the Orin Nano devkit and share output of cat /proc/asound/cards. It should have 2 entries 0 for hda and 1 for APE sound card. Not sure why its missing in yours
For I2S based codecs, no changes are usually needed in DT for I2S on 40-pin header, you could route ADMAIF1 to I2S2 Mux and aplay while following reference link and it shall work fine
Thanks!