How to decrease GPIO9 driving strength when configured as I2S audio MCLK?

Hi NV team,

When I measure the gpio waveform on Orin Nano 8GB(Jetpack 5.1.3(sdk35.5)),I found that GPIO9(I2S AUD_MCLK) is around 49MHz(without audio playback) and 12.2896MHz(during playback),and the peak-peak swing voltage is too strong that incur EMI problem,so my question is how to decrease the driving strength of GPIO9 without affect audio codec performance?


Jasper
20241122

Hi jasperni,

Are you using the devkit or custom board for Orin Nano?

Please share the pinmux spreadsheet with us to know how do you configure them.
And the full dmesg for further check.

Hi Kevin

we are using custom carrier board.

updated the above info: before audio driver insmod, the GPIO9(ADU_MCLK) is around 49MHz. after driver insmod, the GPIO9(ADU_MCLK) is 12.2896MHz.

My question is why AUD_MCLK is default 49MHz before driver loaded, and how to decrease the driver strength of AUD_MLK based on 12.28896MHz if EMI is concerned.

jasper
20241125
dmesg2(driver loaded).log (70.7 KB)

Which audio driver do you mean? tegra210_adsp_audio_probe or rt5616?

Please also share the full device tree for further check.

Hi Kevin

we are using rt5616 driver.

My question is how to adjust the drvier strength of AUD_MCLK, if there is a way, please show some details,thanks!

Jasper
20241202

Could you share the result of register 0x02448034 on your board?

$ sudo busybox devmem 0x02448034

And try to configure it to zero to check if it could help in your case.

$ sudo busybox devmem 0x02448034 w 0

Hi Kevin

thanks for your help.

image

with command: sudo busybox devmem 0x02448034 w 0, the GPIO9_AUD_MCLK voltage swing becames lower. And we will check EMI performance later.

For rt5616 driver insmod, the waveform has less ringing and with smoothing rise edge.

jasper
20241204

Okay, please adjust this register for your requirement.

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