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.

TLV320AIC3204: Codec Configuration

Part Number: TLV320AIC3204

Hello, 

We made a custom board with the codec. We are using IN2L/R and LOL/R for one radio, IN3L/R and HPL/R for another radio. We need to be able use both the radios simultaneously. I'm trying to play the attached audio tone (Left has 2008 Hz and Right has 1004Hz) through the codec and I'm using ALSA's aplay tool (aplay testtone_Left2008hz_Right1004hz_n9r0dBfs_stereo.wav) to play the file.

I want to be able to send the left tone to LOL/R and right tone to HPL/R, can I do this configuration? I have also attached the screenshots of alsamixer configuration below. When I probe the output at LOR and LOL I see -1KHz and -2KHz. When I probe at HPR and HPL I see 1KHz and 2KHz. I want LOR/LOL to have 1KHz/-1KHz and HPR/HPL to have 2KHz/-2KHz, how can I configure the codec to have outputs like this?

I also did single channel test too, that is send 1004 Hz from an audio test set, I probed the signals at IN2R and IN2L and there is 180 degree phase difference between them, but the output at LOL and LOR, there is no phase difference, they are in phase. During this test I disabled HP DAC and just enabled LO DAC in alsamixer.

  • Hi Santosh,

    The device provides flexibility to select the inputs that have to be routed to the line and headphone drivers. I would recommend referring to Figure 2-1. Analog Routing Diagram of the ARG(www.ti.com/lit/slaa557) for details.

    The headphone driver routing options that are available are shown below. The differential output of the left DAC can be routed to HPL/HPR. I have selected the same in the figure below.

    The Line driver routing options that are available are shown below. The differential output of the right DAC can be routed to LOL/LOR, as shown in figure.

    Would these meet your requirements?

    Best Regards.

  • Hi Santosh,

    Do you any comments on the previous proposal?

    Best Regards.

  • Part Number: TLV320AIC3204

    Hello ,

    Sorry for the late reply. I was making a new prototype board.

    We were hit with the limitations of the codec driver in Linux to configure the way I wanted. I made some changes to the driver and now I was able to use both the DAC simultaneously as I wanted. 

    Please link this response to the previous question (e2e.ti.com/.../3510455

    Thanks,

    Santosh