Hi everybody, I added the audio codec rt5640 to the Orin nx platform, and GPIO13 is connected to the GPIO1/IRQ of rt5640. And I also enable i2s of jetson-io.py,But the rt5640 does not work.
I modified tegra234-p3767-common-audio.dtsi.
Used i2cdetect to detect and confirm that rt5640 is being called by the kernel module.
And snd-soc-rt5640 appears in the lsmod output.
cat /proc/asound/cards.
But rt5640 does not work on Orin nx,And When powered on, the MCLK waveform does not have frequency. tegra234-p3767-common-audio.dtsi.txt (8.3 KB)
Hi,kayccc
Through measurement, I found that only MCLK(AUD_MCLK) waveform remains at a constant frequency output, I only modified the device tree file tegra234-p3767-common-audio.dtsi. I don’t know if this is right, or if there are other documents to be amended.
Thanks.
Hi,KevinFFF
We use a custom board.
After modifying the device tree file, IRQ(GPIO13) is 1.8V, and only MCLK(AUD_MCLK) has a waveform, 11.29MHz. I2S0_SCLK, I2S0_FS, I2S0_DOUT, and I2S0_DIN are all unchanged when playing .wav files using aplay. log.txt (67.5 KB)
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks