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.

TLV320DAC3100EVM-U: 3.5mm jack Mic analog input processing

Part Number: TLV320DAC3100EVM-U
Other Parts Discussed in Thread: TLV320DAC3100, TLV320AIC3100

Hi,

we have connected TLV320DAC3100 based ACEV-1A EVM to imx8Mini eval board.

we are able to operate the 8ohms speaker and detect 3.5mm jack headphone insertion also on ACEV-1A EVM .

we would like to know 

1)if TLV320DAC3100  would detect mic analog input (when user is speaking on the microphone of 3.5mm jack headphone cable) and provide it to the imx8mini processor using BLCK/MCLK/DIN/DOUT?
2)if  point 1 is true then how would it be possible in firmware
3)if point 1 is false then how can we process the mic analog input from 3.5mm jack and interface to processor

  • Hi Bhavesh,

    1) The Mic detection is only monitored by internal register mapping/GPIO pin interrupts. The detection can't be sent over the I2S bus. See 6.3.10.5 in the datasheet for more details.

    2) N/A

    3) If you want to interface the mic data to the processor then you will need a full codec, not just a DAC. The TLV320AIC3100 is the codec version of this device. 

    Best regards,
    Jeff McPherson

  • Hi Jeff,

    1)correction , the mic detection is done by I2C and the audio from processor is send over I2S
    3)in the eval board , there is Mic connector which is connected to pin 13 and 14 of TLV320DAC3100  , how can this Ain pins to be used for sending mic analog input to processor?

    what are the FW settings required for point 3

  • Hi Jeff,

    1)correction , the mic detection is done by I2C and the audio from processor is send over I2S to speaker via TLV320DAC3100
    3)in the eval board , there is Mic connector which is connected to pin 13 and 14 of TLV320DAC3100  , how can this Ain pins to be used for sending mic analog input to processor?

    what are the FW settings required for point 3.

  • Hi Bhavesh,

    Sorry I confused your original question for a different feature, but my answer above still stands. The TLV320DAC3100 is not able to output I2S data. You need the TLV320AIC3100 to do that. Pins 13 and 14 are only for analog mixing with the DAC signal.

    Best regards,
    Jeff McPherson

  • Hi Jeff,

    understood, Mic input from 3.5mm jack cannot be routed to I2S.
    1)can you let me know the firmware configuration for routing AIN1 or AIN2 signal to HPL/HPR or SPKR/SPKL
    2)do you have any application note or reference design or reference part by which I can transfer the mic data to processor digitally.

  • Hi Bhavesh,

    1) The AIN1/2 mixing is done with only Page 1/Register 35 (see below)

    2) The TLV320AIC3100 would be the best option to enable routing digital audio to the processor from a mic input. The firmware is identical to the TLV320DAC3100 and is pin 2 pin compatible. Switching to the AIC3100 would give you a I2S Data Output which would let you send data to the processor.

    Best regards,
    Jeff McPherson

  • Thanks Jeff,

    can we have the difference in specs/comparison between TLV320AIC3100 and TLV320DAC3100

    do we have any link for the same.

  • Hi Bhavesh,

    The specs between the two are the same. The AIC3100 has the same performance as the DAC3100 with the addition of an ADC (which includes additional specs).

    Best regards,
    Jeff McPherson