wly
December 23, 2021, 10:30am
1
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 audio from the headphones is very quiet;
The audio from the headphones is very noisy.
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
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:
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 1.wav, but it exit with err !
test@test-desktop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: tegrahda [tegra-hda], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegraaudiort563 [tegra-audio-rt5639], device 0: RT5640 PCM rt5640-aif1-0
Subdevices: 0/1
Subdevice #0: subdevice #0
test@test-desktop:~$ aplay -D plughw:1…
Hi, nvidia.
I’m trying to porting realtek’s ALC5640/RT5640 codec to Nano, with I2S and I2C interface.
I've found that there is driver for ALC5640 codec, and the driver's path in the kernel is as follows:
kernel-4.9/sound/soc/codecs/rt5640.c
I followed the steps listed in chapter"Audio Setup and Development, 40-pin GPIO Expansion Header", in this document:
https://docs.nvidia.com/jetson/l4t/index.html
But unfortunately, I found that the function "snd_soc_register_card()" failed in the followi…
kayccc
December 27, 2021, 11:01pm
2
system
Closed
January 10, 2022, 11:01pm
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.