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.

TPA6304-Q1: The line out configuration is not effective. Confirm the detailed configuration to enable line out.

Part Number: TPA6304-Q1

Tool/software:

Hi team,

The customer needs to debug the Line out mode, but the following configuration does not work.

Tried many ways to configure the internal amplifier in Line driver mode using the register controls exposed to IOC via I2C controls.

What configuration need to be changed to make the internal amplifier in Line driver mode?

As per the datasheet for line driver mode, the following settings to be changed to make line driver mode.

0x3 -> 0x55

0x01 -> 0xF

Also after discussing with BIOS team, tried the following, not helping

 

02 0x5C
03 0xAA
21 0x4A
23 0x49
01 0x00
04 0x55

04 0x0

  • Hi Alan,

    While the TPA6304-Q1 is in Standby mode, register 0x06 needs to have the Line Output load diagnostics set. Bits 0 through 3 set the channels to enable this function.  Then you can test a load up to 12kOhms.

    Regards,
    Gregg Scott

  • Hi Gregg,

    Basically the requirement is to connect the internal amp to an external amp which is taking analog audio data as input. The internal amp is already configured to work with speakers(low impedance sinks) and it is working properly for speaker config.

     

    So if I understand correctly, need to make the internal amp in Line driver mode so that the  external amp can be connected to it. Tried the steps you have suggested and the audio data is not coming out of internal ampliifer.

     

    Below is the sequence tried:

    1. disable -> standby low, standby high
    2. init -> init variables
    3. standby low => 0x6=>0xf
    4. diag -> go to diagmode, set the other registers required for the project.
    5. mute -> mute the Channels state
    6. play -> unmute Channel state

    Do we need to make the amplifier to stanby high after the 3 step? Please suggest the next steps.

  • Alan,

    What is the input input impedance of your external amplifier?

    Regards,
    Gregg Scott

  • Gregg,

    The input impedance of amplifier is 3KOhms

    Regards,

    Rajeev

  •  Rajeev,

    The impedance should be detected, but the sequence needs to be adjusted so it will work correctly.

    1. Standby pin low
    2. your init value and 0x06=>0x0F
    3. Standby pin high  (automatic Load diagnostics will run)
    4. Read 0x0D and 0x0E to make sure the output state went into load diagnostics
    5. Read 0x0D and 0x0E to make sure the output state went into Hi-Z after it finishes load diagnostics (you may need to loop many times)
    6. Read 0x0A, 0x0B, and 0x0C to determine the load diagnostic output.
    7. Change to Mute state
    8. Change to Play state

    Regards,
    Gregg Scott

  • Hi Gregg,

    Thanks a lot for your guidance, the amplifier is configured for line drive mode applications.