Other Parts Discussed in Thread: TLV320AIC3204, AM6252
Tool/software:
Hi TI Support Team,
We are working on integrating the TLV320AIC3204 audio codec with a TI AM6252 (AM62x) processor over the McASP interface, using Linux kernel v6.1.46 SDK from TI. The speaker output is functioning correctly, but we are facing an issue with the microphone input, which does not capture any audio.
Here are some details:
-
The codec is connected via I2C + McASP.
-
We are using the simple-audio-card in the device tree with widgets and routing defined (similar to what works on our Colibri iMX7D and iMX6ULL platforms).
codec_audio1: sound1 {
compatible = "simple-audio-card";
simple-audio-card,name = "AM625x-TLV320AIC3204";
simple-audio-card,widgets =
"Microphone", "Mic Jack",
"Line", "Line In",
"Line", "Line Out",
"Headphone", "Headphone Jack";
simple-audio-card,routing =
"IN1_L", "Line In",
"IN1_R", "Line In",
"IN3_R", "Mic Jack",
"CM_L", "Mic Jack",
"CM_R", "Mic Jack",
"Line Out", "LOL",
"Line Out", "LOR",
"Headphone Jack", "HPL",
"Headphone Jack", "HPR";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,bitclock-master = <&sound_master1>;
simple-audio-card,frame-master = <&sound_master1>;
simple-audio-card,bitclock-inversion;
simple-audio-card,cpu {
sound-dai = <&mcasp1>;
};
sound_master1: simple-audio-card,codec {
sound-dai = <&tlv320aic3204>;
clocks = <&sgtl5000_mclk>;
};
};
-
The microphone is connected directly (not through a jack) using the IN1_L pin, and speaker output is routed via HP_L.
-
We've reused the same amixer settings and device tree configuration that worked on NXP platforms.
Any widgets or routing issues for MIC from TLV320AIC3204 to AM6252 via I2S McASP. ?