Audio codec alc5640 recording in orin nano r36.4.2(jp6.2)

When recording, use the terminal command:
amixer -c APE cset name=“I2S2 Mux” “ADMAIF1”
amixer -c APE cset name=“ADMAIF1 Mux” “I2S2”

amixer -c APE cset name=“CVB-RT RECMIXL BST1 Switch” “on”
amixer -c APE cset name=“CVB-RT RECMIXR BST2 Switch” “on”

amixer -c APE cset name=“CVB-RT RECMIXR BST1 Switch” “1”
amixer -c APE cset name=“CVB-RT IN1 Boost” 8
amixer -c APE cset name=“CVB-RT IN2 Boost” 8
amixer -c APE cset name=“CVB-RT Stereo ADC1 Mux” “ADC”
amixer -c APE cset name=“CVB-RT Stereo ADC MIXL ADC1 Switch” “on”
amixer -c APE cset name=“CVB-RT Stereo ADC MIXR ADC1 Switch” “on”

arecord -Dhw:APE,1 -c 2 -r 48000 -f S16_LE -d 15 out.wav

Orin Nano has MCLK output; However, there is no signal from others, and there is no sound in the recorded file outwav

Using Single-End Mode
kernel_log.txt (60.2 KB)
pinmux.txt (31.5 KB)
clock.txt (40.5 KB)
codec_regdump.txt (2.9 KB)
dt.log (315.7 KB)
reg_dump.txt (585 Bytes)
settings.txt (324.9 KB)

Please check Audio Setup and Development — NVIDIA Jetson Linux Developer Guide to see if able to find solution. Thanks

It can play sound, but during recording, only mclk is available; I have read the document you sent, but it doesn’t solve the problem
Our alc5640 did not connect IRQ to SOC Orin Nano, so it feels different from the SCH provided by your company

@kayccc
Boss, I don’t know, please ask for advice!

As I2S is connected to ADMAIF1, the pcm device will be 0 not 1.
Refer: Audio Setup and Development — NVIDIA Jetson Linux Developer Guide

Please let me know if still it’s not functional.

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