hello Diego,
I have a board design that includes the TLV320AIC3101 codec connected to the CP2114 USB bridge. (the USB bridge is connected via USB to my PC)
Im having big problems setting up and configurating the registers for the TLV320AIC3101.
I need to use two mic inputs and two speaker outputs accordingly. (but not at the same time)
my design has the following 2 audio channels setup:
channel 1
MIC1LP and MIC1LM (pins 10,11) are connected to my differntial microphone while pin 11 is grounded.
My speakers are connected to LEFT_LOP and LEFT_LOM
channel 2
MIC2L/LINE2L/MICDET : im using this pin (14) for a mic detect along with the MICBIAS pin (15), so my first microphone is connected to pins 14 and 16 (MIC2R).
i need the CODEC to identify that MIC2 is connected in order to use this audio channel. while MIC2 is not connected i want to be able to use channel 1 audio instead, as described above.
My speakers are connected to HPROUT for this channel2.
i am not using HPRCOM, HPLOUT, HPLCOM, RIGHT_LOP, RIGHT_LOM, MIC1RP, MIC1RM pins.
please help and advice which registers i need to configure and how to configure them.
it would help me a lot if you could send me the exact registers configuration for my setup as described above.
thank you very much
best regards
nimrod