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.

CCS/TMDSOSKL137: TMDSOSKL137 using TLV320AIC3106(Audio codec), How can I "separately" receive and control two signals from two microphones in ccs?

Part Number: TMDSOSKL137
Other Parts Discussed in Thread: TLV320AIC3106

Tool/software: Code Composer Studio

Hello, I'm again.....

I'm using TMDSOSKL137 [[[ using TLV320AIC3106(Audio codec)]]] for sound separation system.

I found just one DOUT in TLV320AIC3106 datasheet, that is, I got just mixed signal from two microphones....:(

but I really hope "separately" receive and control two signals from two microphones in ccs.

How can I do this?... could you give me any suggestion??

I'm using Linein(1) and MIC3  in Document(file p.22)

You can see just one DOUT, but you mean that I can control DOUTL and DOUTR??EVMOMAPL137_Schematics_RevD.pdf

I couldn't find the DOUT control register....... How can I control DOUTL and DOUTR??

What I understood output from many documents is DOUT is the final output of TLV320AIC3106.

This DOUT is summation of DOUTL and DOUTR...

But what I really want to get is MIC signal and Linein signal same time.

Because I have to compare and correlation between two signals at the same time...

How can I do this?... could you give me any suggestion??

Thx....

  • Hi,

    The AIC3206 DOUT outputs two channels serially. The frame sync will be low for one channel and high for the other channel.
    Normally it will output the LINE1L and LINE1R inputs together or the MIC input (which is connected to MIC3R AND MIC3L).

    However, the codec DOUT pin can be configured through the codec registers to output (almost) any combination of LINE1L/R and MIC3L/R.

    The AIC3206 registers are written to with I2C commands on I2C0, so find where these occur in your software and modify the registers for your configuration.

    Basically this codec has two ADCs, but the input signals can be mixed (or combined) before being sampled by the Left or Right ADC. By selecting just one of the inputs for Left and another for Right (in a single-ended mode), you can have one channel from MIC and one channel from LINE IN.

    Refer to the tlv320aic3106 datasheet, section 11.3.4 Audio Analog Inputs.

    The TLV320AIC3106 supports the ability to mix up to three fully-differential analog inputs into each ADC PGA channel. Figure 24 shows the mixing configuration for the left channel, which can mix the signals LINE1LPLINE1LM, LINE2LP-LINE2LM, and LINE1RP-LINE1RM

    Refer to 11.6 Register Maps

    Select only one input for the left ADC (MIC3L for example) with the following registers
    Page 0 / Register 17: MIC3L/R to Left ADC Control Register
    Page 0 / Register 19: LINE1L to Left ADC Control Register
    Page 0 / Register 20: LINE2L to Left(1) ADC Control Register
    Page 0 / Register 21: LINE1R to Left ADC Control Register

    Similarly select only one input for the right ADC (LINE1R for example)
    Page 0 / Register 22: LINE1R to Right ADC Control Register
    Page 0 / Register 23: LINE2R to Right ADC Control Register
    Page 0 / Register 24: LINE1L to Right ADC Control Register

    Hope this helps,
    Mark