I’m the TI customer who originated this request :
I’m currently not able to read acoustic sound from the TLV320ADC6140 on the jetson nano.
The jetson nano has a kernel 4.9 version, so I modified the tlv320adcx140 driver to be compatible with this kernel. You will find the driver sources attached.
(I took help from this forum for the adaptation : https://e2e.ti.com/support/audio-group/audio/f/audio-forum/899448/tlv320adc3140-nvidia-jetson-kernel-4-9-driver-for-tlv320adcx140/3346253#3346253)
I recompiled the jetson kernel and I didn’t get any errors.
I also modified the device tree of the jetson nano to:
- Configure the pin muxing
- Enable I2S and I2C on jetson nano board
- Attach audio codec to correct I2S and I2C ports
You will also find attached the device tree (please take a look to “tegra_sound” and “hdr40_i2c1” paragraphs).
Next, I reflash the jetson nano SD card and I can see with dmesg command that the codec is correctly registered.
When I run alsamixer, I can see all the codec kcontrol parameters.
Then I tried to configure I2S using amixer by typing these commands :
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”
When I run the command:
arecord -D hw:tegrasndt210ref,0 -r 48000 -c 4 -f S32_LE test.wav
I do not see any clock coming out of the jetson nano and I have the following error :
arecord: pcm_read:2103: read error: Input/output error
I think it's a routing problem. Can you help me please?
Do not hesitate to contact me if you want other information.