Jetson nano use RT5639 CODEC

Hi,nvidia:
I’m trying to porting realtek’s 5639 codec to Nano, with nano’s I2S and I2C interface.When i use aplay to play test.wav, The following problems occur:

  1. The headphones can hear the sound,but the sound from the headphones is very quiet;
  2. The headphones hear a lot of noise, the correct sound is very low.

Here is my debug log:

  1. aplay cmd:
    ~# aplay -D plughw:CARD=tegrasndt210ref,DEV=0 test.wav
    Playing WAVE ‘test.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
  2. I2S4 output clocks:
    FS: 44.1khz
    MCLK: 11.29Mhz
    SCLK: 1.41Mhz
  3. ~# cat /proc/device-tree/sound/mclk-fs | xxd
    00000000: 0000 0100
  4. Reference linking:
    Porting realtek rt5639 codec to Nano
    Porting realtek ALC5640(rt5640) codec to Nano

Duplicated with Jetson nano connect RT5639 CODEC using I2S4 interface - Jetson & Embedded Systems / Jetson Nano - NVIDIA Developer Forums

Thanks for your reply,kayccc
When I first published the theme, the system did not approve, so I added several more, and all of them passed the next day, but I did not have the authority to delete the repeated theme, sorry!
Could you give me some advice about alC5639?

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