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.

TLV320AIC3204: Headphone pop sound

Part Number: TLV320AIC3204

Hi Sir,

Plug in headphones, play music or other sounds, there is a pop sound at the beginning, have you encountered a similar situation before?

  • Hi Long,

    Can you please share the configuration you're using and the sequence you're following?
    Are you using the EVM or a custom board?

    Do you have the recommended de-pop resistor populated at the output?

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • Hi Lvan,

    1. As attached files, new_hp.txt file is insert headset without playing music, new_hp_music.txt file is insert headset with playing music.

    new_hp.txt
    00: 01
    01: 00
    02: 60
    03: 00
    04: 00
    05: 11
    06: 04
    07: 00
    08: 00
    09: 00
    0a: 00
    0b: 01
    0c: 01
    0d: 00
    0e: 80
    0f: 02
    10: 00
    11: 08
    12: 01
    13: 01
    14: 80
    15: 01
    16: 00
    17: 04
    18: 00
    19: 00
    1a: 01
    1b: 00
    1c: 00
    1d: 00
    1e: 01
    1f: 00
    20: 00
    21: 00
    22: 00
    23: 00
    24: 44
    25: 00
    26: 00
    27: 00
    28: 00
    29: 00
    2a: 00
    2b: 00
    2c: 10
    2d: 00
    2e: 10
    2f: 00
    30: 00
    31: 00
    32: 00
    33: 00
    34: 00
    35: 12
    36: 03
    37: 02
    38: 03
    39: 00
    3a: 00
    3b: 00
    3c: 01
    3d: 01
    3e: 00
    3f: 14
    40: 0c
    41: 00
    42: 00
    43: f2
    44: 6f
    45: 38
    46: 00
    47: 00
    48: 00
    49: 00
    4a: 00
    4b: ee
    4c: 10
    4d: d8
    4e: 7e
    4f: e3
    50: 00
    51: 00
    52: 88
    53: 00
    54: 00
    55: 00
    56: 00
    57: 00
    58: 7f
    59: 00
    5a: 00
    5b: 00
    5c: 00
    5d: 00
    5e: 00
    5f: 00
    60: 7f
    61: 00
    62: 00
    63: 00
    64: 00
    65: 00
    66: 00
    67: 00
    68: 00
    69: 00
    6a: 00
    6b: 00
    6c: 00
    6d: 00
    6e: 00
    6f: 00
    70: 00
    71: 00
    72: 00
    73: 00
    74: 00
    75: 00
    76: 00
    77: 00
    78: 00
    79: 00
    7a: 00
    7b: 00
    7c: 00
    7d: 00
    7e: 00
    7f: 00
    80: 00
    81: 00
    82: 00
    83: 00
    84: 00
    85: 00
    86: 00
    87: 00
    88: 00
    89: 00
    8a: 00
    8b: 10
    8c: 00
    8d: 00
    8e: 00
    8f: 00
    90: 40
    91: 40
    92: 40
    93: 40
    94: 00
    95: 00
    96: 00
    97: 00
    98: 00
    99: 00
    9a: 00
    9b: 00
    9c: 00
    9d: 00
    9e: 00
    9f: 00
    a0: 00
    a1: 00
    a2: 00
    a3: 00
    a4: 00
    a5: 00
    a6: 00
    a7: 00
    a8: 00
    a9: 00
    aa: 00
    ab: 00
    ac: 00
    ad: 00
    ae: 00
    af: 00
    b0: 00
    b1: 00
    b2: 00
    b3: 00
    b4: 00
    b5: 00
    b6: 40
    b7: 00
    b8: 00
    b9: 40
    ba: 00
    bb: 80
    bc: 80
    
    new_hp_music.txt
    00: 00
    01: 00
    02: 60
    03: 00
    04: 03
    05: 91
    06: 08
    07: 00
    08: 00
    09: 00
    0a: 00
    0b: 82
    0c: 88
    0d: 00
    0e: 80
    0f: 02
    10: 00
    11: 08
    12: 82
    13: 88
    14: 80
    15: 01
    16: 00
    17: 04
    18: 00
    19: 00
    1a: 01
    1b: 00
    1c: 00
    1d: 01
    1e: 84
    1f: 00
    20: 00
    21: 00
    22: 00
    23: 00
    24: 88
    25: ee
    26: 11
    27: 00
    28: 00
    29: 00
    2a: 00
    2b: 00
    2c: c0
    2d: 00
    2e: 10
    2f: 00
    30: 00
    31: 00
    32: 00
    33: 00
    34: 00
    35: 12
    36: 03
    37: 02
    38: 03
    39: 00
    3a: 00
    3b: 00
    3c: 01
    3d: 01
    3e: 00
    3f: d4
    40: 00
    41: 00
    42: 00
    43: f2
    44: 6f
    45: 38
    46: 00
    47: 00
    48: 00
    49: 00
    4a: 00
    4b: ee
    4c: 10
    4d: d8
    4e: 7e
    4f: e3
    50: 00
    51: 00
    52: 88
    53: 00
    54: 00
    55: 00
    56: 00
    57: 00
    58: 7f
    59: 00
    5a: 00
    5b: 00
    5c: 00
    5d: 00
    5e: 00
    5f: 00
    60: 7f
    61: 00
    62: 00
    63: 00
    64: 00
    65: 00
    66: 00
    67: 00
    68: 00
    69: 00
    6a: 00
    6b: 00
    6c: 00
    6d: 00
    6e: 00
    6f: 00
    70: 00
    71: 00
    72: 00
    73: 00
    74: 00
    75: 00
    76: 00
    77: 00
    78: 00
    79: 00
    7a: 00
    7b: 00
    7c: 00
    7d: 00
    7e: 00
    7f: 00
    80: 00
    81: 00
    82: 00
    83: 00
    84: 00
    85: 00
    86: 00
    87: 00
    88: 00
    89: 3c
    8a: 00
    8b: 10
    8c: 08
    8d: 08
    8e: 08
    8f: 08
    90: 00
    91: 00
    92: 00
    93: 00
    94: 00
    95: 00
    96: 00
    97: 00
    98: 00
    99: 00
    9a: 00
    9b: 00
    9c: 00
    9d: 00
    9e: 00
    9f: 00
    a0: 00
    a1: 00
    a2: 00
    a3: 00
    a4: 00
    a5: 00
    a6: 00
    a7: 00
    a8: 00
    a9: 00
    aa: 00
    ab: 00
    ac: 00
    ad: 00
    ae: 00
    af: 00
    b0: 00
    b1: 00
    b2: 00
    b3: 00
    b4: 00
    b5: 00
    b6: 40
    b7: 00
    b8: 00
    b9: 40
    ba: 00
    bb: 80
    bc: 80
    

    2. The figure below is the schematic diagram of our hardware design,

  • Hi Ju,

    I'm taking a look at your setup and configuration and will be back with further comments by tomorrow before the end of the day.

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • Hi Lvan,

    ok, hope to get your reply soon, thank you

  • Hi Lvan,

    By adding log to the code, it is found that when the audio is turned on, the following registers will be written,

    06-24 03:32:51.965 0 0 I : i2c_write--- 0x4 <=== 0x3
    06-24 03:32:51.966 0 0 I : i2c_write--- 0x1d <=== 0x1
    06-24 03:32:51.967 0 0 I : i2c_write--- 0x5 <=== 0x11
    06-24 03:32:51.967 0 0 I : i2c_write--- 0x6 <=== 0x8
    06-24 03:32:51.968 0 0 I : i2c_write--- 0x7 <=== 0x0
    06-24 03:32:51.968 0 0 I : i2c_write--- 0x8 <=== 0x0
    06-24 03:32:51.969 0 0 I : i2c_write--- 0xb <=== 0x2
    06-24 03:32:51.970 0 0 I : i2c_write--- 0xc <=== 0x8
    06-24 03:32:51.971 0 0 I : i2c_write--- 0xd <=== 0x0
    06-24 03:32:51.971 0 0 I : i2c_write--- 0xe <=== 0x80
    06-24 03:32:51.972 0 0 I : i2c_write--- 0x12 <=== 0x2
    06-24 03:32:51.973 0 0 I : i2c_write--- 0x13 <=== 0x8
    06-24 03:32:51.973 0 0 I : i2c_write--- 0x14 <=== 0x80
    06-24 03:32:51.974 0 0 I : i2c_write--- 0x1e <=== 0x4
    06-24 03:32:51.974 0 0 I : i2c_write--- 0x1b <=== 0x0
    06-24 03:32:51.995 0 0 I : i2c_write--- 0x40 <=== 0x0

    Turn off audio:

    06-24 03:33:01.508 0 0 I : i2c_write--- 0x40 <=== 0xc

  • Hi Ju,

    A couple comments below:

    • Device recommendation is to use a resistor connection to GND after the output coupling capacitors, currently it seems to be using RC network instead. Have you tried to replace RC for resistor around 6k-Ohm as mentioned in the documentation.
    • Is the device losing clocks when no audio is playing? Perhaps you don't need all those commands when playing, but only the last one controlling the DAC.
    • Additionally, perhaps you can try using HPx slow power up ramp instead of DAC mute/unmute.

    Best regards,
    -Ivan Salazar
    Applications Engineer