How to keep AUD_MCLK outputting

I’m working with AGX Orin 64GB+ CutomCarrierBoard in R36.3.
Our codecs works well.
But, When there is not any audio outputs, AUD_MCLK is automatically stopped.

Here is my dts.

sound {
		compatible = "nvidia,tegra186-audio-graph-card",
					 "nvidia,tegra186-ape";
		nvidia-audio-card,name = "NVIDIA Jetson AGX Orin APE";
		fixed-pll;
		clocks = <&bpmp TEGRA234_CLK_PLLA>,
			 <&bpmp TEGRA234_CLK_PLLA_OUT0>,
			 <&bpmp TEGRA234_CLK_AUD_MCLK>;
		clock-names = "pll_a", "plla_out0", "extern1";
		assigned-clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
		assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
		assigned-clock-rates = <12000000>;
		/delete-property/ nvidia-audio-card,mclk-fs;
...

AUD_MCLK was always output in R35.5.0.
How to keep outputting AUD_MCLK even when there is no audio output in R36.3?

Hi,
Here are some suggestions for the common issues:

1. Performance

Please run the below command before benchmarking deep learning use case:

$ sudo nvpmodel -m 0
$ sudo jetson_clocks

2. Installation

Installation guide of deep learning frameworks on Jetson:

3. Tutorial

Startup deep learning tutorial:

4. Report issue

If these suggestions don’t help and you want to report an issue to us, please attach the model, command/step, and the customized app (if any) with us to reproduce locally.

Thanks!

Thank you for reply.

I can reproduce this with Devkit.
The steps are simple.

  1. Boot up Ubuntu.
  2. Check MCLK pin (when no audio output).

MCLK was always output in R35.5.0. But, MCLK is automatically stopped in R36.3.
image

How to keep outputting MCLK even when there is no audio output in R36.3?

Hi Harumoto,
Aud_MCLK was primary used for audio usecases, and when there is no active audio usecase, aud_mclk clock would be disabled to save power. May I know any specific reason to keep aud_mclk always on in your case.

1 Like

My custom board’s codecs use MCLK clock for jack detect as a defualt.
But it is not essential.
I will modify the codec source code.

Thank you for your help.

1 Like

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