This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: McASP3-AudioCodec Interface deviation from default pins - not getting audio

Part Number: AM5728


Hi There!

We are using AM572x GP_EVM with default audio loopback example through DSP1 using TI RTOS. It is working perfectly fine.

It uses the following connections:

MCASP3_AHCLKX -> Codec_MCLK

MCASP3_ACLKX -> Codec_BCLK

MCASP3_FSX -> Codec_WCLK

MCASP3_AXR0 -> Codec_DIN

MCASP3_AXR1 <- Codec_DOUT

Since in our custom board we cannot use MCASP3_AXR1, we did a small hardware change to do the folowing change 

MCASP3_AX2 <- Codec_DOUT, keeping rest all connections same.

Since MCASP3_AXR2 is pinmuxed on MCASP2_AXR2, we added the following pinmuxing code in the init:

HW_WR_FIELD32(CSL_DSP_CORE_PAD_IO_REGISTERS_REGS+CSL_CONTROL_CORE_PAD_IO_PAD_MCASP2_AXR2, \
CSL_CONTROL_CORE_PAD_IO_PAD_MCASP2_AXR2_MCASP2_AXR2_MUXMODE, \
0x1);

HW_WR_FIELD32(CSL_DSP_CORE_PAD_IO_REGISTERS_REGS+CSL_CONTROL_CORE_PAD_IO_PAD_MCASP2_AXR2, \
CSL_CONTROL_CORE_PAD_IO_PAD_MCASP2_AXR2_MCASP2_AXR2_INPUTENABLE, \
0x1);

But we are not able to hear anything from codec, the received buffer is also all 0's.

Wondering if anything else needs to be taken care in software with this hardware change.

Can anyone help us?

Thanks & Regards,

Ashok