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.

Audio Mono/Stereo Issue-AIC3106 CODEC - Driver Issue

Hi

Iam facing a issue related to mono/stereo settings related to the AIC3106 codec.

In my custom application, audio o/p from SoC goes simultaneously to HDMI Tx and CODEC. Iam pumping audio through I2S.

If i pump Left only audio using aplay command from SoC

HDMI: Audio is played only in Left channel, no sound in Right

CODEC: Audio comes in both Left and Right,when i hear through HPOUT

If i pump Right only audio using aplay command from SoC

HDMI: Audio is played only in Right channel, no sound in Left

CODEC: Audio comes in both Left and Right, when i hear through HPOUT

From this, we can understand even if u feed single channel whether left or channel, codec always outputs in both channel.

I also probed the WCLK and data from SoC side using CRO, if left data is feed, data comes in left only and if right data is feed, data comes in right only.

I even used amixer commands to change some settings, everything in vain

It seems iam missing some settings related to codec,kindly advise regarding this problem

Regards

Vijayabharathi C

  • Hi, Vijayabharathi,

    Sorry for the delay in getting back to you.

    Wow, you did a great job debugging the problem.

    The part has many different register settings to control mixing and muxing of the signals. I suspect somehow you got it routing the mono signal to both outputs.

    I suggest you double-check your software to see what you're writing to the I2C registers.

    -d2

  • Hi Dan,

    Thanks for the suggestion. Sorry for late reply.. 

    We resolved the problem, Its due to HW issue related to Audio connector. Connector was not soldered properly in the board..

    Nothing related to settings, now its working properly, without any change in sw settings

    Regards

    Vijayabharathi C