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.

TLV320AIC3100: How to interface headphone mic signal from tlv320aic to processor

Part Number: TLV320AIC3100

Dear Team,

With the IMX8M-Mini processor I want to interface TLV320AIC3100 for headphone along with the Mic.

And I want to take Mic signal input to the tlv IC, process it and send the signal to the processor. But I could not able to get  the hardware connections and which registers need to set for this.

 Could you please support to achieve it

  • Hi,

    In the datasheet section 1.4, there's a functional block diagram that has the respective registers for example, I have highlighted two of them below.

    So, depending on the path you want to set, you can write the registers accordingly.

    Regards.

  • Hi, Thank you 

    Can you also let me know how to select on board mic and headset mic. As I want to select only one at a time.

  • The EVM comes with MIC J2 connector only as shown below. The Headphone J4 is a jack for headphone output without MIC input. 

    I

    So, you will just need to configure the MIC input.

    Regards,

  • Yes sure. But on our board we do take the onboard mic and now we are implementing headset mic also providing input signal to pin14.

    I need solution for selection of on board mic and headset mic. Can you support on this.

    Also can you please guide me on what to write in dts file

  • You have to use different input for Mic and headset Mic in the codec or externally provide a way to switch to either Mic whenever you want to use it.

    From device point of view, it's just the register to set/clear, it will not be able to detect its input from mic or headset mic since they are coming from the same pin. So, you will need to assign a different input for mic and headset mic if you have both mic in the system or if only one mic active or plug in at a time then you can use the same input. 

    On dts, you might want to consult the IMX8M-Mini processor team. The Linux driver is in the product site below.

    TLV320AIC3100 data sheet, product information and support | TI.com

    Regards.