Part Number: AM3358
Hi,
I am interfacing AM3358 with an audio codec. I am having a problem where I am only seeing data on RX, but nothing on TX of MCASP. The audio codec I am using is Si32178 by Silicon Labs. I have it connected as following:
MCASP1_CLKX --> PCLK (Audio Codec)
MCASP1_FSX --> FSYNC (Audio Codec)
MCASP1_AXR0 (TX) --> DRX (Audio Codec)
MCASP1_AXR1 (RX) --> DTX (Audio Codec)
Here is part of my device tree:
voip_audio_pins: pinmux_voip_audio_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x9a0, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcasp0_aclkr.mcasp1_aclkx */
AM33XX_IOPAD(0x9a4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcasp0_fsr.mcasp1_fsx, INPUT */
AM33XX_IOPAD(0x9a8, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mcasp0_axr1.mcasp1_axr0 */
AM33XX_IOPAD(0x9ac, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcasp0_ahclkr.mcasp1_axr1 */
>;
};
&mcasp1 {
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&voip_audio_pins>;
status = "okay";
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <8>;
num-serializer = <4>;
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1 2 0 0
>;
tx-num-evt = <8>;
rx-num-evt = <8>;
};
I am seeing data on MCASP1_AXR1 (RX) --> DTX , but I don't see anything on MCASP1_AXR0 (TX) --> DRX (Audio Codec) even when audio input is coming.
What could be going wrong here?