- es8388连接在40pin座子的i2c9 和i2s5,管脚在设备树中已配置,如图
- es8388 显示注册失败
dmesg.txt (66.5 KB) - 使用示波器测量mclk 信号如图
4.源文件如下
es8388.c.txt (31.1 KB)
es8388.h.txt (4.1 KB)
tegra_machine_driver_mobile.c.txt (24.5 KB)
tegra194-audio-p3668.txt (2.8 KB)
Hi,
Greetings!
Per the DT attached, I see that you have not defined es8388_codec and placed it in the i2c node. Codec dai is not being registered for this reason. You can check reference sample here - ES8388 codec bring up question on orin nano r36.3
Sharing other documentation references that could help. Please have a walkthrough for help with codec integration:
- Codec integration guide at Audio Setup and Development — NVIDIA Jetson Linux Developer Guide 1 documentation thoroughly to understand the codec integration process
- TroubleShooting at Audio Setup and Development — NVIDIA Jetson Linux Developer Guide 1 documentation
- Examples at Audio Setup and Development — NVIDIA Jetson Linux Developer Guide 1 documentation
Feel free to get in touch for further help
Regards
Thank you for your reply, es8388 have defined in i2c node
and if mclk pin not defined ,i2c communication with es8388 is ok, but mclk pin defined
and have data output, es8388 i2c has no ack。
Hi,
In that case, please try clock entry in codec as shown in ES8388 codec bring up question on orin nano r36.3 - #5 by liukuangjie2022 and see if it helps
Further, if still seeing issues, add debug logs to codec driver and identify where the issue is rising from
Regards