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.

TLV320AIC3106: AIC3106 Bass and Treble adjustment

Part Number: TLV320AIC3106

Tool/software:

Hello, I have a few questions about bass and treble adjustment,

If I first set the bass to 100Hz(Fc), the amplitude gain is 1 dB, and then set the treble to 10KHz(Fc), the amplitude gain is 1 dB.

1. Will the Bass 100Hz (Fc) and Gain 1dB settings disappear?

2. What should I do if I want to keep the bass 100Hz gain 1dB and treble 10KHz gain 1dB settings at the same time?

Thanks.

  • Hi Sammy,

    Unfortunately the bass and treble modes are exclusive, as they impact both Biquads 1 and 2. My recommendation is if you want more flexible control, use our TI Biquad tool to generate the coefficients and the load the values into the command line interface: https://www.ti.com/tool/COEFFICIENT-CALC

    The TI Biquad tool lets you draw your desired frequency response and then generates the necessary coefficients. Make sure to double check that the resolution of the coefficients is correct.

    Best regards,
    Jeff McPherson

  • Hi Jeff,

    Thanks for your reply. I have been trying out these tools to calculate coefficients, and here are my results:

    Text "* Sample Rate = 48000"
    Text "* Filter 1 Bass Shelf 100 Hz Fc 8.0 dB"
    Text "* Filter 2 Treble Shelf 10000 Hz Fc -5.0 dB"

    Text "* BQ: H(z) = (N0 + 2*N1/z + N2/(z2)) / (32768 - 2*D1/z - D2/(z2))"
    Text "* Filter Coefficients in format N0, N1, N2, D1, D2"

    Text "* 1O: H(z) = (N0 + N1/z) / (32768 - D1/z)"
    Text "* Filter Coefficients in format N0, N1, D1"

    Text "* Filter 1 BQ "
    0x7FFF
    0x81B6
    0x7CA0
    0x7EEB
    0x8224
    Text "* Filter 2 BQ "
    0x5BD6
    0xF982
    0x1014
    0x1E04
    0xE507

    Does this mean that Filter 1 BQ coefficients can be loaded into the AIC3106 audio effect LB1/RB1 register, and Filter 2 BQ coefficients can be loaded into the LB2/RB2 register?

    Additionally, how many BQ coefficients does the AIC3106 support? I am considering implementing a 7-band EQ.

  • Hi Sammy, 

    You are reading this correctly however the AIC3106 cannot support 7 bands. Only two biquads are available. 

    Today is a U.S. holiday so tomorrow I will get back to you tomorrow on device options to support 7 bands.

    Best regards,

    Jeff McPherson