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.

TLV320AIC3109-Q1: TLV320AIC3109-Q1

Part Number: TLV320AIC3109-Q1
Other Parts Discussed in Thread: TLV320AIC3120, TLV320AIC3104

Dear Sir,

       Would you pls help for several parts list below about aic3109? Thanks.

  1. Basic initial sequence.
  2. Codec initial sequence about MIC input on with AGC enabled
  3. Codec initial sequence about MIC input on with AGC disabled.
  4. Codec initial sequence about MIC input off.

Thanks, Ian.

  • Ian,

    without specifics I will provide general initial sequence.


    1. Configure register coefficients for Clocks/PLL, Enable PLL if used, program digital audio format etc... power up DAC/ADC but keep muted.

    2. same as 1. but tag on AGC configuration, then enable AGC,


    3. Same as 2 but don't enable AGC, you can program AGC coefficients or not.


    4. same as 2 but don't enable the MIC input.

    ---------------------------

    general guidance for input/output setup
    after clocks/PLL/digital audio format are all configured, configure input/outputs:

    for your outputs you can turn blocks on/ unmute in any order you want, but I have found that some sequences tend to be more audible than others. for me the sequence that produces the least artifacts is this one: make sure that Soft-stepping is enabled, and if any BiQuads are being used, the filter coefficients should be programed before the DAC is powered.
    Power up DACs but keep them muted, then power up output blocks (keeping them muted), once the output block is fully powered up, unmute the output block, if not using L2/R2 or L3/R3 paths, set mixer volumes, set DAC volume to lowest setting, then unmute dac and set DAC volume.

    for HPOUTs there is the option to weakly drive the outputs to the common mode voltage when powered down. in battery powered applications, this is not ideal, but for other applications this is a great way to reduce the any residual artifacts from the pop/click suppression.


    For inputs the order is similar. First ensure that all HPF coefficients and AGC coefficients are written before the ADC is powered. Then power the ADC but keep the PGA muted. then enable all of the inputs that are needed. and unmute the PGA.

    hope this helps. let me know if you want something more specific. If so I would need more specifics from you.

    best regards,
    -Steve Wilson
  • Dear Steve,
    Would you pls provide aic3109 setting as below an example of other TLV320AIC3120?

    ------------------------------------------------------------------
    Codec Mic Input enable with AGC enable.
    //# Select Page 1
    //w 30 00 01
    {0x0, 0x1},
    //# Enable MICBIAS and set to 2.5V
    //w 30 2e 0a
    {0x2e, 0x0a},
    //# Set MicPGA to controlled and to 18.5dB
    //w 30 2f 25
    {0x2f, 0x25},
    //# Route IN1L to LEFT_P with 10K input impedance
    //w 30 30 40
    {0x30, 0x40},
    //# Route Common Mode to LEFT_M with impedance of 10K
    //w 30 31 40
    {0x31, 0x40},
    //# Select Page 0
    //w 30 00 00
    {0x0, 0x0},
    //# Enable AGC; set AGC target level = -24dB (default -5.5dB)
    //w 30 56 F0
    {0x56, 0xF0},
    //# Set AGC hysteresis = 2dB (default 1dB); AGC noise threshold = -90dB
    //w 30 57 3E
    {0x57, 0x3E},
    //# Set Maximum gain = 12dB
    //w 30 58 18
    {0x58, 0x18},
    //# Set attack time = 20ms
    //w 30 59 39
    {0x59, 0x39},
    //# Decay time = 5s
    //w 30 5A FB
    {0x5A, 0xFB},
    //# Noise debounce time = 0ms
    //w 30 5B 00
    {0x5B, 0x00},
    //# Signal debounce time = 256ms
    //w 30 5C 0F
    {0x5C, 0x0F},
    //# Power up N/MADC and set NADC = 1, MADC = 3
    //w 30 12 81
    {0x12, 0x81},
    {0x13, 0x83},
    //# ADC OSR = 128
    //w 30 14 80
    {0x14, 0x80},
    //# Power up Left ADC Channel
    //w 30 51 80
    {0x51, 0x80},
    //# Unmute ADC Digital Fine Volume
    //w 30 52 00
    {0x52, 0x00}

    Thanks, Ian.
  • Ian,

    I am out of office until 7/30. If you would like some example configurations in the mean-time, the GUI for the EVM has them. because the reconfigurations are for the AIC3104, there will be extra configuration settings (the AIC3104 has two ADCs and DACs) but these can be removed.

    best regards,
    -Steve Wilson
  • Dear Steve,

    I try to found EVM and checked with my disty, but not yet have aic3109 EVM here.

    Would you pls kindly help to generate it when you back to office?

    Thanks for great help, Ian. 

  • Hi Ian,

    If you have a TLV320AIC3104 that will be the same.

    I can send the default files tomorrow.

    best regards,
    -Steve wilson
  • Dear Steven,

    Sorry also didn't find aic3104 EVM in hand.

    Pls kindly for help. Thanks, Ian.

  • Dear Steve,
    Would you pls help o this?
    Thanks, Ian.
  • Ian, 

    here are all of the example configurations from the GUI in .txt format. 

    best regards, 

    -Steve Wilson

    3704.Example_Scripts.zip

  • Dear Steve,
    Appreciate for great help.
    I found attach have 5 files and customer request are 4 conditions, would you pls kindly check it? Thanks.

    1. Configure register coefficients for Clocks/PLL, Enable PLL if used, program digital audio format etc... power up DAC/ADC but keep muted.
    2. same as 1. but tag on AGC configuration, then enable AGC,
    3. Same as 2 but don't enable AGC, you can program AGC coefficients or not.
    4. same as 2 but don't enable the MIC input.
  • Ian,

    1. I need more info. master or slave? if slave, is there an MCLK? or will we be using BCLK to drive the PLL? what Fs do they want? what format and word length do they want?

    2. I don't know what their AGC configuration is. can you tell me what their AGC configuration coefficients are?

    3. this is trivial.

    4. Which mic input?

    www.ti.com/.../tlv320aic3109-q1.pdf

    there is a datasheet for this device, and it contains a register map. have you looked at this?

    best regards,
    -Steve Wilson