This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TLV320ADC6140:将 Nvidia Jetson Nano 连接至 TLV320ADC6140

Guru**** 2382630 points
Other Parts Discussed in Thread: TLV320ADC6140
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1201835/tlv320adc6140-interface-nvidia-jetson-nano-to-tlv320adc6140

器件型号:TLV320ADC6140

我是发起该申请的 TI 客户:

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1188564/tlv320adc6140-interface-nvidia-jetson-nano-to-tlv320adc6140

 

目前我无法从 Jetson nano 上的 TLV320ADC6140读取声学声音。

Jetson nano 具有内核4.9版本,因此我修改了 tlv320adcx140驱动程序,使其与此内核兼容。 您可以找到附加的驱动程序源。

(我从这个论坛的帮助适应: https://e2e.ti.com/support/audio-group/audio/f/audio-forum/899448/tlv320adc3140-nvidia-jetson-kernel-4-9-driver-for-tlv320adcx140/3346253#3346253)

 

我重新编译了 Jetson 内核、但没有看到任何错误。

我还将 Jetson nano 的设备树修改为:

  • 配置引脚复用
  • 在 Jetson nano 板上启用 I2S 和 I2C
  • 将音频编解码器连接到正确的 I2S 和 I2C 端口

您还会发现附件为器件树(请查看"tegra_sound"和"hdr40_i2c1"段落)。

接下来、我重新闪存 Jetson nano SD 卡、我可以通过 dmesg 命令看到编解码器已正确注册。

当我运行 alsamixer 时、我可以看到所有编解码器 kcontrol 参数。

 

然后,我尝试使用 amixer 配置 I2S,方法是键入以下命令:

amixer -c tegrasndt210ref cset name =”I2S4 Mux” “ADMAIF1”
amixer -c tegrasndt210ref cset name =”I2S4 fsync width” 0
amixer -c tegrasndt210ref cset name =”I2S4 codec master mode” “cbs-cfs”
amixer -c tegrasndt210ref cset name =”I2S4 codec frame mode” “dsp-a”


当我运行命令时:

arecord -D hw:tegrasndt210ref,0 -r 48000 -c 4 -f S32_LE test.wav

我没有看到任何时钟从 Jetson nano 出来,我有以下错误:

ARecord:PCM_Read:2103:读取错误:输入/输出错误

 

我认为这是路由问题。 可以帮帮我吗?

如果您需要其他信息、请随时与我联系。