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.

TLV320AIC3268: TLV320AIC3268 Charge pump

Part Number: TLV320AIC3268

Hi,

We are using TLV320AIC3268 in our design. Our design is very simple. We are trying to use it for headphone playback, we pass audio over I2S (ASI 1) to DAC, to be played by headphones. The headphones are configured in ground -centered topology. In chapter 8.3.1.2.2.2 of your manual (SLAS953A –JANUARY 2014–REVISED FEBRUARY 2014) you describe how to enable the charge pump, however you are referring to B0_P1_R33 and R55 registers that are reserved. ("Book 0 / Page 1 / Register 33: Reserved Register - 0x00 / 0x01 / 0x21 (B0_P1_R33) - same for R35". We have verified that our controller passes the audio test tone over I2S correctly using other DAC module ( NXP UDA1334A ). To test your chip, we have loaded it with test script 1.0 slac654a developed by yourself. Unfortunately it doesn't work. We use SPI interface to program TLV chip instead of I2C, however we can assume this isn't a source of problem as TI outputs the general clock on pin GPIO2 as per our script. Could you please advise how to enable headphone playback. The other question regards reading from the registers. Are we correct to assume that to read for example a register from book 0, page 1, we first must select the book and select the page (writing to select book and page registers) and only then send read request?

Kind Regards Barbara

  • Hi Barbara, 

    I'm sorry to hear you are having issues.   You are using your own PCB correct?   

    I have an EVM in the office so I can run the script on that and see if I am able to get it to work and we'll go from there. 

    -Steve Wilson

  • Hi Steve,

    Thanks for coming back to me. I have used your script to test TLV320AIC3268 chip. On our board we use ASI1 as audio input to DAC (in I2S mode) and ground-centered headphone topology. Your script sets device to support exactly the same routing, including the clock configuration, that comes from MCLK. As there is no difference between your script and our hardware setup, I used it to test TI chip, however I don’t get any signal on HPL and HPR. On top of it the datasheet is misleading too. I hope this clarifies the problem. I can send you our TLV320 schematics.

    Kind Regards

    Barbara

  • Barbara,

    sorry for the delayed response.  I've looped one of our applications experts in to this thread.  

    -Steve

  • Hello Barbara,

    We apologize for the delay in addressing this issue.

    Please try the following script for headphone playback. It has been tested to work on the EVM at 44.1 kHz.

    The register configurations related to the headphone and charge pump are shown below.

    #            --------------------------------------------------------------- page 1 is selected
    w 30 00 01

    # reg[0][1][31] = 0x80                       ; reg(0)(1)(0x1F =>31 )     HP in ground Centered mode; HPL gain 0 dB
    w 30 1f 80

    #            # reg[0][1][32] = 0x00                       ; reg(0)(1)(0x20 =>32 )     HPR independent gain 0 dB
    w 30 20 00

    #            # reg[0][1][33] = 0x28                       ; reg(0)(1)(0x21 =>33 )     Charge pump runs on Osc./4
    w 30 21 28

    #            # reg[0][1][34] = 0x33 ;0x3e                 ; reg(0)(1)(0x22 =>34 )     Set CP mode

    w 30 22 33

    #            # reg[0][1][35] = 0x10                       ; reg(0)(1)(0x23 =>35 )     Power up CP with HP
    w 30 23 10

    Best Regards.

    hp_aic3268_Rate44.cfg

  • Hello Diljith,

    As suspected the datasheet for the manual is incorrect. In your script you are writing to book 0, page 1, register 33, 34 to set up charge pump for headphones. In your manual 

    "TLV320AIC3268 Low Power Stereo Audio Codec With 105dB DAC, DirectPath Headphone
    and Class-D Speaker Amplifier and Integrated miniDSP - SLAS953A –JANUARY 2014–REVISED FEBRUARY 2014"" these registers are reserved (see below).

    And the register 35 sets up offset correction, not charge pump.

    This was just a simple pass through test, our intention is to use this codec to its full capabilities but as it stands I have no confidence we can achieve it with the documentation you provided on your website. 

    Can you upload correct documantation, please.

    Kind Regards

    Barbara Turner

  • Hi Barbara,

    We are in the process of updating the datasheet to address these discrepancies. We shall send you an updated draft for your feedback.

    Best Regards.