Orin nano usb es8390 can`t record

Hi everyone, on our self-developed carrier board, we used the ES8390 audio chip. Currently, the playback function works fine, but recording can’t capture any sound. We’re using Jetpack 6.2.2.Could you please help me check if I did something wrong with the software configuration?
The dts configuration is as follows:
&gen1_i2c {
status = “okay”;
clock-frequency = <400000>;

es8389: es8389@10 {
    compatible = "everest,es8389";
    reg = <0x10>;
    #sound-dai-cells = <0>;
    status = "okay";

    clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
    clock-names = "mclk";
    
    sound-name-prefix = "ES";
};

};

&tegra_sound {
status = “okay”;

fixed-pll;

clocks = <&bpmp TEGRA234_CLK_PLLA>,
        <&bpmp TEGRA234_CLK_PLLA_OUT0>,
        <&bpmp TEGRA234_CLK_AUD_MCLK>;
clock-names = "pll_a","plla_out0","externl";

assigned-clocks = <&bpmp TEGRA234_CLK_PLLA>,
        <&bpmp TEGRA234_CLK_PLLA_OUT0>,
        <&bpmp TEGRA234_CLK_AUD_MCLK>;
        
assigned-clock-parents = <0>,
        <&bpmp TEGRA234_CLK_PLLA>,
        <&bpmp TEGRA234_CLK_PLLA_OUT0>;
        
assigned-clock-rates = <983040000>,<49152000>,<12288000>;
//nvidia-audio-card,mclk-fs = <256>;

nvidia-audio-card,widgets =
    "Headphone",  "ES Headphone",
    "Microphone", "ES Mic";

nvidia-audio-card,routing =
    "ES Headphone", "ES HPOL",
    "ES Headphone", "ES HPOR",
    "ES INPUT1",    "ES Mic",
    "ES INPUT2",    "ES Mic";

};

&i2s2_to_codec {
status = “okay”;
link-name = “es8389-playback”;
format = “i2s”;

codec {
    sound-dai = <&es8389>;
    prefix = "ES";
};

};

The waveforms of the three clocks are as follows:

CH1:MCLK CH2:SCLK CH3:LRCK

Hello @1746151250!

Based on the title and content of your topic, it looks like it may receive better visibility and feedback in a different category. We took the liberty of moving it for you.

If this was an incorrect assessment, please send me a direct message.

Disclaimer: this moderation suggestion and message were generated with AI assistance.

Hi,

Thanks for the update.

Since playback is working, the clock and MCLK configuration appear to be fine. The issue may be related to the codec capture path.

Could you please probe the DIN signal and confirm whether valid data is present while recording?

Also, please share the output of the following:

arecord -l
aplay -l
• Capture routing and mixer settings from amixer
dmesg logs showing any codec- or ASoC-related errors

This appears more likely to be a codec recording-path issue than a clock-related issue. You may also refer to these similar cases:

https://forums.developer.nvidia.com/t/r36-4-4-audio-driver-error/359627
https://forums.developer.nvidia.com/t/audio-codec-alc5640-recording-and-playback-in-orin-nano-r36-4-2-jp6-2/328955
https://forums.developer.nvidia.com/t/jetson-orin-nx-es7210-i2s4-capture-fails-with-i-o-error-be-link-pcm-constraints-show-rate-0-1-and-rate-knot/373119