[Orin NX]audio codec RT5640 with rel36.4.3

Hi Nvidia,

I ref this [ref] to setup audio codec RT5640 on my Orin NX custom board.

Every function was OK, but under the ubuntu GUI when I tested speaker function like below picture ,I observed
the Input Device will also be action.

This is my amixer setting:
amixer_setting.txt (4.1 KB)

So my question is does there an error in my amixer path setting?

Diff with the JP6.0 used amixer setting:
amixer_setting.txt (2.7 KB)
the different was amixer -c APE cset name="CVB-RT Stereo DAC MIXL DAC L1 Switch" on and
amixer -c APE cset name="CVB-RT Stereo DAC MIXR DAC R1 Switch" on Maybe this the main cause of this phenomenon?

Many Thanks!!

Apologies for the delay in getting back to you, and thank you for your patience.

Yes, the phenomenon you’re observing is due to the current audio routing settings.

  1. DAC MIXL/MIXR – These are the main DAC mixers feeding into the stereo DAC path.
  2. Stereo DAC MIXL/MIXR – These control the final routing to the left and right DAC outputs.
  3. SPK MIXL/MIXR – These speaker mixers can receive input from multiple sources.

The issue lies in the DAC MIXL/MIXR routing. It’s likely that the “Stereo ADC Switch” in the DAC mixers is enabled. This causes the ADC (microphone input) to be routed directly to the DAC output, which results in the input device remaining active during speaker playback.

Disabling this switch should resolve the issue.

Please let me know if you need guidance on updating the configuration.

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