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:
- The headphones can hear the sound,but the sound from the headphones is very quiet;
- The headphones hear a lot of noise, the correct sound is very low.
Here is my debug log:
- aplay cmd:
~# aplay -D plughw:CARD=tegrasndt210ref,DEV=0 test.wav
Playing WAVE ‘test.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo - I2S4 output clocks:
FS: 44.1khz
MCLK: 11.29Mhz
SCLK: 1.41Mhz - ~# cat /proc/device-tree/sound/mclk-fs | xxd
00000000: 0000 0100 - Reference linking:
Porting realtek rt5639 codec to Nano
Porting realtek ALC5640(rt5640) codec to Nano