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.

TLV320AIC3104: Low Power Analog Bypass Example with Output Driver Gain

Part Number: TLV320AIC3104
Other Parts Discussed in Thread: TLV320AIC3101

Hi

Are there any example scripts that use the TLV320AIC3014 in a low power analog bypass mode with the Headphone output amplifiers (HPLOUT) used for controlling the volume? The datasheet does not have any examples to demonstrate this. I am using a custom PCB wired up as the typical application circuit, not the Evaluation Unit

I am attempting to mix 3 different analog signals (LINE2L, LINE1LP, LINE1LM) and route them in a single-ended configuration to HLPOUT so that they all come out on the Left Headphone (Wired up in a single-ended configuration). However, I cannot seem to get the right register combination to allow this.

Thanks

Jay

  • Hi Jay,

    There are a couple things to note here,

    1. The passive analog bypass is not available to the HPOUT, these can only be routed to the LEFT_LOP/M or Right_LOP/M outputs.

    2. in section 10.4.1 of the data sheet, three bypass path methods are described. only 10.4.1.2 and 10.4.1.3 are available on the AIC3104. The other is datasheet error (copy through from the AIC3106 which is the big brother to the AIC3104) the mode that is not available wouldn't have impact on your issue here as it would only have the ability to pass two single ended signals to the output blocks.

    3. Since the passive analog bypass mode won't work here, the only other option is the ADC PGA bypass path. You will need to use a different input than line1LM. That is not a single ended input. I'd say just use MIC2R.

    the inputs have a corse gain adjustment from -12 to 0. in 3 db steps. the PGA has more adjustment, but because you're mixing 3 signals you're going to have to get creative with how you balance the signals. if you just want them all summed, then that's no problem, if you want more individual control over each signal, that would be complicated.

    # Route LINE2L to leftPGA, route LINE1L to left PGA, Route line2R to Right PGA.
    w 30 11 0F
    w 30 12 F0
    w 30 13 00

    # unmute left and right PGA
    w 30 0F 00
    w 30 10 00

    # PGA_L to HPLOUT
    w 30 2D 80

    # PGA_R to HPLOUT
    w 30 31 80

    HPLOUT controls:
    w 30 33 0D


    best regards,
    -Steve Wilson
  • Hi Steve

    Thanks for that , I have managed to make some good progress, I have a few follow up questions:

    1. How many single ended analog inputs can i have? I thought that all inputs could be used in a single ended confirgation (LINE2L, LINE1LP,
    LINE1lM, LINE1RP, LINE1RM,LINE2R).

    2. To adjust the output volume(HPLOUT), is it a matter of just adjusting the gain of register R51? Each of the 3 signals into the PGA will be line level
    audio (~1VPP) and needs to be amplified to a level where it can be heard inside a headphone.

    3. Is there any configuration required to get a single ended output (HPLOUT -> Speaker -> GND) or is this the default output format?

    4. When using the analog PGA bypass, with up to 3 inputs what current reading should i be getting?

    5. I have built an application circut based on figure 33 (Pg 84 of the datasheet). Is there a certain reason for the large number of caps on the power rails or they are just decoupling.

    Thanks!

    Jay
  • Jay,

    1: you can have 4 single ended inputs. Line2L, line2R, line1RP and line1LP. The data sheet states:
    Six Audio Input Pins
    – One Stereo Pair of Single-Ended Inputs
    – One Stereo Pair of Fully Differential Inputs
    Which makes 4 total inputs

    2. No, I would recommend using the registers 0x2d and 0x31. its a little more trouble than having just one register, but the volume would be from 0dB to -78.3dB (and mute of course)

    3. for speakers we you should use the TLV320AIC3101. its almost identical but with a more robust output stage for driving speakers. The signal path would be HPLOUT-> coupling capacitor-> speaker-> gnd.

    4. can you clarify your question? what current are you measuring?

    5. There are 2 caps per rail, nothing unusual there. Maybe you can point out what you are referring to?

    best regards,
    -Steve Wilson
  • Jay,
    I also want to mention an Error from the data sheet that we recently discovered. The LINE2L/R inputs do not have passive analog bypass functionality. so in the AIC3104 only LINE1L/R inputs have this passive analog bypass functionality. This doesn't really change the situation for you, since we were using the PGA bypass functionality, but I thought that i would mention it all the same.

    best regards,
    -Steve Wilson
  • Hi Steve

    Thanks for your reply!

    1.) Thanks, thats the configuration i have just wanted to confirm

    2.) Ok, that looks to be a much better method for volume control

    3.) We are going to use headphones after some further discussion so this version of the chip seems perfect.

    4.) I am attempting to measure the entire base current consumed by the system when used in th PGA bypass mode. I would like to confirm that my setup is correct in it reaching it minimum power draw and have a reference point.

    5.) On the application circut based on figure 33, AVDD, DRVDD, DRVDD is all powered from the same 2.7 - 3.6V source however each pin has decoupling capacitors of the same value. Since all the pins are powered from the same 2.7 - 3.6V source, cant the power rail use a single 0.1uF, 1uF, 10uF capacitor in series rather than muliple capacitors of the same value in parallel?

    Thanks for your prompt replies

    Jay
  • Jay,

    regarding #4 - using the PGA bypass I would expect a current of 6 mA with the line outputs, probably closer to 8 for SE headphone outs.

    regarding #5 - it is recommended that the decoupling capacitors be as they are.

    best regards,
    -Steve Wilson