Jetson nano I2S audio not work

Hi, I am working on receiving audio through tc358743.
I clearly confirmed that audio was enabled through i2s4 by setting the alsa command as shown below.
I checked whether the sound was saved through “arecord”.
However, after working with a different SD card, I replaced it with an existing SD card, and from then on, audio no longer works.

  • amixer -c tegrasndt210ref sset ‘I2S4 Mux’ ‘ADMAIF1’
  • amixer -c tegrasndt210ref sset ‘ADMAIF1 Mux’ ‘I2S4’
  • amixer -c tegrasndt210ref sset ‘I2S4 codec bit format’ ‘16’
  • amixer -c tegrasndt210ref sset ‘I2S4 codec master mode’ ‘cbm-cfm’
  • amixer -c tegrasndt210ref sset ‘I2S4 BCLK Ratio’ ‘64’
  • amixer -c tegrasndt210ref sset ‘I2S4 codec frame mode’ ‘i2s’
  • amixer -c tegrasndt210ref sset ‘I2S4 fsync width’ 15
  • amixer -c tegrasndt210ref sset I2S4 Loopback off
  • amixer -c tegrasndt210ref sset I2S4 Sample Rate 44100
  • amixer -c tegrasndt210ref sset I2S4 Channels 1

Now, if you run arecord, the following error occurs.

  • arecord: pcm_read:2103: read error: Input/output error

I am continuing to experience this phenomenon. I already threw away 3 Jetson Nano modules.

What else can I check???

Hello,

Greetings from NVIDIA and thanks for choosing Jetson Nano!

I have a couple of points to discuss.

‘I2S4 codec master mode’ ‘cbm-cfm’ - This indicates that codec is I2S master and Tegra is slave. If your configuration allows, would it be possible to try the reverse, by setting ‘I2S4 codec master mode’ ‘cbs-cfs’ ?

Also, would you please let me know the arecord command you are using? I see that you are overriding the bit format, sample rate and channels through I2S mixer controls. Could you try avoiding that and instead use arecord parameters -f -r and -c ?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.